25.07.2012, 19:22
(
Последний раз редактировалось [IKS]Niko_Hs™; 26.07.2012 в 20:55.
)
Use sscanf or Strtok ?
EDIT : sorry, I misunderstood, I thought the cmd was getcash id.. try this cmd :
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; }