07.11.2015, 07:33
Your first %d, should be a %s, and the reference for it should be PlayerName2(killerid) instead of playerid.
Assuming this is under OnPlayerDeath.
%d is Decimal.
%f is float.
%s is string.
PHP код:
format(msg, sizeof(msg), "[KILL]%s has killed %s and has earned $%d!", PlayerName2(killerid),PlayerName2(playerid),ammount);
%d is Decimal.
%f is float.
%s is string.