Easy_Mysql problem (IP)
#4

Try using a new SQL plugin. Also.. Perhaps use the function GetPlayerIp:
PHP код:
public OnPlayerConnect(playerid)
{
    new 
plrIP[16];
    
GetPlayerIp(playeridplrIPsizeof(plrIP));
    if(!
strcmp(plrIP"127.0.0.1"))
    
SendClientMessage(playerid0xFFFFFFFF"Welcome to your server, master :)");
    return 
1;

Source: wiki.

Try that to get the IP, and after that store it into the database.
Reply


Messages In This Thread
Easy_Mysql problem (IP) - by kalanerik99 - 11.01.2016, 19:57
Re: Easy_Mysql problem (IP) - by kalanerik99 - 12.01.2016, 15:52
Re: Easy_Mysql problem (IP) - by kalanerik99 - 12.01.2016, 19:40
Re: Easy_Mysql problem (IP) - by SaltySandy - 12.01.2016, 19:56
Re: Easy_Mysql problem (IP) - by kalanerik99 - 12.01.2016, 19:58

Forum Jump:


Users browsing this thread: 1 Guest(s)