Jump to content

#Whit3^

Members
  • Posts

    117
  • Joined

  • Last visited

Everything posted by #Whit3^

  1. sry it's your idea, but do not use it much this script sry Techial Close
  2. now it work with this sry for all problem local sounds = { [1] = {"modes/win.mp3"}, [2] = {"modes/win2.mp3"}, [3] = {"modes/win3.mp3"}, [4] = {"modes/win4.mp3"}, [5] = {"modes/win5.mp3"}, } function zaa() local sound = unpack(sounds[math.random(1,5)]) local sounda = playSound (sound) setSoundVolume(sounda, 0.5) end addEventHandler ( 'onClientMapStarting', root, zaa)
  3. i have already tryed
  4. So I have to add this feature in the client's side race?
  5. Hello Basically I want that when the last person dies (race mode) sound is heard at random. I used this to make sure that when you hear those sounds change map but that does not work .. sorry for this english ..
  6. We start then you have in mind that in some servers there is a respawn mode, in the sense that if I die in a dm, he says, for example, press "n" to enter the training. The problem is that every time I'm in training mode give me cash. Now I do not know if it depends dall'userpanel or destruction derby can you help me Thx p.s sorry for this english Here is the function that gives me the money
  7. Ho detto solo se avete...senno nnt
  8. Ciao Raga avete per caso lo script sempre per caso lo script del training che nel server puoi fare parallelamente le mappe? Cioè io ne faccio una e tu ne fai un'altra nello stesso momento..
  9. Si ho capito ma che tipo di permessi.. http://pastebin.com/j2gV58dP
  10. questo è il code -- TAB 7 - Customization -- TAB 7 - Lights guiCreateLabel(0.05, 0.05, 0.10, 0.05, "Lights:", true, Tab[7]) lightsComboBox = guiCreateComboBox (0.05, 0.1, 0.4, 0.5, "Default", true, Tab[7]) drawlightsCheckBox = guiCreateCheckBox (0.05, 0.15, 0.25, 0.05, "Enable lights", true, true, Tab[7]) guiCreateLabel(0.05, 0.2, 0.25, 0.05, "Preview:", true, Tab[7]) previewStaticImage = guiCreateStaticImage (0.05, 0.25, 0.35, 0.35, "lights/"..currentLight..".jpg", true, Tab[7]) saveChangesButton = guiCreateButton (0.05, 0.85, 0.25, 0.07, "Save Lights", true, Tab[7]) for i,light in ipairs (lights) do local id = guiComboBoxAddItem (lightsComboBox,light) if light == currentLight then guiComboBoxSetSelected(lightsComboBox,id) end end addEventHandler("onClientGUIComboBoxAccepted",lightsComboBox,changeLights) addEventHandler("onClientGUIClick",saveChangesButton,saveChanges,false) -- TAB 7 - Infernus guiCreateLabel(0.5, 0.05, 0.10, 0.05, "Infernus:", true, Tab[7]) infernusComboBox = guiCreateComboBox (0.5, 0.1, 0.4, 0.5, "Default", true, Tab[7]) enableInfernusCheckBox = guiCreateCheckBox (0.5, 0.15, 0.25, 0.05, "Enable infernus", true, true, Tab[7]) guiCreateLabel(0.5, 0.2, 0.25, 0.05, "Preview:", true, Tab[7]) previewInfernusImage = guiCreateStaticImage (0.5, 0.25, 0.45, 0.35, "infernus/0/screen.png", true, Tab[7]) saveInfernusButton = guiCreateButton (0.5, 0.85, 0.25, 0.07, "Save Infernus", true, Tab[7]) for i,infernus in ipairs (infernus) do local infernusid = guiComboBoxAddItem(infernusComboBox,infernus) end guiComboBoxSetSelected(infernusComboBox,0) addEventHandler("onClientGUIComboBoxAccepted",infernusComboBox,changeInfernus) addEventHandler("onClientGUIClick",saveInfernusButton,saveInfernus,false) Ecco ho anche un'altro tab se riusciamo a capire cosa non và qui lo facciamo anche per l'altro xò non vedo niente di "ADMIN"
  11. No hunter quello che voglio io puma non l'ha messo è un'altra cosa.. e cmq si voglio che quel tab lo vedano tutti ma non so come fare..
  12. Cmq la funzione sta nel client... ed è un tab che ti setta dietro le skin delle makkine..(luci)
  13. Ma devo cerca nel client o nel server ? non so.. cmq è il panel di puma editato....
  14. Io ho un'userpanel che ho aggiunto all'acl ma alcune cose non me le fa vedere solo ai moderatori e agli admin e possibile che dipenda dal fatto che l'ho messo nell'acl? Perchè agli user normali non gli fa vedere alcune cose..
  15. Ok Grz Scusa Padrone losai che ti amo asd(poi cancella sta cazzata )
  16. Not Work How To fix? function buyRepair(p) if repairset == false then if (isPedInVehicle(p)) then local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) local v = getPedOccupiedVehicle(p) if playerCash >= RepairCost then outputChatBox(getPlayerName(p).." Has bought a Repair for 4000$", getRootElement(), 0, 255, 0, true) fixVehicle(v) repairset = thePlayer savePlayerData(thePlayer,"cash",playerCash-RepairCost) scoreboardRefresh(thePlayer) else outputChatBox("You don't have enought money!", p, 255, 0, 0) end else outputChatBox("You need to be in vehicle!", p, 255, 0, 0) end outputChatBox("You most be wait a nextmap for buy another repair!", p, 255, 0, 0) end addCommandHandler("br", buyRepair)
  17. EDITED RISOLTO (guarda lo spolier per vedere qual'era il problema)
  18. Ok Allora Funge Il Preveniw Horn Ora tocca al Tasto Compra.. che sfortuanantamente non funge...
  19. Mi servirebbe fare un'userpanel simile a questo (fare non mi sembra perchè alla fine lo fai sempre tu ) cmq ora ti volevo far vedere in genere come fare quello che intendevo io... se mi potresti spiegare come farlo gentilmente.. http://img9.imageshack.us/img9/5034/asd1le.png (io ho gia il client)
  20. Guarda che fatto io non è difficile fare sta cosa basta che copi uno script ci cambi delle cose cambi il testo e via poi il resto del save account data oppure (playerCash - RepairCost ) non è difficile cmq GRazie Funge I love u
  21. Anche questo è vero ma si può fare veramente tutto con il lua mi chiedo?
×
×
  • Create New...