Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ch_maschere_1_salva = {function(player,choice)
- local user_id = vRP.getUserId({player})
- if user_id ~= nil then
- BMclient.SalvaCurrentMaschera(player, {1})
- vRPclient.notify(player,{"~g~Slot 1 salvato"})
- end
- end}
- local ch_maschere_2_salva = {function(player,choice)
- local user_id = vRP.getUserId({player})
- if user_id ~= nil then
- BMclient.SalvaCurrentMaschera(player, {2})
- vRPclient.notify(player,{"~g~Slot 2 salvato"})
- end
- end}
- local ch_maschere_3_salva = {function(player,choice)
- local user_id = vRP.getUserId({player})
- if user_id ~= nil then
- BMclient.SalvaCurrentMaschera(player, {3})
- vRPclient.notify(player,{"~g~Slot 3 salvato"})
- end
- end}
- -----------------------------------------------------------------------
- local ch_maschere_1_equip = {function(player,choice)
- local user_id = vRP.getUserId({player})
- if user_id ~= nil then
- BMclient.updatemascheraslotclient(player, {1})
- vRPclient.notify(player,{"~b~Slot 1 equipaggiato"})
- end
- end}
- local ch_maschere_2_equip = {function(player,choice)
- local user_id = vRP.getUserId({player})
- if user_id ~= nil then
- BMclient.updatemascheraslotclient(player, {2})
- vRPclient.notify(player,{"~b~Slot 2 equipaggiato"})
- end
- end}
- local ch_maschere_3_equip = {function(player,choice)
- local user_id = vRP.getUserId({player})
- if user_id ~= nil then
- BMclient.updatemascheraslotclient(player, {3})
- vRPclient.notify(player,{"~b~Slot 3 equipaggiato"})
- end
- end}
- local choice_maschere = {function(player,choice)
- local user_id = vRP.getUserId({player})
- local menu = {}
- menu.name = "Maschere"
- menu.css = {top = "75px", header_color = "rgba(0,0,255,0.75)"}
- menu.onclose = function(player) vRP.openMainMenu({player}) end -- nest menu
- if vRP.hasPermission({user_id,"player.loot"}) then
- menu["Salva slot.1"] = ch_maschere_1_salva -- Send a nearby handcuffed player to jail with prompt for choice and user_list
- end
- if vRP.hasPermission({user_id,"player.loot"}) then
- menu["Salva slot.2"] = ch_maschere_2_salva -- Send a nearby handcuffed player to jail with prompt for choice and user_list
- end
- if vRP.hasPermission({user_id,"player.loot"}) then
- menu["Salva slot.3"] = ch_maschere_3_salva -- Send a nearby handcuffed player to jail with prompt for choice and user_list
- end
- if vRP.hasPermission({user_id,"player.loot"}) then
- menu["Equip slot.1"] = ch_maschere_1_equip -- Send a nearby handcuffed player to jail with prompt for choice and user_lis
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement