Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Script by Ghostx...
- Use a map recieve map marks/locations on minimap
- Any issues and/or questions do contact me on otland.
- ]]--
- function onUse(cid, item, fromPosition, itemEx, toPosition)
- local Mark = {
- [1]={{x=0000,y=0000,z=7},"name",MAPMARK_TEMPLE}, -- Edit the locations to the position to mark
- [2]={{x=0000,y=0000,z=7},"name",MAPMARK_LOCK}, -- Where it says 'name' change it to the place
- [3]={{x=0000,y=0000,z=7},"name",MAPMARK_SWORD}, -- You can change the icon after the mapmark_
- [4]={{x=0000,y=0000,z=7},"name",MAPMARK_STAR}, -- You can add or reduce locations just by
- [5]={{x=0000,y=0000,z=7},"name",MAPMARK_FLAG}, -- adding/deleteing a line
- [6]={{x=0000,y=0000,z=7},"name",MAPMARK_TICK}, -- Make sure to follow the [1], [2] order rule.
- [7]={{x=0000,y=0000,z=7},"name",MAPMARK_REDWEST},
- [8]={{x=0000,y=0000,z=7},"name",MAPMARK_BAG}
- }
- for i=1,#Mark do
- doPlayerAddMapMark(cid, Mark[i][1], Mark[i][3], Mark[i][2])
- doPlayerSendTextMessage(cid,21,"You now have locations marked on your map")
- end
- return true
- end
Add Comment
Please, Sign In to add comment