Show how much money you have.
#1

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?
Reply
#2

pawn Код:
COMMAND:stats(playerid, params[])
{
    new string[19];
    format(string, sizeof(string), "Money: $%i", GetPlayerMoney(playerid));
    SendClientMessage(playerid, 0xFF0000AA, string);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)