ZCMD Jetpack help
#2

pawn Код:
CMD:jetpack(playerid, params[])
{
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    new targetID;
    if(sscanf(params, "u", targetID)) return SendClientMessage(playerid, -1, "Syntax: /jetpack [player]");
    SetPlayerSpecialAction(targetID, SPECIAL_ACTION_USE JETPACK);
    return 1;
}
Reply


Messages In This Thread
ZCMD Jetpack help - by Fiore - 22.10.2012, 14:35
Re: ZCMD Jetpack help - by SuperViper - 22.10.2012, 14:37
Re: ZCMD Jetpack help - by Fiore - 22.10.2012, 14:48

Forum Jump:


Users browsing this thread: 2 Guest(s)