aboutsummaryrefslogtreecommitdiff
path: root/builtin/client/cheats/render.lua
blob: dc3f712471098b6f345f929b746a1b1e63f101bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
core.register_list_command("xray", "Configure X-Ray", "xray_nodes") 
core.register_list_command("search", "Configure NodeESP", "node_esp_nodes") 

core.register_on_spawn_particle(function(particle)
	if core.settings:get_bool("noweather") and particle.texture:sub(1, 12) == "weather_pack" then
		return true
	end
end)

core.register_on_play_sound(function(sound)
	if core.settings:get_bool("noweather") and sound.name == "weather_rain" then
		return true
	end
end)