24.06.2012, 20:15
(
Последний раз редактировалось kbalor; 25.06.2012 в 10:27.
)
This is the normal flip command that flips your car.
Can anyone add a script that when, vehicle flip it stops moving at current angel. Coz sometimes when I use boost it takes me very fast somewhere and after i press H. It just flip and still moving fast.
Quote:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (newkeys & KEY_HORN) { if(IsPlayerInAnyVehicle(playerid)) { new VehicleID,Float:B; VehicleID = GetPlayerVehicleID(playerid); GetVehicleZAngle(VehicleID,B); SetVehicleZAngle(VehicleID,B); } } return 1; } |