29.04.2012, 12:10
The variable "id" is a string, and you're using functions that require their parameters to be integers. To get the integer value of a string use
Rather than having
, you should have
However. You're using the 'u' parameter in sscanf, and therefore you should merely declared 'id' as an integer (- remove the array's size).
pawn Код:
strval
Rather than having
pawn Код:
IsPlayerConnected(id)
pawn Код:
IsPlayerConnect(strval(id))