/flip command !
#4

pawn Код:
if (strcmp("/flip", cmdtext, true, 10) == 0)
            {
            new Float: P[ 4 ];
           
            if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,RED,"This Player Is Not In Vehicle");
            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 ] );
            SendClientMessage(playerid,GREEN,"Your Vehicle Has Been Fliped!");
            return 1;
    }
Reply


Messages In This Thread
/flip command ! - by Avi57 - 18.06.2012, 05:37
Re: /flip command ! - by misho1 - 18.06.2012, 05:38
Re: /flip command ! - by Avi57 - 18.06.2012, 05:40
Re: /flip command ! - by misho1 - 18.06.2012, 05:44
Re: /flip command ! - by Avi57 - 18.06.2012, 05:44
Re: /flip command ! - by misho1 - 18.06.2012, 05:46
Re: /flip command ! - by JhnzRep - 18.06.2012, 05:50
Re: /flip command ! - by Avi57 - 18.06.2012, 05:54
Re: /flip command ! - by misho1 - 18.06.2012, 05:58

Forum Jump:


Users browsing this thread: 1 Guest(s)