Quote:
Originally Posted by RICHIERICH
ERROR on line 19 Possible unintended assigment
|
That's actually just a warning, and would have been caught if I had tried compiling it before posting it. The plugin will work anyway, but to fix it, change that line from:
PHP Code:
if ( cs_get_user_team( player = players[i] ) == CS_TEAM_SPECTATOR )
...to...
PHP Code:
if ( cs_get_user_team( ( player = players[i] ) ) == CS_TEAM_SPECTATOR )
__________________