src:
	
	
	
		
Use /.w1 [weatherID] in-game to change your weather. I blocked off SetWeather so the server can't change your current weather.(offset: 0xC430; found at 0.3.7 s0beit)
			
			
		Code:
	
	{$CLEO}
0662: "acozer@ugbase.eu"
0B34: samp register_client_command ".w1" to_label @aco_cmd
:placeholder
wait 0
jump @placeholder
:aco_cmd
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B2D: write_samp_memory offset 0xC430 value 0xC390 size 2
    01B6: set_weather 21@
    0AF8: "{FF0000}/.w1: {FFFFFF}Weather changed!" -1
else
    0AF8: "{FF0000}/.w1: {FFFFFF}/.w1 [weatherID]" -1
end
SAMP.CmdRet()
	Use /.w1 [weatherID] in-game to change your weather. I blocked off SetWeather so the server can't change your current weather.(offset: 0xC430; found at 0.3.7 s0beit)