Jump to content

Shady1

Members
  • Posts

    864
  • Joined

  • Last visited

  • Days Won

    57

Everything posted by Shady1

  1. @LeonardoWilliams guiGetText(v.edit) Try.
  2. there is a problem with the file links
  3. use createPed to create pad use setElementInterior and setElementDimension to set pad interior and dimension local thePed = createPed(0, 0, 0, 0) setElementInterior(thePed, 3) setElementDimension(thePed, 44) this code creates a pad with coordinates 0, 0, 0 and makes interior 3 and dimension 44 If you did this from the map editor, make sure the pad's interior is 3 and its dimension is 44 now that's all i can help you, you can do the rest.
  4. then you should make interior and dimension the same,I can help better if you post the full code here,do as i say first, if still problem, send whole code setElementInterior and setElementDimension
  5. look, elements have dimensions,your way of thinking is wrong,Do you want the object to appear?
  6. local mark = createMarker(-2409.56738, -598.22534, 130.64844, "cylinder", 3, 0, 255, 0, 155) function enter(hitElement, matchingDimension) if(getElementType(hitElement) == "player") then setElementDimension(hitElement, 44) setElementInterior(hitElement, 3, -2027.9200, -105.1830, 1035.1720) end end addEventHandler ("onMarkerHit", mark, enter) You will be teleported as interior id 3, as I know it should be 10 in normal gta setElementInterior(hitElement, 3, -2027.9200, -105.1830, 1035.1720) if it doesn't work change it to id 10
  7. Do you want to change the interior of the player? because dimension and interior are different things
  8. if you tell me exactly what you want i can help, explain it nicely.
  9. Sorry for the first information I gave, you can use this command int engineRequestModel ( string elementType [, int parentID ] )
  10. hi, i sent you a link, can you check it? https://wiki.multitheftauto.com/wiki/CreateObject
  11. setElementInterior(marker, markerInterior) you should try, and refresh your coordinate information,If it doesn't work, I can send you a few pieces of the interior system that I personally use..
  12. hello, I don't quite understand your help so, You put a timer that checks whether the nitrous is turned on in the vehicle it is in,if it is on, it will turn off the nitro, so you can partially do what you want. setVehicleNitroActivated ( vehicle theVehicle, bool state )
  13. I added website opening commands with internal command in mta, but when using image I use "httpSetResponseHeader" with this command, when I restart the project, it appears for 2 seconds, then the images disappear automatically,What commands should I add as extra?
  14. w0w, nice script, i will try this
  15. There is an easy solution, TCT,i will send download link for you. It is a very practical and fast object placement preference, if you are thinking of a different software, write to me. https://community.multitheftauto.com/index.php?p=resources&s=details&id=4746
  16. I will use this on my server, thanks
  17. First post of 2022 Happy new year
  18. hi david1231237, upon your request i am sharing you the download link of superman mod If you have a different request, you can make more descriptive comments and i can help you. https://community.multitheftauto.com/index.php?p=resources&s=details&id=220
  19. nice system, need to download it and try it, keep up the good work.
  20. hello lisandu, i don't understand what you mean exactly because you can't talk about code and mod, so i can give you three or five ideas,If you explain a little more in detail and share the code of the system you want to build, people might be able to help you,Please open a more descriptive topic. now there are 2 methods for this, the first method is to delete and recreate, so you can give the effect of disappearing and visible, this is used if the blip with 0 id is not used, technically, if the blip with 0 id is setBlipColor, it can be, and getAttachedElements you can pull attached elements with this
  21. cara, eu não entendo muito porque você é muito complicado, se você puder compartilhar o arquivo lua corretamente, eu posso ajudar,Você pode consertar a parte do "Jogador" se você ainda receber o mesmo erro, altere ou destrua o lado do triggerClientEvent
  22. Shady1

    Hud-Bug

    put this command inside your package (client) function setStats() if not getElementData(localPlayer,"loggedin") then setPlayerHudComponentVisible("clock",false) setPlayerHudComponentVisible("radar",false) setPlayerHudComponentVisible("money",false) setPlayerHudComponentVisible("health",false) setPlayerHudComponentVisible("breath",false) end
  23. you need to tell exactly your problem, i didn't understand you but as i understand i sent you this,more edit apply set timer. addEventHandler("onPlayerLogin",root,function() if not isElement(source) then return end outputChatBox("Welcome Message.", source, 255, 235, 0, true) end) function ServerMessages1() outputChatBox("Server1.", root, 255, 235, 0, true) setTimer(ServerMessages2,(60000*5),1) end function ServerMessages2() outputChatBox("Server2",root,255,235,0,true) setTimer(ServerMessages3,(60000*5),1) end function ServerMessages3() outputChatBox("Server3", root, 255, 235, 0, true) setTimer(ServerMessages4,(60000*5),1) end
×
×
  • Create New...