Help me please(Dini) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me please(Dini) (
/showthread.php?tid=89430)
Help me please(Dini) -
user226 - 02.08.2009
Hello !
I have a problem, I created this code:
Код:
new string[256],pname[MAX_PLAYER_NAME],ip[20];
GetPlayerName(playerid, pname, sizeof(pname));
GetPlayerIp(playerid,ip,sizeof(ip));
format(string,sizeof(string),"players/%s.txt", pname);
if(!dini_Exists(string))
{
dini_Create(string);
print("\n File Created");
}
dini_Set(string,"Ip",ip[playerid]);
In the line "Ip" Recorded IP player, BUT: Every time a player connect IP rewritten, must be seen to all its IP through which it Connect
Help me please.
Re: Help me please(Dini) -
user226 - 02.08.2009
up...
Re: Help me please(Dini) -
Woet - 02.08.2009
'You can bump topics when you have no reply for at least 12 hours.'
Re: Help me please(Dini) -
user226 - 02.08.2009
Sorry..
Re: Help me please(Dini) -
MadeMan - 02.08.2009
Maybe change this
pawn Код:
dini_Set(string,"Ip",ip[playerid]);
to this
pawn Код:
dini_Set(string,"Ip",ip);
Re: Help me please(Dini) -
user226 - 02.08.2009
Quote:
Originally Posted by MadeMan
Maybe change this
pawn Код:
dini_Set(string,"Ip",ip[playerid]);
to this
pawn Код:
dini_Set(string,"Ip",ip);
|
No. ..
do not change..
Re: Help me please(Dini) -
user226 - 03.08.2009
up..
Re: Help me please(Dini) -
Woet - 08.08.2009
'You can bump topics when you have no reply for at least 12 hours.'