All Activity

This stream auto-updates     

  1. Past hour
  2. How can I make the player carry a box? Illustrative image:
  3. Today
  4. تقدر تعطيني مثال؟ عشان انا حولت كثير وما نفعت
  5. السلام عليكم ممكن مساعدة في اظهار واخفاء اليبل ؟ GUIEditor = { button = {}, edit = {}, label = {} } function GUIWIND() GUIEditor.label[1] = guiCreateLabel(556, 310, 850, 474, "", false, GUIEditor.label[1]) GUIEditor.button[1] = guiCreateButton(0.30, 0.68, 0.06, 0.04, "Send", true, GUIEditor.label[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FEFF3737") GUIEditor.edit[1] = guiCreateEdit(0.30, 0.39, 0.14, 0.04, "", true, GUIEditor.label[1]) guiSetAlpha(GUIEditor.edit[1], 0.00) GUIEditor.edit[2] = guiCreateEdit(0.30, 0.51, 0.14, 0.04, "", true, GUIEditor.label[1]) guiSetAlpha(GUIEditor.edit[2], 0.00) GUIEditor.edit[3] = guiCreateEdit(0.52, 0.38, 0.20, 0.24, "", true, GUIEditor.label[1]) guiSetAlpha(GUIEditor.edit[3], 0.40) end
  6. Olá a todos, não sou muito familiarizado com tabelas e estou levando uma surra pra fazer um script de desmanche de veículos. Queria que o valor que o player ganhasse ao desmanchar seria 1/5 do valor que o veículo custa na concessionária, porém não sei por onde começar para fazer isso. A relação de ID > Valor dos veículos é essa: 581 = 10000 468 = 20000 461 = 30000 521 = 30000 586 = 80000 522 = 120000 589 = 4000 587 = 9000 421 = 11000 445 = 13000 496 = 15000 492 = 17000 422 = 20000 405 = 20000 547 = 25000 529 = 30000 426 = 30000 507 = 35000 600 = 35000 551 = 40000 561 = 45000 550 = 45000 516 = 60000 560 = 70000 579 = 90000 458 = 120000 400 = 500000 402 = 650000 415 = 850000 565 = 1300000 451 = 2000000 429 = 3000000 541 = 30000000 Quem puder me ajudar ficarei muito grato, pois estou quase me rendendo ao jeito porco porém mais "fácil" que seria usando 50 elseif getElementModel kkkkkk
  7. Tente assim: if Armamentos == 31 then local stats = ✔ else local stats = ✖ end dxDrawText("M4: "..stats, 105, 218, 216, 240, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, true, false, false)
  8. Olá a todos, não sou muito familiarizado com tabelas e estou levando uma surra pra fazer um script de desmanche de veículos. Queria que o valor que o player ganhasse ao desmanchar seria 1/5 do valor que o veículo custa na concessionária, porém não sei por onde começar para fazer isso. A relação de ID > Valor dos veículos é essa: 581 = 10000 468 = 20000 461 = 30000 521 = 30000 586 = 80000 522 = 120000 589 = 4000 587 = 9000 421 = 11000 445 = 13000 496 = 15000 492 = 17000 422 = 20000 405 = 20000 547 = 25000 529 = 30000 426 = 30000 507 = 35000 600 = 35000 551 = 40000 561 = 45000 550 = 45000 516 = 60000 560 = 70000 579 = 90000 458 = 120000 400 = 500000 402 = 650000 415 = 850000 565 = 1300000 451 = 2000000 429 = 3000000 541 = 30000000 Quem puder me ajudar ficarei muito grato, pois estou quase me rendendo ao jeito porco porém mais "fácil" que seria usando 50 elseif getElementModel kkkkkk
  9. This topic is from 2014. I doubt that he would answer you. Did you tried to make attachment on client-side? If you create object at server-side then no wonder why it's delayed.
  10. @McDeKi Hi! I was wondering if could you fix it. If you did, how? I have the same problem, I use bone attach for taser but when I aim, it's really delayed. Thank you!
  11. Olá, eu estava pensando em como seria incrível um servidor para os scripters de MTA, dividirem conhecimento, conversarem, fazer amizades etc, e eu queria saber se já tem algum servidor de discord já criado para scripters de MTA, conhecido? Caso não tenha, irei criar para todos nós dividirmos conhecimento e tirar duvidas de scripters iniciantes.
  12. Funcionou perfeitamente. E vendo seu codigo vi o meu erro, muito obrigado
  13. Tente: function spawn(player) if player then local carselected = getElementData(player, "CARSelect") if vehSpawn[player] then destroyElement(vehSpawn[player]) end local Money = getPlayerMoney(player) local Valor = 5000 if Money >= Valor then if not carselected then return end -- SE NÃO EXISTIR carselected A FUNÇÃO RETORNARÁ AO FIM! if carselected == 1 then exports.Gunner_MensagensDX:outputDx ( player, "Carro alugado com sucesso!", "success" ) vehSpawn[player] = createVehicle(car1, 262.19952, -3096.83765, 6.45605) takePlayerMoney(player, 5000) elseif carselected == 2 then exports.Gunner_MensagensDX:outputDx ( player, "Carro alugado com sucesso!", "success" ) vehSpawn[player] = createVehicle(car2, 262.19952, -3096.83765, 6.45605) takePlayerMoney(player, 5000) elseif carselected == 3 then exports.Gunner_MensagensDX:outputDx ( player, "Carro alugado com sucesso!", "success" ) vehSpawn[player] = createVehicle(car3, 262.19952, -3096.83765, 6.45605) takePlayerMoney(player, 5000) end else exports.Gunner_MensagensDX:outputDx ( player, "Dinheiro insuficiente!", "error" ) end end end addEvent("GiveCAR", true) addEventHandler("GiveCAR", getRootElement(), spawn)
  14. esse dx tem mais em algum lugar
  15. I have a question, I would like to know if it is possible to make a shot effect, it means that when I hold the M4, it shoots and you can see where these bullets are falling and at what speed, and I would like to recall these bullets. If it is not known what is going on, I did the "M1" weapon model and I would like to make this model as a new weapon, and if the player was holding this M1 then it would have to shoot and the bullets would fall out of the weapon. At the beginning I was thinking about the "CreateWeapon" function but it is possible that there is another option because on average I know this function and if there was any other option it would be great
  16. Yesterday
  17. I always wanted to create a facility on the mars like Elon musk, woho .. that's not possible. I have just imagined how it would be. And i have created the Mars Facility in my dreams and I didn't forget to add some little details on it) FEATURES In this map there are three panels over the map lets you enable/disable the scripts. 1. Irrigation System: there is a script panel in the artifical garden place that lets you watering plants, if you hit the red marker Irrigation system will stop and then if you hit the green marker, it will start to watering plants again. 2. Nexcar Lights ON / OFF: (Bad name i know) there is a panel lets you enable or disable car lights, and it works same as Irrigation system 3. Space Shuttle Control Panel: You can see how it look like on the video, there is a panel let's you control the space shuttle, when you hit green marker, an alarm plays and elevator moves space shuttle into underground. And when you hit Red marker, the elevator will move space shuttle back to surface. Also there is a teleport that lets you move A to B (classic) And there is no camera fade when you have going into the teleport like as in the video. (check the video in the bottom) You can check MAP Sketch here Screenshots Loadbay Outside Nexcar place Artificial Garden Powers Best Regards, Nebla
  18. Olá, estou fazendo um sistema de revistar, lá mostra as armas if Armamentos == 31 then dxDrawText("M4: ✔", 105, 218, 216, 240, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, true, false, false) else dxDrawText("M4: ✖", 105, 218, 216, 240, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, true, false, false) end quando eu não tenho a m4 mostra o segundo dx normal, só que quando eu tenho tá mostrando os dois, alguem sabe o que pode ser?
  19. Bom dia, boa tarde, boa noite. Estou fazendo um painel de alugar carros. Porém quando adicionei as funções de verificar se o player tem dinheiro suficiente , apenas o primeiro carro funciona. O que eu fiz de errado? Codigo: Server Side function spawn(player) if player then local carselected = getElementData(player, "CARSelect") if vehSpawn[player] then destroyElement(vehSpawn[player]) end if carselected then if carselected == 1 then local Money = getPlayerMoney(player) local Valor = 5000 if Money >= Valor then exports.Gunner_MensagensDX:outputDx ( player, "Carro alugado com sucesso!", "success" ) vehSpawn[player] = createVehicle(car1, 262.19952, -3096.83765, 6.45605) takePlayerMoney(player, 5000) else exports.Gunner_MensagensDX:outputDx ( player, "Dinheiro insuficinete!", "error" ) end elseif carselected == 2 then if Money >= Valor then exports.Gunner_MensagensDX:outputDx ( player, "Carro alugado com sucesso!", "success" ) vehSpawn[player] = createVehicle(car2, 262.19952, -3096.83765, 6.45605) takePlayerMoney(player, 5000) else exports.Gunner_MensagensDX:outputDx ( player, "Dinheiro insuficinete!", "error" ) end elseif carselected == 3 then if Money >= Valor then exports.Gunner_MensagensDX:outputDx ( player, "Carro alugado com sucesso!", "success" ) vehSpawn[player] = createVehicle(car3, 262.19952, -3096.83765, 6.45605) takePlayerMoney(player, 5000) else exports.Gunner_MensagensDX:outputDx ( player, "Dinheiro insuficinete!", "error" ) end end end end end addEvent("GiveCAR", true) addEventHandler("GiveCAR", getRootElement(), spawn)
  20. https://community.multitheftauto.com/index.php?p=resources&s=details&id=4574
  21. Key_YT

    Error cl25

    Muchas gracias por ayudarme, ahora ya puedo jugar
  22. Sarrum

    Error cl25

    👋. Your gta_sa.exe is 15,157,760 bytes, but should be 14,383,616 (US 1.0) or 14,386,176 (EU 1.0). Google "HOODLUM GTA: SA 1.0 EXE" and replace that with your current gta_sa.exe.
  23. Welcome to Bancho Hosting Website - Discord - E-Mail Bancho Hosting is a new member on the Server Hosting Market. It's our goal to provide cheap, easy and fast servers for all those who want them. We offer a wide variety of Games and MTA is one of them. Due to the new nature of Bancho we're currently running on an individual, request by request basis. This means we can offer you cheap prices and great speeds while maintaining a good amount of clients while we start up! We use PayPal to handle our subscriptions, this means you can have peace of mind knowing your details are secure, we never gain access to your full financial information! To get started simply join our Discord below and view the price list in our channels. We use Pterodactyl to manage our Servers. You'll get access to your server including File Management and Console Access to ensure you can install whatever you want, whenever you want to make sure your members have a fantastic experience. We also offer Discounts to existing members and cheaper upgrades alongside our dedicated support team. Our prices start at £3.99 per month for 750MB of RAM, No Player Restrictions and No-Cap Storage. We also offer higher plans which are a little more expensive but provide all the resources you need to get started! You can order a plan by visiting our Discord and following the Order Process. It's super easy and allows you to tell us exactly what YOU need to make your server exactly how you want it! Just click the Discord Icon below!
  24. local screenH, screenW = guiGetScreenSize() local x,y = (screenH/1366),(screenW/768) local effect = { alpha = 0, tick = getTickCount(), state = false } function pdx() local progress = math.min((getTickCount()-effect.tick)/3000,1) if effect.state then effect.alpha = interpolateBetween(effect.alpha,0,0,1,0,0,progress,"Linear") else effect.alpha = interpolateBetween(effect.alpha,0,0,0,0,0,progress,"Linear") if progress >= 0.9 then removeEventHandler("onClientRender",root,pdx) end end dxDrawRectangle(x*300,y*221,x*323,y*248,tocolor(0,0,0,255*effect.alpha)) end function abrirdx() effect.state = not effect.state effect.tick = getTickCount() showCursor(effect.state) if effect.state then removeEventHandler("onClientRender",root,pdx) addEventHandler("onClientRender",root,pdx) end end bindKey("x","down",abrirdx) não testei
  25. под "решить" я подразумеваю как убрать игрока или сделать что бы его не было видно
  26. Key_YT

    Error cl25

    Ayuda me aparece esto: https://prnt.sc/thk1ah y luego esto : https://prnt.sc/thk23p, necesito ayuda no puedo jugar por este error https://pastebin.mtasa.com/996520294
  1. Load more activity