GUIEditor = {
checkbox = {},
label = {},
timer = nil
}
local f1State = false
local guiVisible = false
addEventHandler("onClientResourceStart", resourceRoot,
function()
-- Create GUI elements but hide them initially
GUIEditor.label[1] = guiCreateLabel(341, 118, 130, 14, "Disable deathmatch", false)
GUIEditor.checkbox[1] = guiCreateCheckBox(325, 117, 17, 17, "", false, false)
addEventHandler("onClientGUIClick", GUIEditor.checkbox[1], checkBox, false)
-- Hide GUI initially
guiSetVisible(GUIEditor.label[1], false)
guiSetVisible(GUIEditor.checkbox[1], false)
I would like to know if someone could help me to make when I activate Disable deathmatch this disabled hydra hunter rhino
Rustler so that it cannot shoot when Disable deathmatch is activated
I've been trying to make it work but I didn't succeed someone could create it and so it took a weight off my shoulders
and thank you very much