SA-MP Forums Archive
I need help, please! :) - 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: I need help, please! :) (/showthread.php?tid=503138)



I need help, please! :) - JR_Junior - 28.03.2014

Hello friends...
I want to prevent connections with names that are already connected to the server. Example: I am connecting to the server with the name JR_Junior but there is already a player connected with exactly that name. I believe it is not very difficult, but my logic is not helping me today!
Thanks to all!


Re: I need help, please! :) - Dignity - 28.03.2014

This is done automaticly as far as I am aware. If a name is already in the game, it will show them the incorrect version/letter-in-name-error.


Re: I need help, please! :) - SyntaxQ - 28.03.2014

Yes, the connection is automatically rejected with a reason 'Unacceptable Nickname'.


Re: I need help, please! :) - JR_Junior - 28.03.2014

Quote:
Originally Posted by Mionee
Посмотреть сообщение
This is done automaticly as far as I am aware. If a name is already in the game, it will show them the incorrect version/letter-in-name-error.
Quote:
Originally Posted by SyntaxQ
Посмотреть сообщение
Yes, the connection is automatically rejected with a reason 'Unacceptable Nickname'.
Ohhh I'am a idiot... hahahaha thank you!