Help with GetPlayerMoney.
#4

Use sscanf or Strtok ?

EDIT : sorry, I misunderstood, I thought the cmd was getcash id.. try this cmd :

Код:
if (strcmp("/mymoney", cmdtext, true, 8) == 0)
{
new money;
new stringy[256]; 
money = GetPlayerMoney(playerid); 
format(stringy, sizeof(stringy), "[INFO-MONEY]: You have $%d", money); 
SendClientMessage(playerid, COLOR, stringy); 
return 1;
}
Reply


Messages In This Thread
Help with GetPlayerMoney. - by TaLhA XIV - 25.07.2012, 19:01
Re: Help with GetPlayerMoney. - by [IKS]Niko_Hs™ - 25.07.2012, 19:04
Re: Help with GetPlayerMoney. - by TaLhA XIV - 25.07.2012, 19:06
Re: Help with GetPlayerMoney. - by [IKS]Niko_Hs™ - 25.07.2012, 19:22
Re: Help with GetPlayerMoney. - by TaLhA XIV - 25.07.2012, 19:22
Re: Help with GetPlayerMoney. - by CentyPoo - 25.07.2012, 20:11

Forum Jump:


Users browsing this thread: 1 Guest(s)