Questions about stats.
#2

pawn Код:
new name;
//to
new name[MAX_PLAYER_NAME+1];

format(str, sizeof(str), "Name:[ %s ]\nLevel:[ %d ]\nMoney: [ %d ] ", money,name,score);
//to
format(str, sizeof(str), "Name:[ %s ]\nLevel:[ %d ]\nMoney: [ %d ] ", name, score, money);
You don't have anywhere level variable so I just put the score as it. The variables order in format is important.
Reply


Messages In This Thread
Questions about stats. - by TaLhA XIV - 27.07.2012, 10:19
Re: Questions about stats. - by Misiur - 27.07.2012, 10:21
Re: Questions about stats. - by TaLhA XIV - 27.07.2012, 11:10
Re: Questions about stats. - by TaLhA XIV - 27.07.2012, 12:24
Re: Questions about stats. - by Misiur - 27.07.2012, 12:32
Re: Questions about stats. - by Devilxz97 - 27.07.2012, 13:49
Re: Questions about stats. - by TaLhA XIV - 27.07.2012, 15:10
Re: Questions about stats. - by Misiur - 27.07.2012, 15:41
Re: Questions about stats. - by iTzZh - 27.07.2012, 16:02
Re: Questions about stats. - by Littlehelper - 27.07.2012, 17:59

Forum Jump:


Users browsing this thread: 1 Guest(s)