files tutorial - 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 tutorial (
/showthread.php?tid=255989)
files tutorial -
yanir3 - 18.05.2011
Hi
Can someone give me a tutorial for editing files, creating them, writing to them and etc.?
Function fwrite for example..
I want to make an Admins system which I can save the names in file, and the script reads the names from the file, then it knows they are admins.
File:
Admins.txt or something.
Content:
Yanir = 10
Jay = 9
^ this is an example, it shows the player name + his admin level in a file..
Re: files tutorial -
MadeMan - 18.05.2011
You can look how dini works
https://sampforum.blast.hk/showthread.php?tid=50