samp working when slot is free?
#1

Hi,

When i connect and my id is 0, and i disconnect, how much time have to pass, system free 0 slot, let other peoples connect to that slot?
Reply
#2

Well the ID is assigned just prior to OnPlayerConnect being called. I'm pretty sure that OnIncomingConnection is the first callback to be executed after a player ID is assigned by the server and OnPlayerDisconnect being the last. So I'd imagine there's only a few milliseconds between each instance, so you're better off assuming that it's instant and treating it as if there is no delay.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)