Jump to content

Hydra

Members
  • Posts

    372
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Hydra

  1. Feel free to use it: https://github.com/Hydra455/setPedFollow-setPedAttack
  2. I don't quite understand what you said. But I guess you wanted to refer to where to put the line I gave you above. 1. Create a .lua file 2. Put setGameType ("Your gamemode name") in the .lua file 3. And in meta.xml put <script src = "filename.lua" type = "server" />
  3. setGameType("Name here") I think this is what you want
  4. For dxDrawImage3D you need to put faceTowardX/Y/Z argument too if you want to rotate image on the ground.
  5. Momentan e doar client-side dar o sa fac si server-side
  6. Cum scrie si in titlu am facut 2 functii custom numite: setPedAttack si setPedFollow - setPedAttack va face ca npc-ul sa urmareasca si sa atace jucatorul - setPedFollow va face ca npc-ul doar sa urmareasca jucatorul Video: https://streamable.com/8oaf0n
  7. Trigger the event in server-side? Idk if will work but you can try
  8. function s() for i = 7, 16 do setWorldSoundEnabled(i, false) end end
  9. I found the problem but idk how to fix it. The problem is because the texture is unamed
  10. Hi, I made some front bumpers and the problem is that the reflection shader is not applied on them. I am still a beginner in modeling and it would be very helpful if I could be told how I could solve this problem. I looked over the forum before doing this topic but I didn't find anything about it or I went over it without seeing it
  11. Use: setVehicleVariant(arg1, arg2) (https://wiki.multitheftauto.com/wiki/SetVehicleVariant) yeah, you can make a custom function for that
  12. Nu e cv wow dar am zis totusi sa ii dau share Download Link: nu lmao Video: https://streamable.com/9e1xh9
  13. Indeed you can use variants for rear bumper, front bumper and stuff like that using setVehicleVariant()
  14. Hydra

    Slider

    onClientRender() interpolateBetween() booleans With these you could make a slide as in the picture and you also need some math
  15. To be honest the map editor is bugged af, many errors/warnings in debugscript and sometimes it bugs when saving the map. Instead of adding new functions and resources, the current ones should be fixed
  16. onClientClick() onClientCursorMove() These functions can help you
  17. Try in this way function wolrdTexts() if getElementInterior(source) == 6 and getElementDimension(source) == 90 then dxDrawTextOnElement(john,"#FFFFFFStore #0099ffJohn #ccffcc(Frentista)\n #FFFFFFClick 'N' and press on me!",1,20,255,255,255,255,1,comy1) else end end addEventHandler("onClientRender",root, wolrdTexts) I don't test it so idk if will work
  18. Pune adresa ta ip in google care o poti afla din cmd cu comanda ,,ipconfig"
  19. If you refer to the spoiler you could put it on a default spoiler of the game and use attachElements or implement it as a variant on infernus which is a bit complicated if you are a beginner
  20. Sper ca nu ai pus in mtaserver.conf <serverip>ip-ul tau</serverip> in loc de <serverip>auto</serverip>
  21. setTrafficLightState("disabled")
×
×
  • Create New...