Quote:
Originally Posted by Flo_White
pawn Code:
if (strcmp("/flip", cmdtext, true, 5) == 0) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED2,"You must be in a vehicle."); new vehicle; new Float:zangle; vehicle = GetPlayerVehicleID(playerid); GetVehicleZAngle(vehicle,zangle); SetVehicleZAngle(vehicle,zangle); SendClientMessage(playerid,color,"Vehicle succesfully flipped."); return 1; }
this should work
|
i do not understand the z angle thing. but this works. i thought it would stay flipped but it didnt.