/flip command
#2

It is very simple.
pawn Код:
dcmd_flip( playerid, params[ ] )
{
    if( IsPlayerInAnyVehicle( playerid ) && GetPlayerState( playerid ) == PLAYER_STATE_DRIVER )
    {
        new
            Float:Angle
        ;
        GetVehicleZAngle( GetPlayerVehicleID( playerid ), Angle );
        SetVehicleZAngle( GetPlayerVehicleID( playerid ), Angle );
        // Rest of code, messages or something else
        return 1;
    }
    else return SendClientMessage( playerid, -1, "You need to be in a vehicle" );
}
Reply


Messages In This Thread
/flip command - by megamind2067 - 09.11.2012, 18:43
Re: /flip command - by Konstantinos - 09.11.2012, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)