Showing the same name two times
#1

How need show same name two times
Код:
if(pInfo[killerid][pKills] == 10) { pInfo[killerid][pRank] = 1,format(str,sizeof(str),""COL_BLUE">> %s ranked up. now %s is peon",PlayerName(killerid)),SendClientMessageToAll(-1,str); }
This part "now %s is peon" doesnt show name, bat first part show name fine.
Reply
#2

Код:
format(str,sizeof(str),""COL_BLUE">> %s ranked up. now %s is peon",PlayerName(killerid))
You have 2 strings in the format but you're assigning value to only one of them, it should be like this:

Код:
format(str,sizeof(str),""COL_BLUE">> %s ranked up. now %s is peon",PlayerName(killerid),PlayerName(killerid))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)