files tutorial
#1

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..
Reply
#2

You can look how dini works

https://sampforum.blast.hk/showthread.php?tid=50
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)