22.03.2011, 12:09
Quote:
I don't know how you would do It, since sscanf searches for either integer/float etc. or a string, not both integer/string.
If you can figure It out though, you should not compare "params" but the string. I don't think this will work, but try this; It might work to /bank all but not to /bank 1000 for example. pawn Код:
|
It's easier to use IsNumeric and if not then search for "all" and if it doesn't find "all" as a parameter then send error.