Kick in OnPlayerConnect -
leong124 - 20.01.2012
Using Kick(playerid) in OnPlayerConnect will not close the connection. Instead, the player's client will try to reconnect the server, causing infinite kicking (if you have custom banning script).
Re: Kick in OnPlayerConnect -
kurta999 - 20.01.2012
Comfirmed!
Anyway
here the similar thread & video.
Re: Kick in OnPlayerConnect -
leong124 - 20.01.2012
Sorry, I just forgot the thread..
Just for a note, I tried to use a timer to kick the player, and find that even a 0ms timer will not fix it. However, something like 3000-5000ms fixes the problem.
Also, there is no codes that can make he player reconnects instantly, unless it is an SA-MP bug.
Re: Kick in OnPlayerConnect -
kurta999 - 20.01.2012
No problem.
But thanks for this idea, this works.
Not the best solution, because the player can join to the server, but works.
I hope this will be fixed in R3.
Re: Kick in OnPlayerConnect - T0pAz - 23.01.2012
I can confirm this bug. But it's doesn't happened spontaneously. It's randomized.
Re: Kick in OnPlayerConnect -
Jakku - 23.01.2012
Confirmed. Happens randomly but often.
Re: Kick in OnPlayerConnect -
Rokzlive - 23.01.2012
Happened to me with my ban script, i had to put a timer on to delay the script from checking and kicking.
Re: Kick in OnPlayerConnect -
Trenico - 24.01.2012
I thinked it just happened to me xd, it happens to me always, not randomly, please fix this
Re: Kick in OnPlayerConnect -
-Prodigy- - 29.01.2012
I spent a few hours debuging my shit and turns out this was the problem -_- fix.
Re: Kick in OnPlayerConnect -
Universal - 03.02.2012
Just use this OnPlayerRequestClass?