Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local armor = {
- [219] = {49, "type2", "reaches for his armored vest and puts it over his head"},
- [220] = {74, "type3", "reaches for his armored vest and puts it over his head"},
- [221] = {100, "type4", "reaches for his armored vest and puts it over his head"},
- }
- -- Didn't make this local, since it is also required for the 'giveItem' function in s_item_management
- -- Add to useItem
- elseif (armor[itemID]) then
- local data = armor[itemID]
- setPedArmor(source, data[1])
- triggerEvent('sendAme', source, data[3]:gsub("#name",itemName) ..".")
- takeItemFromSlot(source, itemSlot)
Advertisement
Add Comment
Please, Sign In to add comment