23.09.2015, 16:47
PHP код:
new ip[16];
format(ip,sizeof(ip),"%s",GetIP(playerid));
new result = strcmp(ip,tmpIP);
#if result == 0
error line:
PHP код:
result == 0
PHP код:
!result
I want to make auto login, i retriving ip to tmpIP variable, and getting player ip with the code above,
I want to check if ips match, it just log the player on, if itsn't match, just display login dialogs.