SA-MP Forums Archive
How to find a name in a file... - 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: How to find a name in a file... (/showthread.php?tid=173338)



How to find a name in a file... - KaleOtter - 02.09.2010

Ey , I need to know how to find a Name in a File.
The lines in my files are like this:

5.85.94.61=[XTC]KaleOtter

I can find the IP, but I also need to fine the name. I use dini to find the IP.
What could i use to find the name? I tried alot things but didn't work. I'm not that good with strings.


Re: How to find a name in a file... - LarzI - 02.09.2010

Use file functions (io_read).
Look up the tutorial at the Wiki.


Re: How to find a name in a file... - KaleOtter - 02.09.2010

Ye I know I already checked that. I will see if it works.