12.05.2014, 09:08
I used this:
And, it worked pretty well. Perhaps, thanks to those who tried to help anyways..
Код:
public OnPlayerKeyStateChange( playerid, newkeys, oldkeys ) { if ( IsPlayerInAnyVehicle( playerid ) ) { if ( newkeys == KEY_YES ) { new Float: zAng; GetVehicleZAngle( GetPlayerVehicleID( playerid ), zAng ); SetVehicleZAngle( GetPlayerVehicleID( playerid ), zAng ); GameTextForPlayer( playerid, "~r~Vehicle Flipped!", 3000, 3 ); } } return 1; }