![cs2d cmd](img/i_codehelp.png)
![IMG:https://i.imgur.com/6WY86jd.png](https://i.imgur.com/6WY86jd.png)
But I know that this is meaningless if script can not save edited data.
I searched for similar scripts -
![file](img/i_file.png)
![cs2d](img/icons/cs2d.png)
also I read about map format spec text file however, I couldn't find clear way to make new individual cs2d map file.
The way how I am thinking about make new individual map file is -
1. use
![cs2d lua cmd](img/i_codehelp.png)
![cs2d lua cmd](img/i_codehelp.png)
![cs2d lua cmd](img/i_codehelp.png)
2. Convert em into hexadecimal value
3. Save it as new map_name.map file
so.. question is
How can I write a map that currently running in server as new map file via lua?
Writing header ( Unreal Software's CS2D Map File (max) ), tiles and stuffs. any example or tips?