Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- store armor
- local choice_store_armor = {function(player, choice)
- local user_id = vRP.getUserId({player})
- if user_id ~= nil then
- BMclient.getArmour(player,{},function(armour)
- if armour > 95 then
- vRP.giveInventoryItem({user_id, "body_armor", 1, true})
- -- clear armor
- BMclient.setArmour(player,{0,false})
- else
- vRPclient.notify(player, {"~r~Ødelagte veste kan ikke blive lagt i tasken"})
- end
- end)
- end
- end, "Læg din vest i tasken."}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement