23.09.2015, 21:41
I could be wrong, but try this:
Example of "Variable for person's IP":
Also, just noticed this (very recent!) thread exists, which may be useful: https://sampforum.blast.hk/showthread.php?tid=589891
Код:
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 }