Guest User

Untitled

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