Saving IP with Dini.
#2

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!
Reply


Messages In This Thread
Saving IP with Dini. - by TyThaBomb - 28.06.2012, 07:55
Re: Saving IP with Dini. - by JaTochNietDan - 28.06.2012, 08:14
Re: Saving IP with Dini. - by TyThaBomb - 28.06.2012, 08:19
TyThaBomb - by [MM]RoXoR[FS] - 28.06.2012, 08:19
Re: Saving IP with Dini. - by JaTochNietDan - 28.06.2012, 08:22
Re: Saving IP with Dini. - by TyThaBomb - 28.06.2012, 08:24

Forum Jump:


Users browsing this thread: 1 Guest(s)