Problem with stats
#5

After formatting, use strcat:
pawn Код:
new string2[128];
    format(string2,sizeof(string2), "{0099FF}Money: %d\nLevel: %d\n", money,score);
    strcat(string, string2);
    format(string2,sizeof(string2), "{00AAFF}%s\nAdmin: %d\nVIP: %d\n", string, admin, vip);
    strcat(string, string2);
    format(string2,sizeof(string2), "{00AAFF}%s\nKills: %d\nDeaths: %d\n", string, kills, Deaths);
    strcat(string, string2);
    format(string2,sizeof(string2), "{00AAFF}%s\nKicks: %d\nWarns: %d", Kicks, Warns);
Reply


Messages In This Thread
Problem with stats - by Pawnie - 31.08.2013, 15:59
Re: Problem with stats - by Tom1412 - 31.08.2013, 16:09
Re: Problem with stats - by knackworst - 31.08.2013, 16:14
Re: Problem with stats - by EiresJason - 31.08.2013, 16:14
Re: Problem with stats - by Dragonsaurus - 31.08.2013, 16:16
Re: Problem with stats - by EiresJason - 31.08.2013, 16:22
Re: Problem with stats - by Pawnie - 31.08.2013, 23:37
Re : Problem with stats - by PakPak - 01.09.2013, 00:05

Forum Jump:


Users browsing this thread: 2 Guest(s)