Server Whitelist script - 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: Server Whitelist script (
/showthread.php?tid=582046)
Server Whitelist script -
NexySamp - 17.07.2015
Hello,so I need a whitelist for my server (players only on the list can enter the server).Ive been searching on the forum but found only 2fs-s 1st dead link and 2nd does not work.Help please
Re: Server Whitelist script -
SpikeSpigel - 17.07.2015
That's really simple. You can make a database and let only the PLAYERS with the account on the database to enter on the server. Like mine:
http://i.imgur.com/aYqya3c.png
It says that you don't have an registered account, you can made that to say that you aren't on the whitelist. Soo-.. you make a database, ((MySQL is better)) and do something like SELECT * from ACCOUNTS WHERE whitelist=1
And a normal player isn't in the database. Then you can make a command on the server like /addwhitelist or a SITE. So you make that command, your script/code and then add something for the database like "INSERT * INTO accounts... whitelist, etc
. Hope that helped you :P
AW: Server Whitelist script -
lcp9 - 17.07.2015
First you need a file saving system, like Dini or MySQL.
When a player connects the list/table will be opened. If player has been found in the list/table, he can connect otherwise he will be kicked. You can also add /editwhitelist [playername] and then another player will be put in the table/list.
Re: Server Whitelist script -
NexySamp - 17.07.2015
Tnx for the help,but im not that good as a scripter to make it.I wish that there is a system somhwere that i can just download and use xD
Re: Server Whitelist script -
SpikeSpigel - 17.07.2015
Then you'll never know how to SCRIPT if you only download and use. It's really simple, just watch a tutorial on ******* >> how to make a MySQL database samp . And after you made the database you can post a topic here and we will help you and explain to you why and how to .