Jump to content

Hydra

Members
  • Posts

    295
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Hydra

  1. Hello @GordinDuAmassaand welcome to mta forum. Please ask your question in your native language section or when you post something here make sure you post it in english.
  2. I present to you the Project Genesis server, a multigamemode server. I want to mention that the server is still working and will definitely be open this winter. About the server: - There are 3 types of game modes on our server at the moment (Freeroam, Deathmatch and Trucker) General: - Intro when you connect to the server - Login / registration panel - Lobby Selector where you can select which gamemode you want to play, you also have a dashboard in the lobby where you can configure your settings - The option to select the language on the server (the server only supports Romanian and English at the moment) - Level System Freeroam: - Freeroam Panel - Vehicle System (you can set your suspension, camber etc ..) - Speaker System (You can listen to what music you want with a link on youtube) - Clan System (You can make a clan) - Top System (Here will appear the players with the most kills, the most level and xp) - Help Panel (Here you can watch commands, help or tutorials) Deathmatch: - Here you can do deathmatch against other players (FFA - Free For All) - Different arenas: arena only for deagle, arena only for knives, arena only for sniper, etc .. Trucker: - A gamemode made that simulates the ETS2 game - You can transport different things to different locations You can see more on our discord server: https://discord.gg/mpsYt9dMv8
  3. You will need: createEffect() attachElements() a shader to color the smoke
  4. local state = 0 function b() if state == 0 then addEventHandler("onClientRender", root, panel1) elseif state == 1 then removeEventHandler("onClientRender", root, panel1) addEventHandler("onClientRender", root, panel2) elseif state == 2 then removeEventHandler("onClientRender", root, panel1) removeEventHandler("onClientRender", root, panel2) end if state > 2 or state < 0 then state == 0 end end addEventHandler("onClientRender", root, b) function onChange(key, press) if key == "arrow_d" then state = state+1 elseif key == "arrow_u" then state = state-1 end end addEventHandler("onClientKey", root, onChange) Not tested but should work. Also next time you make a post in scripting area please type in english. If you want to post this in your native language go to languages section. ?
  5. https://github.com/multitheftauto/mtasa-blue/tree/master/Client/launch
  6. Hydra

    get upgrade

    if not isVehicleUpgraded(theVehicle, theUpgrade) then addVehicleUpgrade(theVehicle, theUpgrade) else end end
  7. You can use this function: https://wiki.multitheftauto.com/wiki/GetPedTarget
  8. This script make the collisions for some objects like in nfs games Video: https://streamable.com/58mz18 Download Link: https://mega.nz/file/rSRzna5C#-Q85VwKfgpo6oMkGOtyahRLtHwmPo5BEXG97ZxB-7wI
  9. Hello, try to use this program: https://github.com/pkfln/mta-discord-rpc
  10. The forum is to ask your problems and us to tell you how you can solve them lmao If you think someone will make the script for you then have fun waiting.
  11. You don't even tell us what are you trying to do. Just post a code and waiting for someone to fix it. ?
  12. Hello, you can search on this forum about Absolute to Relative positions. There are many topics about that and I'm sure you will find the one you wanted ?
  13. Hydra

    I need help..

    Use this resource to find the body texture of the modded vehicle: https://nightly.mtasa.com/files/shaders/shader_tex_names.zip After you found the texture make something like this: local shader = dxCreateShader(yourshader) local carTexture = dxCreateTexture(yourtexture) dxSetShaderValue(shader, "asdafa", carTexture) engineApplyShaderToWorldTexture(shader, "yourmoddedbodytexture")
  14. https://wiki.multitheftauto.com/wiki/GetVersion You can check if the version is ,,Custom" and do the thing you want to make.
  15. function killMe() killPed(source) end function onStartBindKill() bindKey(source, "n", "down", killMe) end addEventHandler("onResourceStart", resourceRoot, onStartBindKill)
  16. function playerConnect(playerNick, playerIP, playerUsername, playerSerial, playerVersionNumber) if playerSerial == "serial here" then cancelEvent(true,"your message.") else end end addEventHandler ("onPlayerConnect", getRootElement(), playerConnect) Edited from wiki
  17. local r, g, b = 0, 0, 0 local tick = 0 function panel() r = interpolateBetween(0, 0, 0, 215, 0, 0, (getTickCount()-tick)/300, 'SineCurve') g = interpolateBetween(0, 0, 0, 50, 0, 0, (getTickCount()-tick)/500, 'SineCurve') b = interpolateBetween(0, 0, 0, 110, 0, 0, (getTickCount()-tick)/730, 'SineCurve') dxDrawRectangle(screenW * 0.2000, screenH * 0.4000, screenW * 0.2800, screenH * 0.3200, tocolor(r, g, b, 255), false) end addEventHandler('onClientRender', root, panel)
  18. https://wiki.multitheftauto.com/wiki/SetVehicleModelWheelSize
  19. Put the resource in admin ACL
  20. Copy his serial or ip, go to admin panel -> bans -> Ban Serial or Ban IP
  21. Acest topic poate fi inchis deoarece sectiunea romaneasca este moarta.
  22. This is the english section. Go post this in your native language
  23. local txd = {} local dff = {} local col = {} txd[1] = engineLoadTXD ( "mod1.txd" ) engineImportTXD ( txd[1], 3356 ) dff[1]= engineLoadDFF ( "mod1.dff" ) engineReplaceModel ( dff[1], 3356 ) col[1] = engineLoadCOL( "mod1.col" ) engineReplaceCOL( col[1], 3356 ) txd[2] = engineLoadTXD ( "mod2.txd" ) engineImportTXD ( txd[2], 3357 ) dff[2] = engineLoadDFF ( "mod2.dff" ) engineReplaceModel ( dff[2], 3357 ) col[2] = engineLoadCOL( "mod2.col" ) engineReplaceCOL( col[2], 3357 ) just an example Is not required to put local txd = {}, you can put txd1, txd2 etc.. but it's more easy to do like the example above.
×
×
  • Create New...