Jump to content

Hydra

Members
  • Posts

    316
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Hydra

  1. Singura optiune e sa cauti prin resursele respective si sa schimbi locatia blipurilor si markerelor cu locatiile din LV pe care le vrei tu.
  2. Nu se mai merita sa faci pe MTA nimic, mai ales la noi. Comunitatea e moarta, daca vreti sa faceti ceva schimbati-va pe FiveM chiar daca si pe FiveM in comunitatea romaneasca domina Roleplayu, atat putem ce sa facem
  3. Sperăm ca jucătorii de atunci să revină și acum la un freeroam frumos cum e în imaginiile prezentate mai sus
  4. Salut, dacă cauți un server de freeroam și pe comunitatea romanească țin să te anunț că serverul RPP-Gaming se redeschide azi de către fondatorul original (Dany Alex). Serverul va fi asa cum vi-l amintiti voi inainte să se inchidă. Serverul Conține: - Moduri pe mașini, arme si skin-uri reale (/mods în joc) -Tot felul de mape: Fun, Drift, DM-Race, Race etc.. (/teles în joc) - Sistem Anti-Deathmatch în F1 - Arenă doar pentru deathmatch (/aa în joc) - Serverul este optimizat și pentru cei cu PC-uri slabe (61 FPS constant) - În fiecare săptămâna o să apară ceva nou pe server Mai multe veți descoperi voi pe server Câteva poze ca să vedeți cum era atmosfera pe server: Discord Server: https://discord.gg/PbPxrF5jV6 Serverul și-a făcut pentru prima dată apariția pe data de 15 martie 2012.
  5. Hydra

    AC

    If I'm not mistaken, the possibility of using cheats/hacks on the MTA tends to 0% because the MTA uses a fairly good Anti-Cheat and does not allow entry to the servers with any kind of cheat or hack. On the contrary, you will be kicked automatically or banned from joining on any server on for a period of time or in the worse scenario, PERMANENT. I heard about 2 or 3 cheats that worked on MTA but I think the admins resolved that so you don't need to worry.
  6. You can do that with fetchRemote: https://wiki.multitheftauto.com/wiki/FetchRemote
  7. If you want to print it only for one time use the example above but if you want to print it infinite change 1 to 0
  8. Read the example posted on the wiki and you will see what you did wrong. https://wiki.multitheftauto.com/wiki/EngineReplaceAnimation
  9. Hydra

    2 hydra models

    You can look at the hydra model in blender and see how is done for the 2 flight modes. Maybe I'm wrong so I can say you will find something
  10. Hydra

    2 hydra models

    function ShamalWeapons() if not s then s = true bindKey("lctrl", "down", ShamalProjectiles) else s = false unbindKey("lctrl", "down", ShamalProjectiles) end end addCommandHandler("tweap", ShamalWeapons) local projectiles = {} local antispam = {} function ShamalProjectiles() local vehicle = getPedOccupiedVehicle(localPlayer) if vehicle then if getElementModel(vehicle) == 519 then if not antispam[localPlayer] or antispam[localPlayer] + 500 <= getTickCount() then antispam[localPlayer] = getTickCount() local px, py, pz = getElementPosition(vehicle) local rx, ry, rz = getElementRotation(vehicle) projectiles[1] = createProjectile(vehicle, 19, px+2, py, pz-2, 3) projectiles[2] = createProjectile(vehicle, 19, px-2, py, pz-2, 3) else cancelEvent() end end end end You will need to do something like this and if I'm not wrong you will need to use trigger event in a server-side script for the rockets to be visible for everyone. NOTE: this script will work only if you are using shamal aircraft
  11. --// Quick Example local ped = createPed(0, 0, 0, 10) local vehicle = createVehicle(411, 10, 0, 10) function lookAtVehicle() local px, py, pz = getElementPosition(ped) local vx, vy, vz = getElementPosition(vehicle) local rx, ry, rz = findRotation3D(px, py, pz, vx, vy, vz) setElementRotation(ped, rx, ry, rz) end addCommandHandler("trot", lookAtVehicle) function findRotation3D( x1, y1, z1, x2, y2, z2 ) local rotx = math.atan2 ( z2 - z1, getDistanceBetweenPoints2D ( x2,y2, x1,y1 ) ) rotx = math.deg(rotx) local rotz = -math.deg( math.atan2( x2 - x1, y2 - y1 ) ) rotz = rotz < 0 and rotz + 360 or rotz return rotx, 0,rotz end this will make the ped to rotate and look at vehicle every time
  12. why did you put setTimer(function(localPlayer) lmao when I put it only setTimer(function()
  13. local myPed = createPed(skinID, posX, posY, posZ) setTimer(function() setPedFollow(myPed, localPlayer) end, 1000, 0) function setPedFollow(theElement, theTarget) if theElement then local x, y, z = getElementPosition(theTarget) local rx, ry, rz = getElementRotation(theTarget) local ex, ey, ez = getElementPosition(theElement) local distance = getDistanceBetweenPoints3D(x, y, z, ex, ey, ez) local rotation = findRotation(ex, ey, x, y) setPedRotation(theElement, rotation) if distance > 2 then setPedControlState(theElement, "forwards", true) else setPedControlState(theElement, "forwards", false) end end end function findRotation( x1, y1, x2, y2 ) local t = -math.deg( math.atan2( x2 - x1, y2 - y1 ) ) return t < 0 and t + 360 or t end
  14. it works only with timer or onClientRender. Also you need to put findRotation function too
  15. local blip local teams = { {name = "Red Team", r = 255, g = 0, b = 0}, {name = "Blue Team", r = 0, g = 0, b = 255} } function onTeam() local team = getPlayerTeam(source) if team then if getTeamName(team) == teams[1].name then for _, v in ipairs(getPlayersInTeam(team)) do blip = createBlipAttachedTo(v, 0, 2, teams[1].r, teams[1].g, teams[1].b, 255) end elseif getTeamName(team) == teams[2].name then for _, v in ipairs(getPlayersInTeam(team)) do blip = createBlipAttachedTo(v, 0, 2, teams[2].r, teams[2].g, teams[2].b, 255) end end end end addEventHandler("onPlayerSpawn", root, onTeam)
  16. Here is a useful library you can use: https://forum.multitheftauto.com/topic/133212-rel-add-new-models-library/
  17. --// Quick Example local myCol = createColRectangle(1024, 512, 20, 20) --// this is how you create the col local myRadar = createRadarArea(1024, 512, 20, 20, 0, 255, 0, 255, root) --// with radar area you can detect your col easier function onColHit(hit, dim) if getElementType(hit) == "player" then killPed(hit) outputChatBox("You were killed", hit, 255, 0, 0, true) end end addEventHandler("onColShapeHit", root, onColHit) You have 6 types of colshapes, in this example I used the Rectangle one
  18. Try using the texture name from wiki: https://wiki.multitheftauto.com/wiki/CJ_Clothes\Hats_(16)
  19. Hello, did used this resource to get the texture name? https://wiki.multitheftauto.com/wiki/Shader_examples#Texture_names I think that each hat has a different name and you will have to put the exact name
  20. Version 1.5.0 (FINAL) - Improved lighting system - Removed some useless lighting from previous versions - Removed activation message & command - The lighting will start automatically at 21:00 and will stop at 07:00 Download Link: https://community.multitheftauto.com/index.php?p=resources&s=details&id=18637
  21. time.hour >= 1 // Means if the real hour is equal or higher than 1 time.hour < 3 // Means if the real hour is lower than 3
  22. you could achieve this with timestamp if i'm not wrong
  23. Buna ziua, as dori sa va prezint un VIP Panel realizat in DX (vreau sa mentionez ca acest panou este mai potrivit pe serverele freeroam). Există 3 pachete pentru acest panou VIP: Pachetul #1 Preț: 10$ Euro (Numai prin PayPal!) Conține: Diverse: - Interfață DX clasică (tip pătrat) - Conține câteva informații: numele jucătorului și câte persoane VIP sunt pe server Jucător: - Statistici maxime (aproape toate statisticile GTA:SA vor fi maximizate) - Viață (Veți seta 200% viață) - Armură (veți seta 200% armură) - Invizibil (vei fi invizibil) - Animație pentru invizibilitate - Jetpack (veți putea activa/dezactiva jetpack) - Godmode (Veți fi invincibil, dar nu veți putea ucide alți jucători) - VIP Blip (Veți fi vizibil pe hartă cu un blip diferit de jucătorii normali) Vehicul: - Va exista o listă cu unele vehicule pe care le puteți crea ca VIP (Puteți adăuga/elimina vehicule din vehicles.xml) - Distruge (mașina ta VIP va fi distrusă) - Blocare/Deblocare (Veți putea bloca/debloca mașina dvs. VIP, dar nu pe cele normale din panoul de administrare sau din alte resurse) - Motor (Veți putea opri/porni motorul mașinii VIP) - Lumini (veți putea aprinde/stinge farurile mașinii tale VIP) - Teleportare în vehicul (Vă veți putea teleporta în mașina dvs. VIP dacă este creată) - Animație invizibilă la mașină - Car Rainbow (culoarea la masină se va schimba aleatoriu) Pachetul #2 Preț: 10$ Euro (Numai prin PayPal!) Conține: Totul de la pachetul #1, dar interfața va fi rotunjită la colțuri Pachetul #3 Preț: 20$ Euro (Numai prin PayPal!) Conține: Totul de la pachetul #1 și pachetul #2 + - Stil (un buton unde puteți schimba tipul de interfață (Clasic sau Modern)) - Temă (un buton unde puteți schimba culoarea interfeței) Puteți derula în sus/jos dacă adăugi mai multe mașini în vehicles.xml NOTĂ: Vreau să menționez că scriptul va fi compilat pentru că nu vreau ca alții să facă sisteme folosind codul meu Putem vorbi doar pe Discord (Discordul meu: Hydra45#6859) Videoclipuri/Imagini: Video:
  24. Hi, I would like to present you a VIP Panel made in DX (I want to mention that this panel is more suitable on freeroam servers). There are 3 packages for this VIP Panel: Package #1 Price: 10$ Euros (Only via PayPal!) Contain: Misc: - Classic DX interface (square type) - It contains some information: the name of the player and how many VIPs are on the server Player: - Max Stats (Almost all GTA:SA stats will be maxed) - Health (You will set 200% health) - Armour (You will set 200% armour) - Invisible (You will be invisible) - Invisible Animation (Smooth invisible animation) - Jetpack (You will can enable/disable jetpack) - Godmode (You will be invincible but you will not be able to kill other players - VIP Blip (You will be visible on the map with a different blip from normal players) Vehicle: - There will be a list with some vehicles you can spawn as VIP (You can add/remove vehicles from vehicles.xml) - Destroy (Your vip car will be destroyed) - Lock/Unlock (You will can lock/unlock your vip car but not the normal ones from admin panel or other resources) - Engine (You will be able to stop/start your vip car engine) - Lights (You will be able to turn on/off the headlights of your vip car) - Warp in vehicle (You will be able to warp in your vip car if it's spawned) - Car Invisible Animation (Smooth invisible animation) - Car Rainbow (Smooth car color changer) Package #2 Price: 10$ Euros (Only via PayPal!) Contain: Everything from Package #1 but the interface will be rounded at corners Package #3 Price: 20$ Euros (Only via PayPal!) Contain: Everything from Package #1 and Package #2 + - Style (A button where you can change the type of interface (Classic or Modern) ) - Theme (A button where you can change the interface color from Dark to Light or from Light to Dark) You can scroll up/down if you add more cars in vehicles.xml NOTE: I want to mention that the script will be compiled because I do not want others to make systems using my code We can talk only on Discord(My discord: Hydra45#6859) Videos/Images: Video:
  25. Hello @BadDawg, here are some hosting servers: https://multitheftauto.com/hosters/
×
×
  • Create New...