Need a tester that uses CLEO 4.3!
My CLEO version is 4.1
/.w <weatherID> to change your weather.
Tested in
>> Localhost
>> Pilot's Life
Needs
>> SAMPFuncs 3.2
>> Cleo 4.1 (can anyone test @ 4.3?)
My CLEO version is 4.1
/.w <weatherID> to change your weather.
Tested in
>> Localhost
>> Pilot's Life
Needs
>> SAMPFuncs 3.2
>> Cleo 4.1 (can anyone test @ 4.3?)
Code:
{$CLEO}
0662: "re]b0ot_ | ugbase.eu"
0B34: samp register_client_command ".w" to_label @REBOOT_UGBASE_42
// 0xB4F0 - SetWeather
:REBOOT_UGBASE_39
wait 0
jump @REBOOT_UGBASE_39
:REBOOT_UGBASE_42
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B2D: write_samp_memory offset 0xB4F0 value 0xC390 size 2
01B6: set_weather 21@
print "~g~Weather changed!" 2000
else
print "~r~/.w <weatherID>" 2000
end
SAMP.CmdRet()