/flip command !
#1

Hey,
Can anyone tell me How to Make a /flip command ?
Thanks
Reply
#2

Try Mine
pawn Код:
YCMD:flip(playerid, params[], help)
            {
            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!");
            SendClientMessage(playerid,GREEN,"To Flip Player's Vehicle Use /Flipp");
            return 1;
    }
Rep+ If It Worked
Reply
#3

i Dont Need in YCMD, ZCMD Or any other !
Reply
#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
#5

Thx But i Got !
Reply
#6

You're Welcome
But No Rep++
Reply
#7

Quote:
Originally Posted by misho1
Посмотреть сообщение
But No Rep++
Thanks for the laugh.
Reply
#8

ohk
1 for you :P
Reply
#9

THNX
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)