Quote:
Originally Posted by JaTochNietDan
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:
pawn Код:
new ip[16]; GetPlayerIp(playerid, ip, sizeof(ip)); dini_Set(playernamefile(playerid),"IP", ip);
Does that make sense?
In future, check out the documentation for the functions you are using!
|
You sir, are a life saver. I completely didn't realize it until you pointed it out to me. Again, thanks. Any whereabouts on why it sets my ip to 255.255.255.255? I wasn't LAN testing either, uploaded straight to my server.