zcmd, 1 CMD works, the other one dosen't - FS
#2

pawn Код:
CMD:jetpack(playerid, params[])
{
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED, "ERROR: Only administrators can use this command.");
    new targetid;    
    if(sscanf(params,"u", targetid)) return SendClientMessage(playerid,COLOR_RED, "USAGE: /jetpack [ID/PartOfName]");
    SetPlayerSpecialAction(targetid, SPECIAL_ACTION_USEJETPACK);
    return 1;
}
Jet pack is not a weapon. It's special action.
Reply


Messages In This Thread
zcmd, 1 CMD works, the other one dosen't - FS - by gnoomen2 - 12.08.2013, 22:54
Re: zcmd, 1 CMD works, the other one dosen't - FS - by RedJohn - 12.08.2013, 23:15

Forum Jump:


Users browsing this thread: 1 Guest(s)