31.07.2011, 23:18
Im creating a sever and i want to create a /stats command. But, what my problem is, is showing how much money you have. How would i do that?
COMMAND:stats(playerid, params[])
{
new string[19];
format(string, sizeof(string), "Money: $%i", GetPlayerMoney(playerid));
SendClientMessage(playerid, 0xFF0000AA, string);
return 1;
}