Advertisement
poxipox

Untitled

Oct 27th, 2023
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.72 KB | None | 0 0
  1.             prizeMission = {
  2.                 [1] = {addItem = function(cid)  -- prize on done mission eg: done needItem: 1 mission  additems get rewards!
  3.                     local bp = doPlayerAddItem(cid,2000,1)  -- BP
  4.                     doAddContainerItem(bp, 2160, 10)
  5.                     doPlayerAddExperience(cid, 1000)
  6.                     end, text = "You gain Exp + items.",
  7.                 },
  8.                 [6] = {addItem = function(cid)   -- prize on done mission eg: done missionKill: 6 mission  (kill boss) get rewards! , setStorage = 100 = end mission!! (fro mset configNpc.mission[npcIDMission].storage
  9.                     local bp = doPlayerAddItem(cid,2000,1)  -- BP
  10.                     doAddContainerItem(bp, 2160, 50)
  11.                     end, setStorage = 100, text = "This is end mission, f*** youself."
  12.                 },
  13.             },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement