29.11.2012, 14:13
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;
}