12.06.2010, 15:43
Hey..I have a odd problem and I don't know whats wrong. In vehicle selection, when you press arrow key up/down it should rotate the vehicle left-right. This is my code:
In-game, the first time I press a key to rotate, it works fine, when I try to press the same arrow key again, it wont move. This happens to the other arrow key as well.
Anyone know whats wrong? Thanks for all help!
pawn Код:
new Float:a;
GetVehicleZAngle(PlayerInfo[playerid][dealveh], a);
SetVehicleZAngle(PlayerInfo[playerid][dealveh], a+5.0);
Anyone know whats wrong? Thanks for all help!