Markeloff
Members-
Posts
230 -
Joined
-
Last visited
Everything posted by Markeloff
-
Hello, Can anyone explains for me (give me an example) how to use properly fetchRemote to download two files(txd,dff) and replace a vehicle model with the downloaded files. Thank you, I'm pretty sure that the best answer will help hundred of scripters to handle fetchRemote and download problems.
-
showPlayerHudComponent(all,false)
-
For scale, I use screen height or weight to multiply with? That way is working for dx rectangles and lines?
-
Hello, I need help with screen sizes stuffs, I want tips and ways on howto make gui and dx fit on every resolutions. About the wiki, I already tested the ways there. They can't help me doing what I need. I really need help. Here is what I did, local sX,sY = guiGetScreenSize() dxDrawText("Test", sX*(267/1024), sY*(94/768), sX, sY, tocolor(135, 248, 236, 223), relativeWidth*3.00, "pricedown", "left", "top", false, false, true, false, false) or this local screenWidth, screenHeight = guiGetScreenSize() local relativeWidth, relativeHeight = screenWidth / 1024, screenHeight / 768 dxDrawText("Test", relativeWidth*267, relativeHeight*94, relativeWidth, relativeHeight, tocolor(r[1], g[1], b[1], 255), 1.30, fa, "left", "top", false, false, true, false, false) Btw, I use the same ways for every dx and gui elements.
-
Resource : https://community.multitheftauto.com/in ... ils&id=672 How to use : https://wiki.multitheftauto.com/wiki/Slothman/Slothbot
-
Same, no sound. EDIT : facepalm (forgot that MTA Volume in settings is 0) Anyway, thanks.
-
I need help in my small test script here. The sound doesn't play. function play() local sound = playSound("http://5.175.139.93:80/Fire.mp3") setSoundVolume(sound, 1) end addEventHandler("onClientResourceStart", getLocalPlayer(), play) playSound doesn't work with http web server or what?
-
Put your heart, mind, intellect and soul even to your smallest acts. This is the secret of success, good job guys.
-
Hello, When I ban someone and he tries to connect the famous ban window appears. I want to cancel it and let him join the game. I hope someone can help me to find a solution because I couldn't.
-
Every good server has haters.. and Haters gonna hate.
-
https://community.multitheftauto.com/in ... tails&id=9 Put this in your server, refresh and start.
-
The problem isn't that, anyway I used toJSON and fromJSON to save weapons. It's working.
-
Hello everyone, "The double ammo story" This topic is being repeated many times, I got rid of the howto. I'm stuck, no ways, no solutions. Its really annoying spending hours on figuring it out. Let's start, this topic goes into two larges parts and every part has a question. So, it's all about the save ways in mta. It's not the problem of sqlite or mysql. The problem made me crazy. I want to save the weapons of the player on two bigs events : onPlayerQuit, onPlayerWasted .. Now, loading the data is more harder even.. After finding my bug which was saving weapons and load it onPlayerSpawn. Well, onPlayerLogin is sort of onPlayerSpawn. I have no idea now how to load the data when player wasted. Besides, using onPlayerSpawn for getting the weapons on the event onPlayerWasted makes the bug of double ammo when onPlayerLogin. In this case, I got the weapons and the ammo + onPlayerSpawn ammo bug.. And here we go, getPedTotalAmmo bug comes, the values return to the unwanted values which makes the bug hard to find. To sum up, any solution to load data onPlayerWasted excluding onPlayerSpawn event solution.. Now, the part "why not?" I wanted that MTA Team automatically saves weapons onPlayerWasted and load it onPlayerSpawn. So, we don't need to save it. For players who won't use it, they can use takeWeapon.. Thanks for reading.
-
Thanks for replying. I got the idea. Well, the problem is that when the player reconnect he got double ammo.
-
Hello, Any idea how to make a limit for ammo which will carry the player. For example : M4 5000 bullets as max. Grenades 500 as max. Thank you.
-
xCore Servers | High quality hosting solutions
Markeloff replied to xCore Servers's topic in Hosting solutions
Trusted, great company. -
Hello, My question is how to download skins, vehicles mods when the player wants to, but not onClientResourceStart. I want to make the player choose what he wants to download.
-
Post your meta.xml
-
Stop going off-topic. Even .lua can mean that it's compiled. Sometimes this problem happens with any gamemode. I've just restarted my machine, try to restart your VPS.
-
Restart the VPS. Start the mta server again. If the problem still existing, try to change the ports. Or clear the ip between ..
-
Search on google for a gift texture.
-
Worked, thanks.
-
I have a table in a table. A big table which contains the skins table. like that {x,y,z,weapon,{255,287,289}}
