27.11.2013, 21:09
All ints in commands are 0 even if i don't put 0.
Ex.
even if i use "ui" except "ud" for params it's the same
Ex.
Код:
CMD:givemoney(playerid, params[]) { new id, ammountcash, givemstring[128]; if(sscanf(params, "ud", id, ammountcash)) return SendClientMessage(playerid, -1, "Use: /pay [Player] [Ammount]"); PlayerInfo[playerid][Money] += ammountcash; format(givemstring, 128, "You gave him $%d", ammountcash); SendClientMessage(playerid, -1, givemstring); return 1; }