Jump to content

تصحيح


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...