07.11.2015, 07:16
Hi hi,
I am trying to make a text like when a player kills other, it shows in main chat like
[KILL]Player killed Player2 and earched $%d.
This is message:
Everything works except the killername, it says like
[KILL]<playedid not name> killed <killed playername(works) and earned <ammount(works)
I am trying to make a text like when a player kills other, it shows in main chat like
[KILL]Player killed Player2 and earched $%d.
This is message:
Код:
format(msg, sizeof(msg), "[KILL]%d has killed %s and has earned $%d!", playerid,PlayerName2(playerid),ammount); SendClientMessageToAll(C_YELLOW,msg);
[KILL]<playedid not name> killed <killed playername(works) and earned <ammount(works)