Need help - 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: Need help (
/showthread.php?tid=283533)
Need help -
Alexis1999 - 15.09.2011
Is it possible to script a fs so when you register to get your ip and if you register above then 2 times to show a block message that you can't make another acc?
Re: Need help -
Fool - 15.09.2011
You could use the Search button.
Re: Need help -
park4bmx - 15.09.2011
Quote:
Originally Posted by Alexis1999
Is it possible to script a fs so when you register to get your ip and if you register above then 2 times to show a block message that you can't make another acc?
|
well yes it is possible but it would much assayer if you check if the player has already registered an account file
Re: Need help -
Alexis1999 - 15.09.2011
The thing is if i make it to read account files it will not recognise if the ip of the player has 2 accounts
Re: Need help -
park4bmx - 15.09.2011
Quote:
Originally Posted by Alexis1999
The thing is if i make it to read account files it will not recognise if the ip of the player has 2 accounts
|
ohh ok so i see what you mean i dint understand you the first time
so you want if
ANY IP address has 1 account on your server and if he changes his name and tryes to make another account he would
NOT be allowed.
is that what you mean ?
Re: Need help -
Alexis1999 - 15.09.2011
exactly
Re: Need help -
park4bmx - 15.09.2011
create a file which you will save all the IP's from the users that register
then every single time a new member joins get his ip and then see if his IP matches any of the IP's in that file
in that way you can see if he is registered i will show an Example in a minute.
EDIT
i don't think i can do that today sorry
Re: Need help -
scottyishere - 15.09.2011
I wouldn't recommend you to do that. Many players have dynamic IP and it will be useless. Also if you bind accounts with IPs they won't be able to connect to their usual accounts as well. It's going to be a big mess.
Re: Need help -
HotPlayer - 15.09.2011
Just use LuxAdmin system its a nice system for admin and for register login script( Ellhnas ise re?)
Thanks!
Re: Need help -
Alexis1999 - 16.09.2011
νε ειμαι :P