flip cmd
#2

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;
}
Reply


Messages In This Thread
flip cmd - by niels44 - 20.10.2011, 12:12
Re: flip cmd - by SmiT - 20.10.2011, 12:30
Re: flip cmd - by CrunkBankS - 20.10.2011, 12:50
Re: flip cmd - by niels44 - 20.10.2011, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)