amirmahdi
Members-
Posts
52 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
amirmahdi's Achievements
Snitch (10/54)
3
Reputation
-
This is the reason why I just want the texture of the watch to appear – it's part of the character custom system where the side can have a few types of watches with different textures, so I want the watch to appear only when it has texture.
-
hello Look at the photo below, this watch doesn't have texture in its txd file, and that's why it's turned white, what should I do to make this watch invisible as long as it doesn't have texture in its txd? https://i.paste.pics/KPIRD.png I'm using Blender.
-
I use the same source for all my .map files It means that all the .map files are all in one folder and one meta I understand your meaning that your script takes all map objects, both mapped and default. If so, how can I determine that your script only gets the folder that has all the .map files I mentioned above?
- 27 replies
-
- repository
- draw
-
(and 8 more)
Tagged with:
-
Hello, is there a way to remove fps drops? This resource is very useful But all players get FPS between 30 and 38 When I stop your resource, FPS increases significantly The fps limit of my server is 75
- 27 replies
-
- repository
- draw
-
(and 8 more)
Tagged with:
-
For the car lights, I don't know exactly what engine was used, I only know that the .fx file was used The road textures are also from the .fx file , jpg file is used to replace the road texture Using engineApplyShaderToWorldTexture
-
Please someone help
-
Hello friends, I use the following resource, which makes the light of the car show with better pixels dl_vehicles | Multi Theft Auto | Community But there is a problem That this light can only be seen on the game's default textures For example, in the photo below, I have changed the texture of the streets of the game, but the light of the car cannot be seen But the light of the car can be seen on the default texture of the street Is there a way to solve this problem, for example editing the fx file or anything that will solve the problem?
-
I Solved thanks for @Tails @AngelAlpha here is my code idx = {} newArray = {} createBlip(0,0,0,10,2,255,255,255) createBlip(100,100,100,10,2,255,255,255) createBlip(200,200,200,10,2,255,255,255) createBlip(400,400,400,1,2,255,255,255) createBlip(300,300,300,1,2,255,255,255) for k, v in ipairs(getElementsByType("blip")) do local id = getBlipIcon(v) table.insert(idx,{iconid1=id,element1=v}) end local function inArray(arr, elemesnt) for _, value in ipairs(arr) do if value.iconid == elemesnt then return true end end return false end local function removeDuplicates(arr,same) for i, elemesnt in ipairs(arr) do if not inArray(newArray, elemesnt.iconid1) then table.insert(newArray, {iconid=elemesnt.iconid1,element=elemesnt.element1}) end end end addCommandHandler("removedup",function() removeDuplicates(idx,10) setTimer(function() for _, elemesnt in ipairs(newArray) do outputChatBox(tostring(elemesnt.iconid)) --output is --10 --1 end end,2000,1) end)
-
Thanks for the help But it returns false Thanks for the help But this program destroys all blips with ID 10 I actually want to For example, if we have made 10 blips in the map And 5 of them have ID icon 10 and the other 5 have different ID icon. Our output will be as follows createBlip(0,0,0,10) createBlip(0,0,0,10) createBlip(0,0,0,10) createBlip(0,0,0,10) createBlip(0,0,0,10) createBlip(0,0,0,2) createBlip(0,0,0,7) createBlip(0,0,0,5) createBlip(0,0,0,15) createBlip(0,0,0,26) for i,v in ipairs(getElementsByType("blips")) do local id = getBlipIcon(v) outputChatBox("ID Icon : "..id) end --output -- ID Icon : 10 -- ID Icon : 10 -- ID Icon : 10 -- ID Icon : 10 -- ID Icon : 10 -- ID Icon : 2 -- ID Icon : 7 -- ID Icon : 5 -- ID Icon : 15 -- ID Icon : 26 But I want the output to be as follows createBlip(0,0,0,10) createBlip(0,0,0,10) createBlip(0,0,0,10) createBlip(0,0,0,10) createBlip(0,0,0,10) createBlip(0,0,0,2) createBlip(0,0,0,7) createBlip(0,0,0,5) createBlip(0,0,0,15) createBlip(0,0,0,26) for i,v in ipairs(getElementsByType("blips")) do local id = getBlipIcon(v) outputChatBox("ID Icon : "..id) end --output -- ID Icon : 10 -- ID Icon : 2 -- ID Icon : 7 -- ID Icon : 5 -- ID Icon : 15 -- ID Icon : 26 The program removed blips with the same icon id !!!
-
hi guys I am trying to get all the blips using the following code for i,v in ipairs(getElementsByType("blips")) do -- todo end My problem is that I don't want to get repeated blips For example, if we make 2 blips with ID icon 10 using the 'createBlip' function, it will output this icon twice. createBlip(0,0,0,10) createBlip(1,1,1,10) for i,v in ipairs(getElementsByType("blips")) do local id = getBlipIcon(v) outputChatBox("ID Icon : "..id) --If these two blips are the only blips mad --It becomes our output . . . -- ID Icon : 10 -- ID Icon : 10 end I don't want it to receive blips with the same ID icon, that is, if we have 5 blips with ID icon 10, give us only one of the 5.
-
Yes they did say the ping server is pretty good and low. And this is true because I also checked the ping server on speedtest.net and it gave me ping 11 and that's good. But the problem is that the ping of all the players on the server is above 100 And this problem is only on MTA For example, in the Minecraft server, which was set up on the same virtual server, players get the appropriate ping between 20 and 30. But MTA is not like that!
-
No, this skin is the same as the skin game. However, this problem occurs even on replaced skins. No animation for shooting No one has encountered such a problem so far Yes, I reinstalled the game but the problem was not solved. The rest of the servers did not have the same problem
-
Hi, I set up an mta server on a virtual server, but all players ping over 100. I pinged my virtual server using the speed test site and the result was 11. And I also tested my own ping and got ping 8 What should I do, the firewall and antivirus server are also turned on. Virtual server information 16 GB RAM 4 CORE
-
Hello When I shoot, my skin looks like this And it is interesting that when I press Alt + Tab and enter the game screen again, there is no more news about this bug, but when I shoot it, it is found. https://pasteboard.co/foW5Ttj2Gikh.png -- Photo bug I really have no idea. My only concern is that this bug happened to all players and I hope this is a problem from my system, not the server. What do you think ?
-
Hello brother, I have a question, do you think it would be better if I use zip instead of folder? Of course, I know I have trouble editing the code, but it does not matter, if we do not consider this problem, zip is a better choice?