SA-MP Forums Archive
Files [PROBLEM] - 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: Files [PROBLEM] (/showthread.php?tid=128021)



Files [PROBLEM] - Kyle - 16.02.2010

I added this code when register
But it dont work
http://pastebin.com/m532c2852
i tried adding prints the prints dont show upeither



Re: Files [PROBLEM] - iron_war_lord - 16.02.2010

I don't think you have a problem with your writing file code, could we see your reading code? Where you put your print in...


Re: Files [PROBLEM] - Kyle - 16.02.2010

The file dont appear when creating.


Re: Files [PROBLEM] - iron_war_lord - 16.02.2010

Well, I don't notice anything wrong, but this line jumps out at me:
Код:
format(ming,sizeof(ming),"/IPADDRESSES/%s.txt",nugg);
Try:
Код:
format(ming,sizeof(ming),"\IPADDRESSES\%s.txt",nugg);