LT.Steiner Posted April 9, 2021 Share Posted April 9, 2021 Hello Dear RageMP community, I wrote a little bit scripts in Server-Side that signing Player log on events or any commands like Player Death, Player Money and etc.. My Codes will save a text that I assigned, all of events and signs are will register in one Single .txt file, I would like to create a folder and some materials like .txt files and some sorted folders with script (not manually). [My Question] is it possible to make a folder or file by Server-Side script with a value parameter names Dedicated for it??! I'm using System.IO library for this action. An Example for this Question After any player Registered, server make some .txt files included in one folder named player ID in an address that I assigned. if is it possible, please send me script how to do this, thanks everyone Link to comment Share on other sites More sharing options...
Division Posted April 10, 2021 Share Posted April 10, 2021 Directory.CreateDirectory(PATH) Directory.Exists(PATH) File.WriteAllLines Link to comment Share on other sites More sharing options...
LT.Steiner Posted April 11, 2021 Author Share Posted April 11, 2021 Thanks buddy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now