04.06.2012, 11:12
Quote:
Looks like you don't know how to use GetPlayerName. Read the documentation for this and you'll see that you have to store it an array (string) first and that's what the function does.
pawn Код:
Also, another thing I should mention is that the u specifier in sscanf stores INVALID_PLAYER_ID in the variable if the player is not found, so your IsPlayerConnected check is unnecessary, as it will come down to: IsPlayerConnected(INVALID_PLAYER_ID)... and how can an invalid ID be connected? pawn Код:
|