you could do like this:
-----------------------------------------
var car_car = 0;
if(car_car == 0)
{
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 Kaymak
Come and play my new browsergame - Valley Of Wolves:
http://www.mafiacreator.com/ValleyOfWolvesHurry and be the first to take over the different business' in the Valley Of Wolves, before anybody else does it!
And be the most feared MafiaBoss in the World!!