Jump to content

IP Login


^_^ LOL ^_^

Recommended Posts

i dont know but mysql is very simple to learn for basic thing like you want

if you make a ip based system

player cant use vpn/proxy

player cant play on the same connection/modem

if player have not permanent ip (90% of fai havent it) when their modem reboot they lose all of their stats because their ip change

you can search tutoriel for simple mysql login system their are probably a lot

Link to comment

It is client sided.

  
  
play = guiCreateButton (arguments of it) 
function playClick() 
getPlayerSerial() 
spawnPlayer(arguments) 
end 
addEventHandler ( "onClientGUIClick", play, false, false ) 
  
  

EDIT:

Note: Arguments of it must be there or it won't work/.

Edited by Guest
Link to comment
  
getPlayerSerial --https://wiki.multitheftauto.com/wiki/getPlayerSerial 
  

I dont get it, can you give example? By when you click "Play" it make serial and account on it, then spawn the player?

Whenever a player installs MTA, a serial will be created for him. This serial is bound to the installation of MTA, whenever a player is going to press 'play' on your server, see if there is an account that's using that serial. If so, log him in and spawn him. If there isn't an account, create a new account for the player and log him in after that.

Link to comment
Whenever a player installs MTA, a serial will be created for him. This serial is bound to the installation of MTA, whenever a player is going to press 'play' on your server, see if there is an account that's using that serial. If so, log him in and spawn him. If there isn't an account, create a new account for the player and log him in after that.

Correction to your serial comment; serials are bound to the hardware, not the software.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...