-
Posts
928 -
Joined
-
Last visited
-
Days Won
63
Everything posted by eoL Shady
-
hello MTA community, I have a question, MTA background image change would be nice
-
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
-
https://imgur.com/a/wPgRbqr
-
Nice work, I wish you continued success.
-
you can thank me for helping @Polak0
-
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 )
-
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.
-
Hello Neffax,what you wanna do?
-
@LeonardoWilliams guiGetText(v.edit) Try.
-
there is a problem with the file links
-
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.
-
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
-
Sorry for the first information I gave, you can use this command int engineRequestModel ( string elementType [, int parentID ] )
-
hi, i sent you a link, can you check it? https://wiki.multitheftauto.com/wiki/CreateObject
-
Contact via DM.
-
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..
-
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 )
-
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?
- 1 reply
-
- 1
-
-
w0w, nice script, i will try this
-
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
