basically;

reverse your code.

instead of this

Code:
if (car_car==1)
{
key_z=off;
key_a=off;
key_d=off;
key_s=off;
}



cause with this , the engine can't terminate the keys that simply.
you need to tell the engine that while car_car is 0, the keys are function-able.

Code:
//if its not 0, the engine will pass it, and fly right through to next if / code
if (car_car==0)//while the variable is 0, you can set up these keys to work
{

if(key_z)
{
//you code, when you click z
}

if(key_a)
{
//you code, when you click a
}

if(key_d)
{
//you code, when you click d
}

if(key_s)
{
//you code, when you click s
}

}



Muhsin answered your question a long time ago - just not very clearly.


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com