20.10.2011, 12:30
If you mean a "flip" command for the vehicle, here is one :
pawn Код:
if ( !strcmp( "/flip", cmdtext, true, 10) )
{
new
Float: P[ 4 ];
GetPlayerPos( playerid, P[ 0 ], P[ 1 ], P[ 2 ] );
GetVehicleZAngle( GetPlayerVehicleID( playerid ) , P[ 3 ]);
SetVehiclePos( GetPlayerVehicleID( playerid ), P[ 0 ], P[ 1 ], P[ 2 ] );
SetVehicleZAngle( GetPlayerVehicleID( playerid ), P[ 3 ] );
return true;
}