28.06.2012, 08:14
The issue is that you're not using the function GetPlayerIp correctly, it doesn't return the IP address as a string. It stores it in the second parameter, for example:
Does that make sense? 
In future, check out the documentation for the functions you are using!
pawn Код:
new ip[16];
GetPlayerIp(playerid, ip, sizeof(ip));
dini_Set(playernamefile(playerid),"IP", ip);

In future, check out the documentation for the functions you are using!