Quote:
DETAILS
"amx_addentuser" should check to see if the target's steamid is already in the DF_admins.txt file, and if the steamid is not found, or if there is a "0" after "password;", add the target to the file or change the "0" to a "1".
The format for a user in the DF_admins.txt (Ent users file) is this:
Code:
Code:
STEAM_0:0:123456;password;1 //target's name
"amx_delentuser" should check to see if the target's steamid is already in the DF_admins.txt file, and if the steamid is found, change the "1" to a "0" in the above line (steamid;password;0).
|
That is what I hope to accomplish. I need help with reading txt files and writing txt files in order to write the plugin.