Ahmed Araby Posted May 8, 2017 Share Posted May 8, 2017 function Create() local hFile = fileOpen("map1.map") buffer = fileRead(hFile, 100000000) local newFile = fileCreate("map2.map") if (newFile) then fileWrite(newFile, buffer) fileClose(newFile) fileClose(hFile) addResourceMap(":File/map2.map",0) end end addCommandHandler("Create",Create) هنا لما اضيف الماب الى مود اسمه File و الماب موجود في مود File2 طبعا لما اضيف الماب للمود يجي في الميتا <map src="" dimension="0"></map> ما يعرف الملف معرفش ليه Link to comment
Ahmed Araby Posted May 8, 2017 Author Share Posted May 8, 2017 1 minute ago, #BrosS said: عرفه بنفسك عاوز المود يعرفه لو كنت بعرفه انا كنت سويت كوبي وخلاص Link to comment
Abdul KariM Posted May 8, 2017 Share Posted May 8, 2017 سوي fileSetPos fileWrite للميتا 1 Link to comment
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