FLIP Command
#4

pawn Код:
COMMAND:flip(playerid, params[]) {

    if(IsPlayerInAnyVehicle(playerid))
    {
        new
            currentveh,
            Float:angle;
        currentveh = GetPlayerVehicleID(playerid);
        GetVehicleZAngle(currentveh, angle);
        SetVehicleZAngle(currentveh, angle);
        SendClientMessage(playerid, -1, "Your vehicle has been flipped.");
        RepairVehicle(currentveh);
        return true;
        }
    else
        {
            SendClientMessage(playerid, -1, "You Must Be Driving A Vehicle To Use This Command.");
            return true;}
}
Reply


Messages In This Thread
FLIP Command - by Windrush - 10.09.2012, 09:10
Re: FLIP Command - by detter - 10.09.2012, 09:13
Re: FLIP Command - by [HK]Ryder[AN] - 10.09.2012, 09:14
Re: FLIP Command - by Djole1337 - 10.09.2012, 09:14
Re: FLIP Command - by antonio112 - 10.09.2012, 09:16
Re: FLIP Command - by Windrush - 10.09.2012, 09:33

Forum Jump:


Users browsing this thread: 2 Guest(s)