Question about timer!
#2

pawn Код:
CMD:varmor(playerid, params[])
{
    new string[128], armor;
    if(sscanf(params, "d", armor))
    {
        SendClientMessageEx(playerid, COLOR_GRAD2, "USAGE: /varmor [health]");
        return 1;
    }
    if(Player[playerid][VipRank] >= 2)
    {
        SetPlayerArmour(playerid, armor);
        format(string, sizeof(string), "You have set your armor to %d.", armor);
        SendClientMessageEx(playerid, COLOR_WHITE, string);
    }
    return 1;
}
Reply


Messages In This Thread
Question about timer! - by ikbenremco - 02.12.2011, 13:50
Re: Question about timer! - by Neo Karls - 02.12.2011, 13:55
Re: Question about timer! - by ikbenremco - 02.12.2011, 13:59
Re: Question about timer! - by Neo Karls - 02.12.2011, 14:15
Re: Question about timer! - by ikbenremco - 02.12.2011, 14:26
Re: Question about timer! - by Neo Karls - 02.12.2011, 14:35
Re: Question about timer! - by ikbenremco - 02.12.2011, 14:45
Respuesta: Question about timer! - by iKeN - 02.12.2011, 15:04

Forum Jump:


Users browsing this thread: 2 Guest(s)