26.12.2011, 09:07
pawn Code:
new
action[6], // store is 5 characters long (and the longest word), add another to make it big enough.
item[64], //Assuming that the item parameter is going to be a string/name.
amount //Assuming a number/integer.
;
//Template: sscanf(input_string, format/specifiers, output_variables in order of appearence in specifiers);
sscanf(params, "s[6]s[64]i", action, item, amount);