31.07.2009, 20:00
I haven't tested, but there is an optional string you can use in sscanf, so maybe store the amount on a string and then use strval() to get the integer from it?
pawn Код:
if(sscanf(params, "iz", wid, amount)) return 0;