23.09.2015, 20:32
Can someone help me with making an autologin? I'm using MySql and currently saving the IP of the player at the register part.
Any help? Thanks.
Any help? Thanks.
new ip[16]; GetPlayerIp(playerid, ip, sizeof(ip)); if (!strcmp([variable for person's IP], ip, true)) { //auto login code here }
new ip[16]; GetPlayerIp(playerid, ip, sizeof(ip)); if (!strcmp(PlayerInfo[playerid][pIPAddress], ip, true)) { //auto login code here }