Jump to content

HunT

Retired Staff
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by HunT

  1. Prima di tutto fammi sapere se hai risolto con il vehicleweapons. Per quanto riguarda " l'auto B " devi editare il destructionderby.lua (come già detto) getActivePlayerCount() e la funzione che chiama il numero di players ancora in gioco. Quindi [ if getActivePlayerCount() <= 1 then ] vuol dire che: Se il numero dei player vivi e pari ad uno si avvia la funzione next map etc. Se invece cambi il valore dei player a 0, vuol dire che la funzione next map etc parte quando tutti sono morti. Quindi sostituisci solo l 1 con 0 if getActivePlayerCount() <= 0 then
  2. HELPER GET CO-OWNER ON MY SEREVR LoL Anyway the community can help you,search search. https://community.multitheftauto.com/
  3. Per quanto riguarda l altro topic auto b spiegati meglio. Cosa intendi fare
  4. Allora. Di sicuro si sta parlando di gamemode race. Se in una particolare mappa non ti funziona il fire Dell hunter allora devi dargli il true nel meta.xml della mappa. Ecco un esempio. Sostituisci il false con il true. <setting name="#vehicleweapons" value='[ "true" ]'></setting> Se invece il fire Dell hunter non funziona su nessuna mappa allora devi settare il race tramite il pannello admin. Apri il pannello admin. Resources Clicca race e poi clicca setting. Trova il vehicleweapons e settaci true al posto di false. E credo di esser stato chiaro.
  5. Strano Di sicuro non hai il weapons fire con il value true nel meta.xml
  6. Anyway posta qui l'intera script e la fixiamo. L errore che dice nel set cloude e che non hai messo il true o il false,sta aspettando il value
  7. Se hai altri errori e logico che non funziona la script che ti ho fatto:/ Che cazzo c'entra set cloude enable con la mia script.
  8. https://community.multitheftauto.com/ind ... ls&id=5028
  9. HunT

    HunterAlert Message

    C'mon the hunter alert is very easy script Stolen what?
  10. I make this solution without Jackson First the click: if (source == button name) then triggerServerEvent ( "givePoints", getLocalPlayer()) function pointToRank () local points = tonumber(getAccountData(source,"points")) If point == nil then setAccountData (source,"rankName","The name") setAccountData (source,"rankNumber","The number") elseif points >= number Points then Etc . . . end end addEventHandler( "givePoints", getRootElement(), -- check the account -- get the account -- set the points PointToRank() -- close the function I can't test I'm in usa, anyway maybe work
  11. This is fantastic really tnx
  12. I don't know the json Anyway the table is : local tableconsole = { [1] = {"First Beat",100}, [2] = {"other title",200}, }
  13. Wiki? The wiki can't help me for this. I know the set/get account data etc. . . I need example only for convert the points for rank.
  14. Hi Guyx. I want make a points system in my new project. But i need the example Type with table [First Beat] = {10000} -- name rank and points number etc. . . And events for give the points onClientGUIClick = give 5 points and other GUI events With set/get Accountdat
  15. come gia detto non ho ne mta ne pc per testare la script,se mi dici almeno l errore.
  16. I have this problem many times ago with my user panel. I fix the problem with resize the images, type 526x526 to 256 or 128x128 I forget. Maybe dx function is better for the project with many images.
  17. onClientMouseLeave is not good for the CUE Why this event stop the sound over the botton,but I need stopSound click leave. Other solution ? Sorry for db post.
  18. But I can use the onClientGUIClick for playSound and onClientMouseLeave for stopSound I forget this. Ok tnx. = FAIL
  19. i know this tnx but I need with click
  20. Hi guys. I need the solution for make the CUE botton The botton cue dj console type tracktor. Press the botton playSound (onClientGUIClick is ok) But I need stopSound "onClientGUIClickLeave or up" Type Mouse enter / leave but with click Solution? Or need new event? Tnx.
  21. function trasparenzaTotale ( tutti3458 ) if ( getElementType ( tutti3458 ) == "object" ) and ( getElementModel ( tutti3458 ) == 3458 ) then setElementAlpha (tutti3458, 0 ) end end addEventHandler ( "onResourceStart", getRootElement(), trasparenzaTotale ) Avevo dimenticato il then Il debugscript è fedele.
  22. function trasparenzaTotale ( tutti3458 ) if ( getElementType ( tutti3458 ) == "object" ) and ( getElementModel ( tutti3458 ) == 3458 ) setElementAlpha (tutti3458, 0 ) end end addEventHandler ( "onResourceStart", getRootElement(), trasparenzaTotale ) Fai un file tipo trasp.lua e non dimenticare di metterlo nel meta. Script SRC trasp.lua type client Fai partire la script o la mappa.Se non funziona scrivi in chat: /debugscript 3 Ti appare una finestra sotto,riporta cosa dice in caso non funzioni.
  23. Te lo avevo detto che avevi il meta fallato Cmq next time usa dei nomi semplici per il .map senza trattini parentesi etc. .
  24. Hai sbagliato qualcosa nel meta.xml Posta qui il meta.xml + relativi nomi dei file tipo miamappa.map o miascript.lua
×
×
  • Create New...