local function canUseELS(ply, ent, type)  if hook.Call("VC_canUseELS", GAMEMODE, ply, ent, type) == false then VCPopup("AccessRestricted", "cross") return false end  return true end  concommand.Add("vc_els_manual", function(ply, cmd, arg)  local ent, HA = ply:GetVehicle(), tonumber(arg[1]) if !HA then HA = 0 end   if IsValid(ent) and ent.VC_IsNotPrisonerPod then  local on = VC.GetState(ent, "ELS_ManualOn")  if HA == 2 or HA == 0 and on then  if !canUseELS(ply, ent, "manual_off") then return end  VC.ELS_ManualOff(ent)  else  if !canUseELS(ply, ent, "manual_on") then return end  VC.ELS_ManualOn(ent)  end  end end)   concommand.Add("vc_els_lights", function(ply) local ent = ply:GetVehicle() if IsValid(ent) and !canUseELS(ply, ent, "lights_cycle") then return end VC.ELS_Lht_Cycle(ent) end) concommand.Add("vc_els_lights_onoff", function(ply) local ent = ply:GetVehicle() if IsValid(ent) and ent.VC_IsNotPrisonerPod then if VC.GetState(ent, "ELS_L_Disabled") then if !canUseELS(ply, ent, "lights_on") then return end VC.ELS_LightsOn(ent) else if !canUseELS(ply, ent, "lights_off") then return end VC.ELS_LightsOff(ent) end end end) concommand.Add("vc_els_sound", function(ply) local ent = ply:GetVehicle() if IsValid(ent) and !canUseELS(ply, ent, "siren_cycle") then return end VC.ELS_Snd_Cycle(ent) end) concommand.Add("vc_els_sound_onoff", function(ply) local ent = ply:GetVehicle() if IsValid(ent) and ent.VC_IsNotPrisonerPod then if VC_DFO11a33504e893f8f7c471c32458e6a5b7iGm(ent).Siren and VC_DFO11a33504e893f8f7c471c32458e6a5b7iGm(ent).Siren.Sounds then if !VC.GetState(ent, "ELS_S_Disabled") then if !canUseELS(ply, ent, "siren_off") then return end VC.ELS_SoundOff(ent) else if !canUseELS(ply, ent, "siren_on") then return end VC.ELS_SoundOn(ent) end end end end) local rs7 = "vc.check_msg_work_ALS_k4" 