Small Smaller Smallest help!
#2

Your first %d, should be a %s, and the reference for it should be PlayerName2(killerid) instead of playerid.

PHP код:
format(msgsizeof(msg), "[KILL]%s has killed %s and has earned $%d!"PlayerName2(killerid),PlayerName2(playerid),ammount); 
Assuming this is under OnPlayerDeath.

%d is Decimal.
%f is float.
%s is string.
Reply


Messages In This Thread
Small Smaller Smallest help! - by perfectboy - 07.11.2015, 07:16
Re: Small Smaller Smallest help! - by Sew_Sumi - 07.11.2015, 07:33
Re: Small Smaller Smallest help! - by perfectboy - 07.11.2015, 07:42
Re: Small Smaller Smallest help! - by perfectboy - 07.11.2015, 08:10
Re: Small Smaller Smallest help! - by Mencent - 07.11.2015, 08:13
Re: Small Smaller Smallest help! - by Sh4d0w2 - 07.11.2015, 08:16

Forum Jump:


Users browsing this thread: 2 Guest(s)