-
Posts
906 -
Joined
-
Last visited
-
Days Won
61
Everything posted by Shady1
-
If there is another topic, you can open a new topic, I am ready to help 24/7. fun games
-
hi ๖ۣۜζ͜͡RapGod, i want to help you with this i will give you some code you should try this. function toggleWindow() if(guiGetVisible(panelWindow) == false) then guiSetVisible(panelWindow, true) showCursor(true) else guiSetVisible(panelWindow, false) showCursor(false) end end bindKey("o", "down", toggleWindow) You can check if the panel is visible with guiGetVisible() no variable needed
-
I'm too late to write this message but happy birthday anyway I will stay more interactive with the mta forum site from now on.
-
I recommend it, it's a really nice project, llYAMA Well done.
-
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.
-
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
-
look, elements have dimensions,your way of thinking is wrong,Do you want the object to appear?
-
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
-
Do you want to change the interior of the player? because dimension and interior are different things
-
if you tell me exactly what you want i can help, explain it nicely.
-
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.