Flip car command
#2

pawn Код:
command(flip, playerid, params[])
{
    #pragma unused params
    if(Player[playerid][AdminLevel] >= 3)
    {
        new
        currentveh,
        Float:angle;
        currentveh = GetPlayerVehicleID(playerid);
        GetVehicleZAngle(currentveh, angle);
        SetVehicleZAngle(currentveh, angle);
        SendClientMessage(playerid, WHITE, "Your vehicle has been flipped.");
    }
    else
    {
        SendClientMessage(playerid, RED, "You must be level 3+ To use this!");
    }
    return 1;
}
Reply


Messages In This Thread
Flip car command - by patfay - 12.03.2011, 15:51
Re: Flip car command - by [WF]Demon - 12.03.2011, 15:55
Re: Flip car command - by patfay - 12.03.2011, 15:57
Re: Flip car command - by Snowman12 - 12.03.2011, 15:59
Re: Flip car command - by patfay - 12.03.2011, 16:01
Re: Flip car command - by antonio112 - 12.03.2011, 16:15
Re: Flip car command - by patfay - 12.03.2011, 16:16

Forum Jump:


Users browsing this thread: 2 Guest(s)