Guard/Armor ppl, so they have to accept it!
#8

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);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)