Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Painel de Uniforme Policial
- command vestiario(){
- permission = "vestiario";
- execute(){
- effectManager.sendUI(19685, 1, player.id);
- effectManager.sendUI(19686, 2, player.id);
- effectManager.sendUI(19687, 3, player.id);
- effectManager.sendUI(19688, 4, player.id);
- }
- }
- // Eventos
- event onEffectButtonClicked(player, key){
- if(key == "NovaFarda"){
- player.browserRequest("Leia nossos Termos de Uso", "https://unturned-mania.com/termos-de-uso");
- }
- if(key == "RemoverFarda"){
- player.clothing.clear();
- }
- if(key == "Fechar"){
- effectManager.clearUIbyID(19651, player.id);
- effectManager.clearUIbyID(19652, player.id);
- effectManager.clearUIbyID(19653, player.id);
- }
- if(key == "01"){
- player.inventory.addItem(225, 1);
- player.inventory.addItem(3066, 1);
- player.inventory.addItem(3070, 1);
- player.inventory.addItem(3076, 1);
- }
- if(key == "02"){
- player.inventory.addItem(3537, 1);
- player.inventory.addItem(3066, 1);
- player.inventory.addItem(3070, 1);
- player.inventory.addItem(3076, 1);
- }
- if(key == "03"){
- player.inventory.addItem(3067, 1);
- player.inventory.addItem(3031, 1);
- player.inventory.addItem(3032, 1);
- }
- if(key == "04"){
- player.inventory.addItem(225, 1);
- player.inventory.addItem(435, 1);
- player.inventory.addItem(3066, 1);
- player.inventory.addItem(3070, 1);
- player.inventory.addItem(3076, 1);
- }
- if(key == "05"){
- player.inventory.addItem(225, 1);
- player.inventory.addItem(434, 1);
- player.inventory.addItem(3066, 1);
- player.inventory.addItem(3070, 1);
- player.inventory.addItem(3076, 1);
- }
- if(key == "06"){
- player.inventory.addItem(1472, 1);
- player.inventory.addItem(3066, 1);
- player.inventory.addItem(1473, 1);
- player.inventory.addItem(1474, 1);
- }
- if(key == "07"){
- player.inventory.addItem(3069, 1);
- player.inventory.addItem(3067, 1);
- player.inventory.addItem(3029, 1);
- player.inventory.addItem(3030, 1);
- }
- if(key == "08"){
- player.inventory.addItem(3068, 1);
- player.inventory.addItem(3066, 1);
- player.inventory.addItem(3029, 1);
- player.inventory.addItem(3030, 1);
- }
- if(key == "09"){
- player.inventory.addItem(3068, 1);
- player.inventory.addItem(3066, 1);
- player.inventory.addItem(3029, 1);
- player.inventory.addItem(3030, 1);
- }
- if(key == "10"){
- player.inventory.addItem(1389, 1);
- player.inventory.addItem(3534, 1);
- player.inventory.addItem(214, 1);
- }
- if(key == "11"){
- player.inventory.addItem(3534, 1);
- player.inventory.addItem(214, 1);
- }
- if(key == "12"){
- player.inventory.addItem(225, 1);
- player.inventory.addItem(3066, 1);
- player.inventory.addItem(8036, 1);
- player.inventory.addItem(8033, 1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement