08.08.2009, 01:08
Quote:
Originally Posted by cj101
In my login script, i have everyones ip to save.. however it ends up saving as 255.255.255.255 for all. Here's code:
Код:
new ip[90]; GetPlayerIp(playerid,ip,90); format(file, sizeof file, "IP: %s\n",ip); { fwrite(account, file); } |
Код:
//change this line format(file, sizeof file, "IP: %s\n",ip); // for this one format(file, sizeof(file), "IP: %s\n",ip);