Search the Community
Showing results for tags 'object'.
-
https://payhip.com/b/d4ZMU Discount -5$ until 05.03.2023 Any question contact me on Discord: TheDarkQ#1707
-
Hey, there are some objects that are double sided by default, and apparently stay like that even if they have the "doublesided" attribute in a .map file set to false. So when I load those objects myself, the default doublesided attribute is overwritten, since it says false in the map file, which makes them look different to how they are in the SA map. Is there any way to know which objects have this? I couldn't find anything about this neither in the MTA resources nor the MTA source code. Bonsai
-
-
Hi, I want to remove this fence in Map Editor, but I can not. I do not know how to remove it. Please show me a way. (I do not know the Id of this object). https://file.io/aG2uJK2KYaAR https://www.file.io/Xsl3/download/aG2uJK2KYaAR
-
I have one question about client objects, if I use the "TriggerClientEvent" function on the server side script, whether the object that was saved on the client side and will be set with the triggerClientEvent function on the server side, will every player see it and will work in the same way as normally I would call it in the server side script "createObject (object, x, y, z)"? For example, such -- client addEvent("createObject", true) addEventHandler("createObject", root, function(object, x, y, z) createObject(x, y, z) end ) -- server triggerClientEvent(root, "createObject", root, 1372, 0, 0, 5) -- Would that be the same as this? -- server createObject(1372, 0, 0, 5)
-
I've recently found out that onClientColshapeHit triggers only when object's center hit the colshape Functions like getElementsWithinColShape and isElementWithinColShape work on the same principle. It's kinda bad because it affects the whole gamemode i make and makes it impossible to complete. I tried to use isLineOfSightClear function however i should use it on each unit of a single object. 9x9x9 object cause performance loss so this is a bad idea. Is there any other ideas?
- 8 replies
-
- object
- intersection
-
(and 3 more)
Tagged with:
-
So I have a question, I have a model to import but I would like this object was only visible in a specific dimension. How can I do this?
-
I have an object enlarged by 30 times [SetObjectScale ('object', 30.0)] and my problem is when you look, e.g. slightly to the right, the object disappears, and if you turn left, it suddenly appears. It can be fixed, please help!
-
Hello, I made a script wich creates an object with some properties. The problem is when I crash my car with the object, the object breaks. It breaks like a fence. There is some function to make the object invincible to car crashes? I created the object in server-side. Thanks.
-
Hi, I wanna know if there is save objects as assets to reuse again. Im not way too good a scripting and linking scripts and filename. So if someone can create the resource script I'll be happy to Reused my assets I combined like trains, building. Copy and paste say if I wanna make Tokyo by use combine vanilla objects for example.
-
Vendo modelos sacados del fortnite a 2.50$ aquí muestro algunos ejemplos de prueba, puedo sacar el modelo que ustedes quieran para su uso, skins, árboles, autos, muros, escaleras etc, solo lo unico que no se ofrece es riggear skins, más información contacten a https://www.facebook.com/angel.arango.1460693 si compran varios modelos les hagoda oferta para que no gasten tanto dinero o si quieren sacar de algun otro juego entonces contactenme y les ibformoy si es posible
-
Blz Galera! Você pode me ajudar a criar um objeto em um servidor com a capacidade militar, ou seja, onde todos os jogadores podem se locomover ao iniciar novamente uma partida! Alguém pode me dar uma força // ???? ?
-
Hi! My problem is that on the client side the object is seen by only one person who has tried it out and I want everyone to see the object on the server. Client Side: local rx,ry,rz = getElementPosition(getElementData(localPlayer,"cage")) local cx,cy,cz = getVehicleComponentPosition(getElementData(localPlayer,"cage"),"static_p01") local x,y,z = rx + cx, ry + cy+3, 0.8 local a,b = getScreenFromWorldPosition(x,y,z) local magnet = createObject(1301, rx-0.6, ry-5, rz+4, 0, 0, 0) setObjectScale(magnet, 0.3) setElementCollisionsEnabled(magnet, false) moveObject(magnet, 1000*60*1, rx-0.6, ry-5, rz-50) setTimer(function() destroyElement(magnet) local magnet2 = createObject(1301, rx-0.6, ry-5, rz-50, 0, 0, 0) setObjectScale(magnet2, 0.3) setElementCollisionsEnabled(magnet2, false) moveObject(magnet2, 1000*60*1, rx-0.6, ry-5, rz+4) local crate = createObject(1224, rx-0.6, ry-5, rz-50.3, 0, 0, 0) moveObject(crate, 1000*60*1, rx-0.6, ry-5, rz+3.3) setElementCollisionsEnabled(crate, false) setTimer(function() usedMagnet = false end, 1000*60*1, 1) end, 1000*60*1, 1) In principle I should only use this server site: setElementVisibleTo
-
Hi please help me how to make Animated Objects ----------- IDE File : objs 18984, Tube100m5, MatTextures, 299, 0 18985, Tube100m6, MatTextures, 299, 0 end anim 19901, AnimTube, MatTextures, AnimTube, 299, 0 end ---------- how to make this anim for the all objects have MatTextures and how to make it for one object with id and Thank You
-
Olá senhores. Bom, estou precisando fazer um objeto apontar para outro como se ele estivesse fazendo um Look At. Mas não sei como calcular o ângulo da rotação Z com base nas posições. Exemplo. Objeto A está na posição 0, 0, 0. Objeto B está na posição 1, 1, 0. Ilustrações: Aplicando o Look At no Objeto A para o B, deve fazer o objeto A "mirar" no Objeto B, colocando a rotação Z do objeto A em 315. Mas como calculo isso? Obs: A rotação é com base nas posições, não importa a rotação do objB.
-
Hi, Im wondering if there in MTA is any possibility of changing the object texture (on each index) like in the SAMP (in SAMP this function is called SetObjectMaterial). I know that I can use shader for that (its called "UV scripted") and using this shader I can apply images to the specified object on specified index but it forces me to upload images on my server and make it weight so much if I wanna have a lot of materials. So my question is - Can I use GTA SA materials for that, not only uploaded images?
-
So guys, I made my own mod, the DFF and COL file both work fine, but the TXD isn't loading, it returns this error WARNING: UGAmodloader\client.lua:54: Error loading TXD @ 'engineLoadTXD' [objects/chests/chest.txd] I use a modloader from the community, it works fine with the rest of mods, but this one has errors, I think the problem is from the TXD file, can anyone check it? PS: I use .tga files in TXD https://www.upload.ee/files/8647584/chest.txd.html here is the TXD file
-
Hello everyone, I'm basically new to 3Ds Max, I downloaded a 3ds max treasure chest object mod from the web, edited its size the fit the replaced DFF, and the expirted it ignoring the COL file, so when I loaded the mod, nothing happened, not even a single change, the mod is still the same, and a friend of mine told me that the DFF file is blank, it shows nothing in the DFF viewer, Do you know what shall I do ?