21.05.2016, 14:29
Код:
new target; if(!sscanf(params, "s[255]i", target))
Код:
new target; if(!sscanf(params, "i", target))
And by the way the fastest thing to do is to check all the parameters in one sscanf.. for example:
Код:
if(sscanf(params, "dds[32]", giveplayerid, moneys, detail)) return Mensaje(playerid, COLOR_WHITE, "USE: /contract [ID] [amount] [details]");