19.10.2010, 19:36
How can I make a command a autokhey in PAWN?
if(RELEASED(KEY_SUBMISSION)){ if(IsPlayerInAnyVehicle(playerid)){ new v = GetVehicleID(playerid), Float:a; GetVehicleZAngle(v, a); SetVehicleZAngle(v, a); } }
the ZAngle is the same as the player's facing angle....
so like: left and right not up and down... try it yourself and you'll see |