Command question.
#4

Quote:
Originally Posted by Roach_
Посмотреть сообщение
This will totally work:
pawn Код:
CMD:ee(playerid)
{
    if(!IsPlayerInAnyVehicle(playerid)) return SP COLOR_RED, "[ERROR]: You are not in any vehicle");
    if(gClass[playerid] != CLASS_PILOT) return SP COLOR_RED, "[ERROR]: You need to be a Pilot (Rank "#PILOT_RANK"); to use this command");

    GetPlayerPos(playerid, EX,EY,EZ);
    SetPlayerPos(playerid, EX,EY,EZ+5);
    GivePlayerWeapon(playerid, 46, 1);
}
Agree!
Reply


Messages In This Thread
Command question. - by Strier - 31.01.2013, 20:40
Re: Command question. - by tyler12 - 31.01.2013, 20:43
Re: Command question. - by Roach_ - 31.01.2013, 21:11
AW: Re: Command question. - by Blackazur - 31.01.2013, 21:13
Respuesta: Command question. - by Strier - 31.01.2013, 21:25
Re: Command question. - by mamorunl - 31.01.2013, 21:36

Forum Jump:


Users browsing this thread: 1 Guest(s)