/stats help
#2

Your using 7 formats when you should only be using 1 (Possibly 2 if the string is too long and you need strcat) each successive format clears the action of the last so you'll only ever end up with the last formatted string of course.

Example (You will need to complete this)

pawn Код:
format(Jstring, sizeof(Jstring), "{ffd700}%s (ID:%d)\n\n \
        Score: %d\n \
        Money: $%d\n"
,
        pName, playerid,
        GetPlayerScore(playerid),
        GetPlayerMoney(playerid));
Reply


Messages In This Thread
/stats help - by kbalor - 30.09.2013, 18:17
Re: /stats help - by Pottus - 30.09.2013, 18:25
Re: /stats help - by kbalor - 30.09.2013, 18:36
Re: /stats help - by Pottus - 30.09.2013, 18:44
Re: /stats help - by kbalor - 30.09.2013, 18:50
Re: /stats help - by Pottus - 30.09.2013, 18:52
Re: /stats help - by kbalor - 30.09.2013, 18:59
Re: /stats help - by kbalor - 30.09.2013, 20:41
Re: /stats help - by Dragonsaurus - 30.09.2013, 21:10
Re: /stats help - by kbalor - 30.09.2013, 21:15

Forum Jump:


Users browsing this thread: 1 Guest(s)