06.04.2012, 16:07
I have car system and cars save to file 1000.txt, 1001.txt and so on.....
First line in that file is Spawned=0/1
I want a command which will unspawn all of them basically when you type /unspawnallcars It will check through every file, starting at 1000, and change the line to Spawned=0, thats all I want, dont worry about destroying the car, for now I just want to know how I can change first line in each file to =0.
First line in that file is Spawned=0/1
I want a command which will unspawn all of them basically when you type /unspawnallcars It will check through every file, starting at 1000, and change the line to Spawned=0, thats all I want, dont worry about destroying the car, for now I just want to know how I can change first line in each file to =0.