help me with command
#2

pawn Код:
CMD:givexp(playerid, params[])
{
    new id, amount, string[128];
    if(sscanf(params, "ud", id, amount)) return SendClientMessage(playerid, -1, "Usage: /givexp [playerid/name] [amount]");
    {
        PlayerInfo[id][Exp] += amount;
        format(string, sizeof(string), "XP Given: %d", amount);
        SendClientMessage(id, -1, string);
    }
    return 1;
}
Reply


Messages In This Thread
help me with command - by Hugoca - 29.11.2012, 14:08
Re: help me with command - by iGetty - 29.11.2012, 14:13
Re: help me with command - by Hugoca - 29.11.2012, 14:18
Re: help me with command - by iGetty - 29.11.2012, 14:52
Re: help me with command - by Hugoca - 29.11.2012, 14:52
Re: help me with command - by Hugoca - 29.11.2012, 14:56
Re: help me with command - by Mustafa6155 - 29.11.2012, 15:21
Re: help me with command - by Hugoca - 29.11.2012, 15:32
Re: help me with command - by Hugoca - 30.11.2012, 07:46
Re: help me with command - by cessil - 30.11.2012, 07:55

Forum Jump:


Users browsing this thread: 1 Guest(s)