SA-MP Forums Archive
[Bug]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: [Bug]Kick in OnPlayerConnect (/showthread.php?tid=323853)



[Bug]Kick in OnPlayerConnect - Dandimite - 07.03.2012

If u kick somebody in OnPlayerConnect, the client will autoreconnect all the time and dont get any SendClientMessage from the server.

Pls fix it


Re: [Bug]Kick in OnPlayerConnect - Edvin - 07.03.2012

Confirmed! I make a new ban system on my server, and i use Kick on OnPlayerConnect. If i am banned it don't show me the dialog or any SendClientMessage, just reconecting on server ...

Please fix this bug xD


Re: [Bug]Kick in OnPlayerConnect - IstuntmanI - 09.03.2012

Confirmed, when I use it for banned names, the player will reconnect. xD


Re: [Bug]Kick in OnPlayerConnect - -Prodigy- - 09.03.2012

Actually, setting a timer of 0 ms won't fix it. I have to set mine to 500 ms and it sucks!


Re: [Bug]Kick in OnPlayerConnect - -Prodigy- - 18.04.2012

Bump! Any news? Or at least say something.


Re: [Bug]Kick in OnPlayerConnect - sampreader - 18.04.2012

try return 1; after kick


Re: [Bug]Kick in OnPlayerConnect - BlackBank - 18.04.2012

Quote:
Originally Posted by -Prodigy-
View Post
Bump! Any news? Or at least say something.
You could use OnPlayerRequestClass for this...


Re: [Bug]Kick in OnPlayerConnect - -Prodigy- - 18.04.2012

Quote:
Originally Posted by sampreader
View Post
try return 1; after kick
No, this won't fix it.

Quote:
Originally Posted by BlackBank3
View Post
You could use OnPlayerRequestClass for this...
No, I want to use it under OnPlayerConnect..


Re: [Bug]Kick in OnPlayerConnect - Jochemd - 21.04.2012

Set a timer (1 second) - fixed. I don't why you're making a problem of this.


Re: [Bug]Kick in OnPlayerConnect - -Prodigy- - 21.04.2012

Why should I use a timer? It's a bug and bugs have to be fixed.