addEventHandler("onClientResourceStart", localPlayer, isInvisable) invisable = function() if guiCheckBoxGetSelected(invischk) == true then triggerServerEvent("noalpha", getRootElement(), localPlayer) else triggerServerEvent("noalpha1", getRootElement(), localPlayer) end end
addEventHandler("onClientGUIClick", invischk, invisable, false) carDamage = function() if isPedInVehicle(localPlayer) == true then if guiCheckBoxGetSelected(vehgodchk) == true then triggerServerEvent("cardamage", getRootElement(), localPlayer) else triggerServerEvent("nodamage", getRootElement(), localPlayer) end else guiCheckBoxSetSelected(vehgodchk, false) end end
addEventHandler("onClientGUIClick", vehgodchk, carDamage, false) inviscar = function() if isPedInVehicle(localPlayer) == true then if guiCheckBoxGetSelected(vehivischk) == true then triggerServerEvent("nocaralpha", getRootElement(), localPlayer) else triggerServerEvent("nocaralpha1", getRootElement(), localPlayer) end else guiCheckBoxSetSelected(vehivischk, false) end end
addEventHandler("onClientGUIClick", vehivischk, inviscar, false) velo = function() local l_7_0 = guiCheckBoxGetSelected(velocidade) if l_7_0 then setGameSpeed(3) elseif not l_7_0 then setGameSpeed(1) end end
addEventHandler("onClientGUIClick", velocidade, velo, false) JetPack = function() if guiCheckBoxGetSelected(jetpack) == true then triggerServerEvent("jetpack", getRootElement(), localPlayer) else triggerServerEvent("jetpack1", getRootElement(), localPlayer) end end
addEventHandler("onClientGUIClick", getRootElement(), closeabout, false) guiackapa = function() if guiGetVisible(MisterWindow) then guiSetVisible(MisterWindow, false) showCursor(false) else guiSetVisible(MisterWindow, true) showCursor(true) local l_13_0 = playSound("Arquivos/open.wav") setSoundVolume(l_13_0, 8.5) end end
Question
NOCIVO_D3D
I need to put the engines , tanks and tires on my nrg in DayZ MODE!
Already tried everything , help pls!
Painelmg_c.lua (client)
Link to comment
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now