Jump to content

eoL Shady

Members
  • Posts

    928
  • Joined

  • Last visited

  • Days Won

    63

Everything posted by eoL Shady

  1. eoL Shady

    drop item

    can you give some more information or code
  2. hello MTA community, I have a question, MTA background image change would be nice
  3. I like the system, but it may not be preferred in terms of price, if you can consider a price reduction, maybe a few people can evaluate it
  4. https://imgur.com/a/wPgRbqr
  5. Nice work, I wish you continued success.
  6. you can thank me for helping @Polak0
  7. Hello Polak0,Unfortunately, you cannot create a rideable vehicle on the server side at the moment, but you can do it on the client side. local id_sultan addEventHandler("onClientResourceStart", resourceRoot, function() id_sultan = engineRequestModel("vehicle", 411) local txd = engineLoadTXD("sultan.txd") engineImportTXD(txd, id_sultan) local dff = engineLoadDFF("sultan.dff") engineReplaceModel(dff, id_sultan) outputDebugString("Custom sultan id: "..id_sultan) end ) addCommandHandler ("sultan", function () triggerServerEvent("requestCreateCustomSultan", root, id_sultan) end) addEvent("createCustomSultan", true) addEventHandler("createCustomSultan", root, function() createVehicle(id_sultan, 0, 0, 3) end ) this is sample code. server : addEvent("requestCreateCustomSultan", true) addEventHandler("requestCreateCustomSultan", root, function() triggerClientEvent(root, "createCustomSultan", root) end )
  8. This is not the script request section, you have to do it yourself, if there is an error, let us know,we can fix your file.
  9. Hello Neffax,what you wanna do?
  10. @LeonardoWilliams guiGetText(v.edit) Try.
  11. there is a problem with the file links
  12. 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.
  13. 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
  14. look, elements have dimensions,your way of thinking is wrong,Do you want the object to appear?
  15. 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
  16. Do you want to change the interior of the player? because dimension and interior are different things
  17. if you tell me exactly what you want i can help, explain it nicely.
  18. Sorry for the first information I gave, you can use this command int engineRequestModel ( string elementType [, int parentID ] )
  19. hi, i sent you a link, can you check it? https://wiki.multitheftauto.com/wiki/CreateObject
  20. Contact via DM.
  21. 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..
  22. 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 )
  23. 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?
  24. w0w, nice script, i will try this
  25. 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
×
×
  • Create New...