Resource icon

CLEO Release /.w command | Change your weather [TESTED]

CLEO related
Status
Not open for further replies.

re]b0ot_

Active member
Joined
Jul 10, 2014
Messages
25
Reaction score
0
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?)

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()
 

Attachments

  • .w.cs
    17.8 KB · Views: 517

LuchoK

Active member
Joined
Dec 20, 2013
Messages
116
Reaction score
0
Re: [CLEO] /.w command | Change your weather [TESTED]



[align=center]It's great, thank you!
btw, i tested with CLEO 4.3 - SMP 3.2 and it works good  :forever_hurra:

 
D

Deleted member 14777

Guest
Re: [CLEO] /.w command | Change your weather [TESTED]

Is this only for your screen or for everyone, So everyone sees the weather change? :computer_guy:
 

re]b0ot_

Active member
Joined
Jul 10, 2014
Messages
25
Reaction score
0
Re: [CLEO] /.w command | Change your weather [TESTED]

Changes player weather only.
 

rottentwinkie

Moderator
Moderator
Joined
Apr 4, 2014
Messages
608
Reaction score
2
Re: [CLEO] /.w command | Change your weather [TESTED]

b0ot_ link=topic=8755.msg50614#msg50614 date=1406553563]
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?)

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()

Good damn work man!
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Re: [CLEO] /.w command | Change your weather [TESTED]

Nice mod, keep it up  :urtheman:
 

iAnthony

Moderator
Moderator
Joined
Nov 15, 2013
Messages
590
Reaction score
3
Re: [CLEO] /.w command | Change your weather [TESTED]

I've been looking for something like this. I hate when admins try to blind me with these bright weather
 

S.T.A.R.K

New member
Joined
Aug 4, 2014
Messages
1
Reaction score
0
Re: [CLEO] /.w command | Change your weather [TESTED]

:bawww: I Got Error Sir

SA-MP 0.3z
Exception At Address: 0x00466672
Base: 0x02BD0000

Registers:
EAX: 0x0C640194 EBX: 0x00000001 ECX: 0x016FE5F0 EDX: 0x00000001
ESI: 0x016FE5F0 EDI: 0x016FFB10 EBP: 0x0023FD98 ESP: 0x0023FCE8
EFLAGS: 0x00010246

Stack:
+0000: 0x016FE5F0  0x016FE5F0  0x0023FD00  0x60332F0E
+0010: 0x00000000  0x016FE5F0  0x0023FD0C  0x0023FD88
+0020: 0x00837D3B  0xFFFFFFFF  0x00469FF7  0x00000039
+0030: 0x016FE5F0  0x00000000  0x603304CF  0x016F9E08
+0040: 0x016FE5F0  0x0046A220  0xA806047E  0x0000007F
+0050: 0x0023FD98  0x00000001  0x00000011  0x0023FD88
+0060: 0x008376BC  0xFFFFFFFF  0x0053C136  0x0000001A
+0070: 0xA80603EB  0x00000000  0x0000001A  0xA80603EB
+0080: 0x02B007B8  0x02C35B5D  0x0000001A  0xA80603EB
+0090: 0x00000000  0x75909FD7  0x0023FD70  0x0023F874
+00A0: 0x0023FF7C  0x02C80AA4  0x02CA2EB0  0x00000001
+00B0: 0x75909FD7  0x0053E986  0x0070FA53  0x0070FA53
+00C0: 0x0000000A  0x0053ECC2  0x0070FA53  0x00619B71
+00D0: 0x0000001A  0x0070FA53  0x0070FA53  0x0000000A
+00E0: 0x00748DA0  0x0000001A  0x0070FA53  0x75A7174A
+00F0: 0x00000000  0x0023FF8C  0x7FFD8000  0x01750000
+0100: 0x4F2805F9  0x01750EC8  0x00000008  0x00000100
+0110: 0x00000008  0x00000102  0x43C80000  0x43960000
+0120: 0x00000000  0x00000000  0x00000320  0x00000258
+0130: 0x00000000  0x00000001  0x0019085E  0x00000200
+0140: 0x00000000  0x012C0190  0x001B74EE  0x00000190
+0150: 0x0000012C  0x0000002C  0x0023FE30  0x00825EA4
+0160: 0x0023FF7C  0x00825EA4  0x75A7174A  0x7FFD8000
+0170: 0x00821D17  0x00835342  0x00000065  0x0023FF8C
+0180: 0x008246F1  0x00400000  0x00000000  0x0195234D
+0190: 0x0000000A  0x00000094  0x00000006  0x00000002
+01A0: 0x000023F0  0x00000002  0x00000000  0x00000000
+01B0: 0x00000000  0x00000000  0x00000000  0x00000000
+01C0: 0x00000000  0x00000000  0x00000000  0x00000000
+01D0: 0x00000000  0x00000000  0x00000000  0x00000000
+01E0: 0x00000000  0x00000000  0x00000000  0x00000000
+01F0: 0x00000000  0x00000000  0x00000000  0x00000000
+0200: 0x00000000  0x00000000  0x00000000  0x00000000
+0210: 0x00000000  0x00000000  0x00000000  0x00000000
+0220: 0x00000000  0x00824588  0x00000000  0x00000000
+0230: 0x7FFD8000  0xC0000005  0x00000000  0x0195234D
+0240: 0x00000044  0x01965688  0x01965DB0  0x01965010
+0250: 0x00000000  0x00000000  0x00000000  0x00000000
+0260: 0x00000000  0x00000000  0x00000000  0x00000000
+0270: 0x00000000  0x00000000  0xFFFFFFFF  0xFFFFFFFF

SCM Op: 0x446, lDbg: 0 LastRendObj: 0

Game Version: US 1.0
 

roybal3

Active member
Joined
Feb 15, 2014
Messages
57
Reaction score
0
Re: [CLEO] /.w command | Change your weather [TESTED]

update 0.3.7 please , sir
 

PoeticGangster

Active member
Joined
Mar 18, 2014
Messages
157
Reaction score
2
Re: [CLEO] /.w command | Change your weather [TESTED]

Useful for when its foggy weather and your dming.
 

roybal3

Active member
Joined
Feb 15, 2014
Messages
57
Reaction score
0
Re: [CLEO] /.w command | Change your weather [TESTED]

update 0.3.7 please bro
 

Olcay

Active member
Joined
Dec 1, 2014
Messages
31
Reaction score
0
Re: [CLEO] /.w command | Change your weather [TESTED]

marty000123 link said:
Is this only for your screen or for everyone, So everyone sees the weather change? :computer_guy:

If you want change everyone's weather. Use pawno.
 

Schinko

Active member
Joined
Mar 5, 2013
Messages
187
Reaction score
1
Re: [CLEO] /.w command | Change your weather [TESTED]

Doesn't work for me, the weather just stays for like 3 seconds, than the serverside-weather id is active again
 
Status
Not open for further replies.
Top