Because
szID is the string array holding the player's Steam ID. The value in your server_cmd() line should instead be
get_user_userid( client ).
Also your loop should be checking size of array not size of array - 1 Otherwise it will not check the last string.
Forgot to mention that every player who joins your server is going to be kicked unless their Steam ID matches the first one in the array.
Quote:
Originally Posted by 3xit.
Don't need a plugin :
|
He asked in Scripting Help which means he wants to learn ( to whatever extent ).
__________________