29.10.2012, 19:12
Make the two final parameters optional, so like this:
Capitalised means it's optional, therefore they do not have to be entered.
pawn Код:
if(sscanf(params, "s[12]S[12]D", type, item, amount))