/stats command
#6

dini_Get them into vars, and then format() it and place the vars accordingly, like:


pawn Code:
GetPlayerName(playerid, name, 24);
format(string, sizeof string, "Stats: [%s] Level: %d | Score: %d | Cash: %d |",name,Level[playerid],GetPlayerScore(playerid), GetPlayerMoney(playerid));
SendClientMessage(playerid, -1, string);
Reply


Messages In This Thread
/stats command - by vent - 11.08.2011, 00:02
Re: /stats command - by Kingunit - 11.08.2011, 00:03
Re: /stats command - by vent - 11.08.2011, 00:14
Re: /stats command - by Kingunit - 11.08.2011, 00:19
Re: /stats command - by vent - 11.08.2011, 00:23
Re: /stats command - by Snipa - 11.08.2011, 00:28
Re: /stats command - by vent - 11.08.2011, 00:29
Re: /stats command - by Snipa - 11.08.2011, 00:31
Re: /stats command - by vent - 11.08.2011, 00:35
Re: /stats command - by grand.Theft.Otto - 11.08.2011, 00:37
Re: /stats command - by vent - 11.08.2011, 07:02
Re: /stats command - by Grim_ - 11.08.2011, 08:16

Forum Jump:


Users browsing this thread: 5 Guest(s)