Search the Community
Showing results for tags 'help'.
-
Hi guys, hope you are all good. I am scripting a pretty simple server based on the "play" gamemode, with a couple of mods and i would like to add some bots around the map (plus event/mission like on Arma/Dayz servers). I was scripting around using slothbot and i saw that sometimes the bots are invincible but i didn't give much importance to that because i had to clean my code. Then, i noticed that every bot was invincible. Thinking of a bug in my code, i removed my mods and tryied to create a ped using createPed but they are still invincible. I noted that the only way to kill them is using t
-
I tested the Unlimited-Vehicle-Master: https://github.com/alexaxel705/Unlimited-Vehicle/blob/master/server.lua Even though the author makes the Vehicle Type and the Handling of 411 for all cars. But the car might be made with a S.W.A.T wheel size. So the car looks like floating on the ground. Could anyone be able to change the wheel size if I spawn a car?
-
Доброго времени суток. Данная тема только для умельцев заниматься скриптингом. Очень понравился вот этот данный спидометр:(смотреть с 1:25) - https://www.youtube.com/watch?v=gjw-sCkDBog Но, у меня не хватает навыка создать подобный спидометр. Хотел бы попросить умельцев помочь реализовать данный спидометр. (с) Спасибо.
-
A kérdés a következő lenne, hogy birnék az accountData-ba a játékos által beírt szöveget megadni. Benne van a scriptben amit Worthless is csinált (direkt letöltöttem és bemásoltam azt a részt), de úgy sem jó. local sx, sy = guiGetScreenSize(); local relX, relY = sx/1680, sy/1050; local isPanelVisible = true; local panelState = "1"; -- 1 = Bejelentkezés, 2 = Regisztráció, 3 = Karakter létrehozás showCursor(true); setPlayerHudComponentVisible("all", false); showChat(true); local panelPosition = {0.79, 0.25}; local buttonColors = { [1] = tocolor(210, 155, 65, 150); [2] = tocolor(207, 83,
-
Hey Please Hlp When I'm trying to start the Server It says me to update Mandatory, after update complete It says that to install update, then i click on OK button it closes the game and then extract the downloaded files after extraction, then it stucks and the game is not opening and not responding WHAT I DO PLZ HLP!
-
-- Ez a server oldali script local rigPrice = 50000; function buyMiningRig(player, amount) local money = getPlayerMoney(localPlayer); if (money >= rigPrice) then money - rigPrice outputChatBox("#ffffff[Bitcoin] Sikeresen vettél egy bányászgépet!", 0, 0, 0, true); end end addCommandHandler("buyminingrig", root, buyMiningRig); -- Ez pedig a kliens oldali local maxMiningRigs = 50; local btcPrice = 1500000; local minerToggle = false; local playerBtc = 0; local miningRigs = 0; function mineBtc(howMuch) playerBtc + howMuch; if (minerToggle) then setTimer(mineBtc, 1000, 1, 0.00001
-
locais screenW , screenH = guiGetScreenSize () local exibir_painel = função falsa PainelDX () dxDrawLine (( telaW * 0,3807 ) - 1 , ( telaH * 0,1615 ) - 1 , ( telaW * 0,3807 ) - 1 , telaH * 0,7734 , tocolor ( 237 , 0 , 0 , 245 ), 1 , false ) dxDrawLine ( telaW * 0,6208 , ( telaH * 0,1615 ) - 1 , ( telaW * 0,3807 ) - 1 , ( telaH * 0,1615 ) - 1 , tocolor ( 237 , 0 , 0 , 245 ), 1 , falso ) dxDrawLine (( telaW * 0,3807 ) - 1 , tela H * 0,7734 , telaW * 0,6208 , telaH * 0,7734 , tocolor ( 237 , 0 , 0 , 245 ), 1 , falso ) dxDrawLine ( telaW
-
Anyone can send me a working yt mp3 converter API? Or how to create one, to play music from youtube on my server?
-
could someone help me? I start the MTA, it loads more, the screen does not appear, I have reinstalled it too and it did not work, what can it be? https://pastebin.mtasa.com/455823672 I don't know if that can help I followed that step too https://upload.mtasa.com/u/846096373/Logfile.PML_ it doesn't show any error screens either, I've used malwerebytes, I've reinstalled C ++ and nothing, I can't even play GTA SA I click to start and it won't open, I downloaded the original rockstar games launcher, I've also tried with others from internet and does not work https://imgur.com/a
-
Hello guys, I am hoping someone here can help me to do imposible task. I need vehicle doors to stay open after I enter vehicle. How to do it? Does somebody knows? Thank you very much!
- 5 replies
-
- scripting help
- imposible
-
(and 1 more)
Tagged with:
-
Hello Everyone, Can someone know about how to detect auto keypresses in mtasa, can we kick or something the person who user auto key presser automatically. Hope you give some solution for it.. Thank you.
-
Boa noite, Estou fazendo um sistema de bot que atira na direção do player, esta funcionando tudo certo. Mais ele esta atirando muito para cima, na mesma direção mas, só que para cima, vou enviar uma print mostrando. Qual função posso usar para abaixar o tiro do ped https://ibb.co/s3BMdDX
-
There's a server named FineMTA and I can not connect to it, but can to other servers. I tried to reinstall MTA, with original and cracked GTA:SA, but it's the same problem. My friend sent me his mods files but nothing changed. We talked with the admins and developers of the server but they had no idea what is the problem. Here is a picture of it: https://imgur.com/a/TJEikVU And here is an MTA diagnostic about my client, but I don't think it's the problem: https://pastebin.mtasa.com/506877440
-
alguém sabe me dizer se tem alguma função que faça o player n correr, e sim ficar só no trote normal
-
So i tried to make a script which on client click on gui creates 4 markers randomly selected and to those 4 markers i attached a blip which is deleted with marker on markerhit but the problem i'm having is when the client leaves the vehcile it should destroy all markers and blips attached to it but it only destroys markers and 1 blip. I know my code is messy i'm learning tho ;/ Looking forward for any feedback ;/ Miejsca = { {-2374.76,848.06,40.26}, {-2411.90,917.68,45.58}, {-2503.44,918.54,64.94}, {-2502.92,899.47,64.90}, } Miejsca2 = { {-2175.37,-42.62,35.31},
-
Hi, I hope someone can help me with this question, I would like to display the latest server logs on a website using PHPSDK but I have a question on how to do it efficiently as it will update in real time. any ideas?
-
Im working on a script wich create flames on the Thrusters of a vehicle (Mammoth Thruster of GTA Online), works well if you are the only that has a Thruster, but if someone also has a Thruster and gets out the vehicle, your Thruster will keep the attached elements and will not destroy the flames if you get out of the vehicle: Here is a video of what is happening: https://www.youtube.com/watch?v=Q3z9fdnBG0w and serverside and clientside scripts that are involved Serverside: (Functions for creating the flames) function LightOn(vehicle, x, y, z) if thePlayer ~
- 2 replies
-
- clientside
- server
-
(and 6 more)
Tagged with:
-
when a player(pedestrian) hits a marker(checkpoint , corona ...) ,all his weapons will be removed.
-
Hello , I'm Fars , leader of Run-spirit clan , a Community-clan in ffs server. I'm a Run player. I m in need of a simple script: when a player(pedestrian) hits a marker(checkpoint , corona ...) ,all his weapons will be removed.
-
Hello, so I have a DayZ server, I wonder why my sniper are like these. https://imgur.com/XHE8E6r Sniper is bugged if (getElementData(localPlayer,"currentweapon_1") == "weapon1") then dxDrawImage(0, 0, sW, sH, "images/crosshair/3.png", 0, 0, 0, tocolor(255, 255, 255, 255), true); elseif (getElementData(localPlayer,"currentweapon_1") == "weapon4") then dxDrawImage(0, 0, sW, sH, "images/crosshair/2.png", 0, 0, 0, tocolor(255, 255, 255, 255), true); else
-
Hello, I have a similar functions which activated when the client clicked on the button. Now Im calling they like different functions. addEventHandler("onClientGUIClick", ctrl[1], setCtrl1, false) addEventHandler("onClientGUIClick", ctrl[2], setCtrl2, false) addEventHandler("onClientGUIClick", ctrl[3], setCtrl3, false) I want to call one function when I push the different buttons addEventHandler("onClientGUIClick", ctrl[1], setCtrl, false) addEventHandler("onClientGUIClick", ctrl[2], setCtrl, false) addEventHandler("onClientGUIClick", ctrl[3], setCtrl, false) But al
-
Здравствуйте, недавно появилась задача подключить Google Authenticator на сервер, но я не знаю как создавать токен и получать код по времени, прошу объяснить
- 1 reply
-
- mta
- authenticator
-
(and 2 more)
Tagged with:
-
So I wanted to ask if someone would explain to me how to make my own shaders, I immediately say that I know there is an MTA page with examples but I don't understand anything of them so I prefer someone to explain it to me and what it is and how to create although the easiest script with shaders