expression has no effect
#2

pawn Код:
if(pInfo[killerid][pKills] == 10)
{
    pInfo[killerid][pRank] = 1;
    format(str,sizeof(str),""chat""OLD_ADMINCMD" [RANK] %s(%d) has been promoted to rank: Private 1",PlayerName(killerid),killerid);
    SendClientMessageToAll(-1,str);
}
The problem was: PlayerName(killerid)),killerid

Also the id is integer, so it'd be %d, not %s.
Reply


Messages In This Thread
expression has no effect - by Blackazur - 21.11.2013, 15:03
Re: expression has no effect - by Konstantinos - 21.11.2013, 15:07
Re: expression has no effect - by ]Rafaellos[ - 21.11.2013, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)