28.04.2011, 03:47
Well you made this mistake you put: %s for the amount, which is a string, you need to do a %d, for the amount and keep the other %s for the name. So it would be like this:
pawn Код:
new pID,amount,string[128];
if(sscanf(params,"ui",pID,amount))SendClientMessage(playerid,COLOR_RED, "/armor ID Amount");
format(string,sizeof(string),"%s offered you protection for %d.",Charname(playerid),amount);
SendClientMessageToAll(COLOR_LIGHTBLUE,string);