Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onUse(cid, item, frompos, item2, topos)
- local vocations = {
- [1] = {7902, 7897, 7896, 7892, 2542, 2190},
- [2] = {7901, 7898, 7895, 7893, 8907, 8911},
- [3] = {9778, 9776, 9777, 6132, 8905, 7367},
- [4] = {2491, 2487, 2488, 2644, 2519, 2408},
- [5] = {7902, 7897, 7896, 7892, 2542, 2190},
- [6] = {7901, 7898, 7895, 7893, 8907, 8911},
- [7] = {9778, 9776, 9777, 6132, 8905, 7367},
- [8] = {2491, 2487, 2488, 2644, 2519, 2408},
- }
- for _, items in pairs(vocations[getPlayerVocation(cid)]) do
- doPlayerAddItem(cid, items, 1)
- end
- doRemoveItem(item.uid, 1)
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement