Jump to content

HunT

Retired Staff
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by HunT

  1. U can change the background license (type my Flag Plate ) But u can't change the texture with name "platecharset" (personal tested many times ago)
  2. Se ci fai caso in play resource cè una mappa. Puoi editare quella
  3. +2 Close this old post.
  4. Hai risolto? Cmq evita di insultare.
  5. Guys this resource is really old (2 years)
  6. Io non ho Skype. Per attivare windowed mode vai in setting ( in mtasa ) poi vai su video ed in fine clicca su windowed mode,dopo fatto questo scegli una risoluzione bassa tipo 800. Premi ok e verifichi se gli fps aumentano.
  7. Hai provato in windowed mode? (modalità finestra e non schermo intero) con risoluzione 600 oppure 800. Se ti lagga anche così mi chiedo che razza di pc hai ( senza offesa)
  8. Opzione 1 : compra un nuovo pc Opzione 2 : formatta il pc e installa solo gtasa ed mtasa. Opzione 3 : return opzione 1
  9. In effetti stavo per dirtelo nel primo post però pensai che era un fail con il copia e incolla. Poi e meglio usare elseif che end end,sinceramente dubito che funzionava
  10. Client Side : local root = getRootElement() local this = getThisResource() local resourceRoot = getResourceRootElement(this) local localPlayer = getLocalPlayer() local Marker = {} addEventHandler("onClientResourceStart", resourceRoot, function() -- Chat -- outputChatBox("",255,255,255,true) outputChatBox("",255,255,255,true) outputChatBox("",255,255,255,true) outputChatBox("",255,255,255,true) outputChatBox("",255,255,255,true) outputChatBox("",255,255,255,true) outputChatBox("",255,255,255,true) outputChatBox("",255,255,255,true) outputChatBox ("#6699cc[MAP]: #FFFFFFgiampa #6699cc& #FFFFFFTonyX Presents : #6699ccLost World.", 27, 89, 224, true) outputChatBox ("#6699cc[MAP]: #FFFFFFPress #6699cc'M'#FFFFFF to toggle the music On/Off.", 27, 89, 224, true) outputChatBox ("#6699cc[MAP]: #FFFFFFGood Luck #6699cc& #ffffffHave Fun!", 27, 89, 224, true) -- Texture -- palmtxd = engineLoadTXD("gta_tree_palm.txd") engineImportTXD(palmtxd, 622 ) local palmdff = engineLoadDFF('veg_palm03.dff', 0) engineReplaceModel(palmdff, 622) palmtxd2 = engineLoadTXD("gta_tree_palm.txd") engineImportTXD(palmtxd2, 710 ) local palmdff2 = engineLoadDFF('vgs_palm01.dff', 0) engineReplaceModel(palmdff2, 710) -- Objects / Scale -- cactus1 = createObject(653,-6294.1,3408.5,7,0,0,334) cactus2 = createObject(653,-6341.4,3424.1,7,5,0,301) cactus3 = createObject(653,-6323.6,3457.5,7,0,0,32) deserttree1 = createObject(858,-6261.4,1950,0,0,0,0) deserttree2 = createObject(858,-6242.1,1933.2,0,0,0,100) water1 = createObject(6964,-6166.7,3308.6,1.2,0,0,0) quercia = createObject(709,-6951.8833007813,2161.4934082031,0,0,0,16) quercia2 = createObject(709,-7130.6293945313,2454.3,0,0,0,0) statue = createObject(3935,-7019.2446289063,2199.2590332031,27,0,0,251) paracadute = createObject(2903,-7243.146484375,2310.84765625,124,0,0,0) paracadute2 = createObject(2903,-7364.67578125,2297,93,0,0,0) cartello = createObject(3379,-7298.24609375,2436.3,0,0,0,41) cartello2 = createObject(3379,-7203.8447265625,2435,0,0,0,316) cartello3 = createObject(3379,-7262.8110351563,2399,0,0,0,305) setObjectScale ( cactus1, 7) setObjectScale ( cactus2, 13) setObjectScale ( cactus3, 9) setObjectScale ( deserttree1, 17) setObjectScale ( deserttree2, 10) setObjectScale ( water1, 2.7) setObjectScale ( quercia, 3.5) setObjectScale ( statue, 20) setObjectScale ( quercia2, 4.2) setObjectScale ( paracadute, 6) setObjectScale ( paracadute2, 4) setObjectScale ( cartello, 21) setObjectScale ( cartello2, 26) setObjectScale ( cartello3, 16) -- Distance -- engineSetModelLODDistance ( 653, 1600) engineSetModelLODDistance ( 858, 1400) engineSetModelLODDistance ( 6964, 1400) engineSetModelLODDistance ( 3935, 1400) engineSetModelLODDistance ( 11629, 2000) engineSetModelLODDistance ( 2903, 1400) engineSetModelLODDistance ( 709, 1800) engineSetModelLODDistance ( 11629, 2000) engineSetModelLODDistance ( 9586, 1800) engineSetModelLODDistance ( 9585, 1800) engineSetModelLODDistance ( 17541, 1500) engineSetModelLODDistance ( 3715, 1500) engineSetModelLODDistance ( 10822, 2200) engineSetModelLODDistance ( 9694, 2200) engineSetModelLODDistance ( 9587, 1800) -- Markers -- Marker[1] = createMarker(-7135.990234375, 2236.9404296875, 2, "corona", 6, 0, 0, 0, 0) Marker[2] = createMarker(-6342.470703125, 1936.2958984375, 30, "ring", 10, 0, 0, 0, 0) Marker[3] = createMarker(-7315.8344726563, 2236.7587890625, 2, "corona", 8, 0, 0, 0, 0) end ) addEventHandler("onClientResourceStop", root, function(res) if res == this then -- Qui (volendo) puoi resettare quello che hai impostato sopra -- Esempio il restore del txd sky etc.. end end ) addEventHandler("onClientMarkerHit", root, function(player, matchingDimension) if not matchingDimension then return end if player == localPlayer and isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle(player) if source == Marker[1] then setElementVelocity(vehicle, -0.8, 0, 1.0) elseif source == Marker[2] then setElementVelocity(vehicle, -0.04, -1.5, 1.3) elseif source == Marker[3] then setElementVelocity(vehicle, 0.17, 0.6, 1.29) end end end ) -- Amen --
  11. Se aspetti stasera ora sto lavorando.
  12. La funzione jumps è totalmente sbagliata.
  13. Non mi è chiara la domanda Cmq Nel browser ci sono molti server con molte gamemode, race freeroam zombie real life etc. . Stai cercando un server o vuoi creare un server? E che tipo di gioco ti piace?
  14. HunT

    Can You help me

    [/sarcasm] U have forget the "end" for close the question. [sarcasm] Anyway : viewtopic.php?f=91&t=47897
  15. Nice reply Anyway get accounts Table insert Table sort
  16. Ok the problem is the https Tnx for support. Maybe the browser automatic convert the http to https.
  17. Tnx for reply but don't work with http and https 2/3 weeks ago work fine and now no. the problem is not safari why I test with Nokia lumia (browser explorer) and not work. Edit: Home: don't work Irc chat : can't test Community : work Forum : work Wiki : don't work Bugs : don't work Heroes and hosting work
  18. I know,with pc work fine but with iPhone don't work. Every time i use the iPhone for look the wiki but now don't work Edit: I test with another smartphone ( Nokia lumia 800) and don't work
  19. Hi. i don't understand why,but the Mtasa wiki don't work if I use my iPhone The link say: impossible open the page But not only the main page,every pages say this error. It's possible fix this problem? Tnx
  20. HunT

    AttachElements

    Use onClientRender without AttachElements, get's from player set's to object
  21. HunT

    arithmetic help

    addEventHandler("onClientVehicleEnter",root, function () addEventHandler ( "onClientRender", getRootElement(), getPlayerSpeed ) end ) addEventHandler("onClientVehicleExit",root, function () removeEventHandler ( "onClientRender", getRootElement(), getPlayerSpeed ) end ) function getPlayerSpeed ( ) local sx, sy, sz = getElementVelocity (getPedOccupiedVehicle(localPlayer)) return (sx^2 + sy^2 + sz^2)^0.5*180 end Now u can get the speed example : if(tonumber( math.floor( getPlayerSpeed() ) ) < 30 ) then
  22. Try: getElementData (. . .) or 0
  23. Can u Edit this one: https://community.multitheftauto.com/in ... ls&id=1982
  24. Ok mi metto al lavoro per editare quello. Comunque, per fare una cosa del genere: http://i.imgur.com/jrOs6Ou.png | http://i.imgur.com/YPQpBSz.png che dovrei fare? Quando vai ad usare il setAccountData aggiungi sotto un triggerClient
  25. Ho capito esattamente cosa intendi,quando ho letto il messaggio stamattina quando lavoravo gia avevo la funzione finita in testa Ma per facilitarti le cose puoi editare quella che ti ho postato sopra. Avevo in mente di usare il setElementData perche credevo che dovevi usarla anche nel server DM,visto e considerato che è solo per hunter fight non cè bisogno di questo. Se hai qualche problema posta qui
×
×
  • Create New...