A cmd help
#1

Sup guys, hotrod here.

I need abit of help in making this command which is:

You type /wallet and it says "You have -CASH- in your wallet"

The cash is the money the person has. Can anyone help me please.

I will pre-thank you now.

Cheers,

~ Hotrod
Reply
#2

hmm try this
Код:
if(strcmp(cmdtext,"/wallet",true) == 0)
{
new string[48];
format(string, sizeof(string), "You Have $%i in your wallet!", GetPlayerMoney(playerid));
SendClientMessage(playerid, 0xFFFFFFAA, string);
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)