-
Posts
318 -
Joined
-
Last visited
Everything posted by Big Smoker
-
vi esse sistema que vc envio acima, tem um pequeno detalhe... pelo comando usando / ou pelo console o sistema funciona mais quando voce faz uma BindKey EX: /bind 0 quit (colocando o quit na tabela) o comando funciona e isso faz com que o jogador use o comando novamente.. Sera que tem algum evento ou função que possa usar nisso também? desculpa me intrometer
-
mtadayz {Help} GuisetText = guiCreateEdit
Big Smoker replied to Big Smoker's topic in Programação em Lua
Eu nao Sabia qual era o português, mais enfim nesse sistema a minha intenção era.. quando vc digita no "guiCreateEdit" e coloca-se mais de 20 letras ele nao ia mais deixar digitar no "guiCreateEdit" OPS: Aquele 10 é um text que eu fiz -
Esse script eu fiz tentando Para o guiCreateEdit quando tive-se chegado a 20 caracterios no text.. so que nao bloqueia o text quando chega a 10 caracterios pode me ajuda?
-
Good Morning I need a help on a Crosshair system is a sniper aiming system, some must know it I want to put a blocking function to appear when the player jumps, why when he jumps the crosshair is in front. .. already tried putting a system isClientBindKey more did not work also the bug continues ... what should I do? What did i do wrong in it? can you help me? thank you function on_weapon_aimed(key,state) if (pressed) then return end outputChatBox("off") if getPedWeapon(getLocalPlayer())== 34 then if state == "down" then weap1 = getElementData(getLocalPlayer(),"currentweapon_2") for i,weaponData in pairs(weaponTable)do if weap1 == weaponData[1] then cross = CH[weap1] end end setPlayerHudComponentVisible("crosshair",false) addEventHandler("onClientHUDRender",getRootElement(),render_crosshair) else cross = false removeEventHandler("onClientHUDRender",getRootElement(),render_crosshair) end end end addEventHandler( "onClientKey", getRootElement(),function(button,press) if button == "lsfhit" then pressed = true outputChatBox("ON") setTimer(function() pressed = false end, 50000, 1) end end)
-
I need a help in a Spwan script when it is born .. I am trying to make a system that appears the nick of the player that killed, only case died alone does not appear Look at the script below Please do not know where to errando .. script works only That when the player kills does not appear his nickname only appears that he died I need to know where I'm wrong and how to fix this I'm waiting for an answer .. I've been trying to get this all day By: ~Baido
-
dataTables.lua Login.lua Spwan.lua Script level patent .lua ==> Client This is to functions the Spawn.lua is that buga when you die and displaces the count to be reborn
-
I do not think so. I think I did the wrong script so I asked for help.
-
Good evening, I need help in Level and XP system, this is a bug not only in XP and Level but when it dies .. the Bug is so when you die has 7 Seconds to be able to be reborn .. only if you move in the middle of it or Disclaimer when I get shot ... when you log in again the game will be bugged, not showing the level ... Summarizing this bugado and I'm already 2 weeks trying to solve this bug and I can not and I decided without on the Wiki can help to help me To solve the Bug I did some systems to try to correct (I do not know much of .lua plus I know the basics) I do some level system and tried to make it look like more did not work .. I do not know if it's right, but I tried to do it myself A system that makes see any player Level and XP of it .. Please I need help in this if it is wrong to correct me please because I want to learn this the system that I did was this function(_, acc) if (acc) then if (getAccountData(acc, "level") ~= 0) and (getAccountData(acc, "experience") ~= 0) then setElementData(source, "level", getAccountData(acc, "level")) setElementData(source, "experience", getAccountData(acc, "experience"))) end end ) Or show me a system that I can put in to make an analysis of when the Player logs in to check the level and his patent eg "Level" and "experience" OPS: When the Player is Born bugged, neither Level nor XP (the Hud in dxDrawText) and the Level goes from 1 to 105 .. I just decided to open a help here on the Wiki because I no longer know what I can do .. Baido ~
-
I need a help in this script that I had saved only that it's half bugged and I can not adjust it and it's set rate for MTA DAYZ that you put a number Ex: (I put number 55, all with number 55 will appear on the GPS) Appears in the GPS only to disable the GPS does not work I wanted to put the number 0 to deactivate the set rate. Thank you in advance - Open the window SetGPSRateWindow = guiCreateWindow(0.42,0.45,0.08,0.13,"Set GPS Rate",true) guiWindowSetSizable(SetGPSRateWindow,false) guiSetVisible(SetGPSRateWindow,false) GPSRate = guiCreateEdit(0.10,0.25,0.81,0.25,"",true,SetGPSRateWindow) SetGPSRate = guiCreateButton(0.10,0.61,0.81,0.29,"Set",true,SetGPSRateWindow) guiSetFont(SetGPSRate,"default-bold-small") guiSetProperty(SetGPSRateWindow,"AlwaysOnTop","True") - Function setting rate addEventHandler("onClientGUIClick",getResourceRootElement(getThisResource()),function() if source == SetGPSRate then rate = guiGetText(GPSRate) if rate ~= "" and tonumber(rate) then guiSetVisible(SetGPSRateWindow,false) setElementData(getLocalPlayer(),"GPSChannel",rate) else outputChatBox("Type a number!") end end end) Att ~ Baido
-
Create a Blip that shows only to the Player who died
Big Smoker replied to Big Smoker's topic in Scripting
Thank you very much, it helped me a lot! Good night, I'm trying to create a gate script too, but I want to make one that makes a mark and only opens the door when the player is inside ... when the player enters inside the mark the gate opens and then closes. . Can someone help me? In case I want to do this for an elevator I need to put in the map of my server ... and putting a gate by command will not work well there I need an automatic THANK YOU FROM AFTER Att ~Baido -
Good night, I'm trying to create a gate script too, but I want to make one that makes a mark and only opens the door when the player is inside ... when the player enters inside the mark the gate opens and then closes. . Can someone help me? In case I want to do this for an elevator I need to put in the map of my server ... and putting a gate by command will not work well there I need an automatic THANK YOU FROM AFTER Att ~ Baido
-
Good night, I'm trying to create a gate script too but I want to make one that makes a mark and only opens the door when the player is inside ... when player enters inside the mark the gate opens and then it closes .. someone can help me? In case I want to do this for an elevator that I need to put on the map of my server ... and putting a gate by command is not going to work right there I need an automatic THANK YOU FROM ANOTHER Att ~Baido
-
Hi, I need the same help, plus my help is the following I want a blip to appear only for 1 player in case the blip appears showing the place where he died, I did it this way to appear blip ---------------------------------------------------------------------------------- PedCol = createColSphere (x, y, z, 1.5) killPed (ped) plblip = createBlip (x, y, z, 19) --- Here's Blip setTimer (destroyDeadPlayer, 2700000,1, ped, pedCol, plblip ------------------------------------------------------------------------------------ This is a part of the function I am using, I want to put just to appear the blip of the body of the player who died, without others also seeing ... from now thank you THANK YOU Att, ~ Baido
-
I need a help with AC Panel, I need to block some mod or Bug that is making the player cross the base wall and steal their vehicles or even mess it up like I do to block some hack or GTA Mod Thanks from now on Att. ~ Baido
-
I need help, I've done everything to tidy this lag, I did an update in the dayz my server, there added collect these things, with all protection, over there when I went spear on my server I always update the console, but this time ta very laggy, as reaches 3 players on the server starts in laga in and is the hosting was not already made the switch 3 machines to see it Would anyone HELP ME PLEASE !!
-
Multi Theft Auto: San Andreas 1.5.3 is almost ready, but needs more testing
Big Smoker replied to jhxp's topic in News
Oi preciso informa uma coisa, com essa atualização da 1.5.3 esta a vendo muito lag de internet e não é minha maquina ela está normal não ta a vendo ataque ddos nem nada mais la dentro do servidor fica lagando um monte não sei por qual motivo HELP!!- 37 replies
-
- public testing
- release announcement
- (and 4 more)