SA-MP Forums Archive
Kick in OnPlayerConnect - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Kick in OnPlayerConnect (/showthread.php?tid=380180)



Kick in OnPlayerConnect - iTorran - 24.09.2012

So as you all probably know.. when you kick someone in OnPlayerConnect, in most cases they'll lose connection..
Well this has been happening to me for a good few days now, and it's very annoying, as the message that gets sent contains some very important info.. so I was wondering if you could suggest some ways to get around this? I have tried timers with no success, they take too long and the player could have done so many things in this period..

I found out that with objects, it will happen.. and without objects it wont, but the server is pretty reliant on objects..
The objects seem to cause a "freeze" on the game between "Joining the game" and "Connected to ..."

So yeah, does anyone recommend a decent work around for this?


Re: Kick in OnPlayerConnect - ReneG - 24.09.2012

fixes.inc
It's listed at the bottom of the table.


Re: Kick in OnPlayerConnect - iTorran - 24.09.2012

I get the message, but still lose connection and spam the server console.


Re: Kick in OnPlayerConnect - ReneG - 24.09.2012

Yikes, I've never tried it. Try posting in that thread, or contact ******. Another thing you can do is try looking in the fixes include, look at the code that fixes Kick, and try to implement it in your mode (including credits ofc).