27.04.2011, 22:16
pawn Код:
ocmd:armor(playerid,params[])
{
static pID,amount;.
if(sscanf(params,"ui",pID,amount)) return SendClientMessage(playerid,COLOR_RED, "/armor ID Amount");
static string[128];
SetPlayerArmour(pID, amount);
PlayerSave(pID);
format(string,sizeof(string),"%s offered you protection for %s.",Charname(playerid),amount);
SendClientMessageToAll(COLOR_LIGHTBLUE,string);
return 1;
}