Jump to content

HunT

Retired Staff
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by HunT

  1. Mica hai qualche file di troppo nel gioco gtasa? Tipo mod o roba simile.
  2. HunT

    luna!

    La posizione non credo,altro si.
  3. Well , if u not understand my example is not my problem Enter and Exit in the vehicle is only for render. Now I can't make the script example (reply with iPhone)
  4. Can u use GUI elements with relative position. Player enter in the vehicle/ onClientRender guiSetText Player exit in the vehicle / remove event guiSetVisible false
  5. Maybe u need edit mapmanager
  6. Why u need edit the name folder? Anyway [raceDD]/raceDD and mtaconf src raceDD
  7. Comprare cosa? Siete folli solo a pensare di comprare questa merda Basta un po di esperienza con il lua + slothbot ed è fatta. Solo un vero idiota pagherebbe per questo
  8. Non capisco il problema però Con la script che ti ho dato non la cambia la skin? o cosa? Siate chiari
  9. Si ma hai risolto o no? Perche hai bisogno di usare il setElementData?
  10. beh questo non lo sapevo. Se magari mi passi la gm te la fixo,quello che mi hai chiesto l ho fatto.
  11. Non ho capito cosa vuoi fare vuoi usare setElementData a chi preme il bottone oppure tu premi il bottone scegli il nome e fai setElementData nome scelto?
  12. Se le immagini sono male e female non capisco perche mi hai dato due ID maschili Anyway : ServerSide : addEventHandler("onPlayerLogin",getRootElement(), function () triggerClientEvent ( "ApriPannello", getRootElement()) end ) Client Side : addEvent("ApriPannello",true) function skinPanel() background = guiCreateStaticImage(0, 0, 1, 1, "background.png", true) window = guiCreateStaticImage(0.2, 0.125, 0.6, 0.75, "window.png", true,background) male = guiCreateStaticImage(0.1, 0.125, 0.2, 0.6, "male.png", true,window) female = guiCreateStaticImage(0.7, 0.125, 0.2, 0.6, "female.png", true,window) showCursor(true) end addEventHandler("ApriPannello",getResourceRootElement(getThisResource()),skinPanel) function onGuiClickSkin (button, state, absoluteX, absoluteY) if (source == male) then setElementModel ( localPlayer,73) showCursor ( false ) guiSetVisible (background,false) elseif (source == female) then setPlayerSkin ( localPlayer, 287) showCursor ( false ) guiSetVisible (background,false) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClickSkin) Ecco l'intera script : http://www.mediafire.com/download/ifl9i ... p/Dayz.zip
  13. Se vuoi che ti aiuto posta l intera risorsa tramite mediafire. Come faccio ad aiutarti se non ho la risorsa.
  14. U have edit dx score board?
  15. Non ho capito cosa intendi fare ma cmq . . . GUIEditor = { window = {}, memo = {} } function apriFinestra() GUIEditor.window[1] = guiCreateWindow(0.64, 0.25, 0.35, 0.68, "Coordinates of vehicles and other for DayZ by *THE DARK KING*", true) GUIEditor.memo[1] = guiCreateMemo(22, 26, 442, 485, "Hunter:\n- 1185.9775390625,26.4111328125,14.1484375\n-1724.5830078125,2559.3544921875,104.09127807617\n615.744140625,850.1572265625,- 43.009014129639\n232.5283203125,1950.3583984375,17.640625\n- 1050.5859375,1968.033203125,120.66523742676\n2821.03515625,2809.6689453125,10.8203125\n1949.9912109375,-2631.44140625,13.546875\n-756.53979492188,- 2137.5471191406,26.463499069214\n\nPatriot:\n-1473.5791015625,320.2294921875,7.1875\n- 1373.998046875,460.62109375,7.1875\n419.150390625,2186.087890625,39.499450683594\n2821.1796875,793.4658203125,10.8984375\n\nPickup:\n- 2479.6240234375,2223.6669921875,4.84375\n-92.9951171875,2823.0908203125,76.721649169922\n-2448.99609375,-1335.8662109375,310.97662353516\n-173.2470703125,- 2635.5341796875,26.608192443848\n2108.447265625,-1600.916015625,13.552597045898\n2452.7392578125,1607.9833984375,10.8203125\n-1800.8984375,- 1950.9736328125,93.561332702637\n\nSanchez:\n-812.470703125,-2629.912109375,90.105056762695\n-1729.8525390625,-1940.3154296875,99.840209960938\n- 2130.90234375,178.4375,35.257678985596\n-2656.7333984375,1352.4873046875,7.0596733093262\n-1598.302734375,2694.947265625,55.07092666626\n- 809.96484375,2430.037109375,156.97012329102\n2920.38671875,2486.0087890625,10.8203125\n505.732421875,-291.8681640625,20.00952911377\n-428.8828125,- 694.8310546875,19.14847946167\n1190.41015625,-2109.0341796875,64.738548278809\n1658.9716796875,-1069.0224609375,23.906229019165\n\nBarracks: \n86.486328125,1950.9013671875,17.846803665161\n440.185546875,1464.173828125,6.3338670730591\n\nCoach:\n- 1971.4619140625,97.4658203125,27.6875\n1735.8720703125,1429.0693359375,10.797702789307\n2797.1318359375,- 1868.8359375,9.8603811264038\n1941.900390625,1975.1904296875,7.59375\n\nFisherboat:\n2463.3984375,-2719.638671875,-0.55000001192093\n- 1577.4873046875,182.353515625,-0.53995263576508\n-806.80859375,2233.7001953125,40.049976348877\n-127.4453125,-779.6923828125,-0.55000001192093\n\nBike: \n194.685546875,-120.2333984375,1.5497757196426\n173.0146484375,-95.0634765625,1.5516006946564\n2369.9599609375,29.712890625,28.0416431427\n710.87109375,- 566.7548828125,16.3359375\n1109.6025390625,-1667.6689453125,13.615442276001\n2014.6689453125,-1113.4013671875,26.203125\n2447.41015625,- 1967.1845703125,13.546875\n2633.7236328125,1835.291015625,11.0234375\n1489.3974609375,2681.54296875,10.8203125\n-2428.5654296875,2280.875,4.984375\n- 2501.0869140625,2224.880859375,4.9861993789673\n-2142.8515625,-2457.84765625,30.625\n-2456.078125,-141.115234375,26.112222671509\n- 1881.4453125,954.3837890625,35.171875\n\nMaverick:\n-1495.888671875,-2691.40234375,57.325229644775\n-2688.42578125,1471.634765625,7.1875\n- 1534.28125,2842.9482421875,97.463409423828\n2221.8583984375,-1344.396484375,23.984273910522\n\nTents:\n-2845.060546875,2761.2509765625,242.69204711914\n- 1095.94921875,-1450.958984375,126.92543029785\n2607.1357421875,-510.4755859375,80.744903564453\n-1509.2333984375,-1986.443359375,50.071846008301\n\nHeli crash sides:\n-1360.0478515625,-1070.7314453125,160.4069519043\n-421.4619140625,-1284.4345703125,33.740924835205\n-2357.654296875,- 1634.3623046875,483.703125\n979.0849609375,160.59375,28.935249328613\n- 2057.2294921875,2781.73828125,163.12780761719\n826.90234375,2803.6259765625,74.863929748535\n2577.7060546875,-650.541015625,136.37449645996", false, GUIEditor.window[1]) end addEventHandler("onClientResourceStart", resourceRoot, apriFinestra) addCommandHandler ( "dayz", apriFinestra )
  16. aggiungi questa funzione sotto. function torciaAttiva () triggerServerEvent("onSwitchEffect",getLocalPlayer(),true) end addEventHandler("onClientResourceStart", getResourceRootElement( getThisResource()), torciaAttiva)
  17. Inverti la funzione toggleFlashLight() Basta sostituire if con if not e inverti i trigger. Ora e settato come off on Invertendo fai on off
  18. function onGuiClick (button, state, absoluteX, absoluteY) if (source == GUIEditor.button[1]) then guiSetVisible (GUIEditor.window[1],false) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) Aggiungi questa funzione sotto. Se hai altri problemi postali qui o fai un solo topic per le informazioni,evita di fare molti post.
  19. Devi cambiare la dimensione. La mappa default ha la dimensione 0, ogni interiore ha la sua dimensione.
  20. Se hai la risorsa headshot attiva fai /stop headshot Se hai la funzione compresa in una gm cerca la funzione e toglila
  21. Cmq il lua ti consente di creare praticamente tutto,quindi si può fare. Shock intendeva dire che noi non possiamo farti l intera script,ma se inizia a fare almeno un paio di stringhe ti aiutiamo.
  22. https://wiki.multitheftauto.com/wiki/SetDevelopmentMode https://wiki.multitheftauto.com/wiki/Se ... undEnabled
×
×
  • Create New...