Script Help
#4

CMD:mymoney(playerid, params[])
{
new string[120];
new account = PlayerInfo[playerid][pAccount];
format(string, sizeof(string),"your bank account:%d", account );
SendClientMessageEx(playerid, COLOR_GREEN, string);
return 1;

}
//PlayerInfo[playerid][pAccount] is how much palyer own in the bank for exemple let's say 8000000 i wanna see it in this format 8,000,000
// I have posted the stock AddCommas(number) but i don't know how to use it ,can anyone please try to make that on the cmd_mymoney ?



Thanks
Reply


Messages In This Thread
Script Help - by TunisianoGamer - 13.01.2014, 19:52
Re: Script Help - by Konstantinos - 13.01.2014, 19:55
Re: Script Help - by TunisianoGamer - 13.01.2014, 19:57
Re: Script Help - by TunisianoGamer - 13.01.2014, 21:01
Re: Script Help - by IstuntmanI - 13.01.2014, 21:05

Forum Jump:


Users browsing this thread: 1 Guest(s)