settile command.
But I know that this is meaningless if script can not save edited data.
I searched for similar scripts -
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
tile command to get frames with loop ( start with 0 to
map("xsize"), 0 to
map("ysize") )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?
[Script] Custom map editor saving
1 
Offline
. Be aware that the Lua script that you have found may be outdated.
Gaios