02.02.2014, 03:40
Quote:
Not exactly. That code is really badly made.
The command checks for strings when it should check for an integer: "[Usage]: /sign [1-4]" 1-4 is a numeric input, therefor sscanf should read an integer, not a string: pawn Код:
strcmp is for strings, (str prefix (string), cmp suffix (compare)), it essentialy compares two strings. That command should be done with integers, not with strings. |