Quote:
Originally Posted by Torge
I think when you're connected.
That don't work:
PHP Code:
if(get_user_userid(id) == 1)
|
IIRC, when a player connects he is assigned the first available slot.
Code:
Connect, Slot 1 - Userid=1
Connect, Slot 2 - Userid=2
Connect, Slot 3 - Userid=3
Connect, Slot 4 - Userid=4
Disconnect, Slot 2
Connect, Slot 2 - Userid=5
Connect, Slot 5 - Userid=6
This is not the same as a userid - A userid is incremented on each connect to the server. It's not an index into an edict list, like a player index (from 1-32).
__________________