Small & short questions

Monstercat

Well-Known Member
Joined
Feb 26, 2013
Messages
281
Likes
1
Points
66
Website
www.loadingmods.blogspot.de
Hey how i can fix this bug... how i can fix that the car HP come up random in the screen.
Code:
{$CLEO .cs}
0000:
0662: NOP "#########################"
0662: NOP "___Made by Opcode.eXe___"
0662: NOP "Www.Youtube.Com/OpcodeXe"
0662: NOP "#########################"
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED445' [email protected] //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 [email protected] "Health: ~1~%"
 
 
[email protected] = 0
while true
wait 0
    if
    0ADC:  test_cheat "CARDL"
    then
        if
        [email protected] == 0
        then
            0ACD: show_text_highpriority "Car-HP On." time 1337
            018C: play_sound 1083 at 0.0 0.0 0.0
            [email protected] = 1
        else
            0ACD: show_text_highpriority "Car-HP Off." time 1337
            018C: play_sound 1084 at 0.0 0.0 0.0
            [email protected] = 0
            0A92: create_custom_thread "Car-HP Indicator.cs"
            End_Thread
        end
    end
    if
    [email protected] == 1
    then
        0A8D: [email protected] = read_memory 0xB74494 size 4 virtual_protect 0
        [email protected] += 0x4
        0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0
        for [email protected] = 0 to 27904 step 0x100
            0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
            000A: [email protected] += 0x1
            if and
                0029: [email protected] >= 0x00
                001B: 0x80 > [email protected]
            then
                005A: [email protected] += [email protected]
                0227: [email protected] = car [email protected] health
                [email protected] /= 10
                if
                80DF: not  actor $PLAYER_ACTOR driving
                then
                    0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0
                    04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
                    050A: [email protected] = distance_between_XYZ [email protected] [email protected] [email protected] and_XYZ [email protected] [email protected] [email protected]
                    0AB1: call_scm_func @getScreenXYFrom3DCoords 3 3D_coords_X [email protected] Y [email protected] Z [email protected] store_screen_X_to [email protected] Y_to [email protected]
                    if
                        [email protected] < 20.0
                    then
                        03F0: enable_text_draw 1
                        0342: set_text_draw_centered 1
                        03E0: draw_text_behind_textures 0
                        033F: set_text_draw_letter_size width 0.17 height 0.77
                        081C: draw_text_outline 1 RGBA 0 0 0 255
                        0340: set_text_draw_RGBA 0 255 0 255
                        045A: draw_text_1number [email protected] [email protected] GXT 'CRED445' number [email protected]  //
                    end
                end                   
            end
        end
    end
end
 
 
:getScreenXYFrom3DCoords
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AA5: call 0x70CE30 num_params 6 pop 6 {[email protected] [email protected]} 0 0 [email protected] [email protected] [email protected] [email protected]
0007: [email protected] = 640.0
0007: [email protected] = 448.0
0A8D: [email protected] = read_memory 0xC17044 size 4 virtual_protect 0
0A8D: [email protected] = read_memory 0xC17048 size 4 virtual_protect 0
0093: [email protected] = integer [email protected] to_float
0093: [email protected] = integer [email protected] to_float
0073: [email protected] /= [email protected]
0073: [email protected] /= [email protected]
006B: [email protected] *= [email protected]
006B: [email protected] *= [email protected]
0AB2: ret 2 [email protected] [email protected]
http://img5.fotos-hochladen.net/uploads/samp06190wz7rhnve.png
 

springfield

Well-Known Member
Staff member
Joined
Feb 18, 2005
Messages
2,952
Likes
58
Points
98
Website
www.ugbase.eu
10
Code:
{$CLEO .cs}
0000:
0662: NOP "#########################"
0662: NOP "___Made by Opcode.eXe___"
0662: NOP "Www.Youtube.Com/OpcodeXe"
0662: NOP "#########################"
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED445' [email protected] //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 [email protected] "Health: ~1~%"
03F0: enable_text_draw 1 
 
[email protected] = 0
while true
wait 0
    if
    0ADC:  test_cheat "CARDL"
    then
        if
        [email protected] == 0
        then
            0ACD: show_text_highpriority "Car-HP On." time 1337
            018C: play_sound 1083 at 0.0 0.0 0.0
            [email protected] = 1
        else
            0ACD: show_text_highpriority "Car-HP Off." time 1337
            018C: play_sound 1084 at 0.0 0.0 0.0
            [email protected] = 0
            0A92: create_custom_thread "Car-HP Indicator.cs"
            End_Thread
        end
    end
    if
    [email protected] == 1
    then
        0A8D: [email protected] = read_memory 0xB74494 size 4 virtual_protect 0
        [email protected] += 0x4
        0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0
        for [email protected] = 0 to 27904 step 0x100
            0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
            000A: [email protected] += 0x1
            if and
                0029: [email protected] >= 0x00
                001B: 0x80 > [email protected]
            then
                005A: [email protected] += [email protected]
                0227: [email protected] = car [email protected] health
                [email protected] /= 10
                if
                80DF: not  actor $PLAYER_ACTOR driving
                then
                    0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0
                    04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
                    0509: [email protected] = distance_between_XY [email protected] [email protected] and_XY [email protected] [email protected]
                    0AB1: call_scm_func @getScreenXYFrom3DCoords 3 3D_coords_X [email protected] Y [email protected] Z [email protected] store_screen_X_to [email protected] Y_to [email protected]
                    if
                        [email protected] < 20.0
                    then
                        0342: set_text_draw_centered 1
                        03E0: draw_text_behind_textures 0
                        033F: set_text_draw_letter_size width 0.17 height 0.77
                        081C: draw_text_outline 1 RGBA 0 0 0 255
                        0340: set_text_draw_RGBA 0 255 0 255
                        045A: draw_text_1number [email protected] [email protected] GXT 'CRED445' number [email protected]  //
                    end
                end                   
            end
        end
    end
end
 
 :getScreenXYFrom3DCoords
0AA7: call_function 0x70CE30 num_params 6 pop 6 clipNear 1 clipFar 1 yMult [email protected] xMult [email protected] outVector [email protected] inVector [email protected] result [email protected]
0073: [email protected] /= [email protected]
0073: [email protected] /= [email protected]
0073: [email protected] /= [email protected]
0073: [email protected] /= [email protected]
[email protected] *= 640.0
[email protected] *= 448.0
0AB2: ret 2 [email protected] [email protected]
 

springfield

Well-Known Member
Staff member
Joined
Feb 18, 2005
Messages
2,952
Likes
58
Points
98
Website
www.ugbase.eu
10
Code:
{$CLEO .cs}
0000:
0662: NOP "#########################"
0662: NOP "___Made by Opcode.eXe___"
0662: NOP "Www.Youtube.Com/OpcodeXe"
0662: NOP "#########################"
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED445' [email protected] //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 [email protected] "Health: ~1~%"
 
 
[email protected] = 0
while true
wait 0
    if
    0ADC:  test_cheat "CARDL"
    then
        if
        [email protected] == 0
        then
            0ACD: show_text_highpriority "Car-HP On." time 1337
            018C: play_sound 1083 at 0.0 0.0 0.0
            [email protected] = 1
        else
            0ACD: show_text_highpriority "Car-HP Off." time 1337
            018C: play_sound 1084 at 0.0 0.0 0.0
            [email protected] = 0
            0A92: create_custom_thread "Car-HP Indicator.cs"
            End_Thread
        end
    end
    if
    [email protected] == 1
    then
        0A8D: [email protected] = read_memory 0xB74494 size 4 virtual_protect 0
        [email protected] += 0x4
        0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0
        for [email protected] = 0 to 27904 step 0x100
            0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
            000A: [email protected] += 0x1
            if and
                0029: [email protected] >= 0x00
                001B: 0x80 > [email protected]
            then
                005A: [email protected] += [email protected]
                0227: [email protected] = car [email protected] health
                [email protected] /= 10
                if
                80DF: not  actor $PLAYER_ACTOR driving
                then
                    0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0
                    04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
                    050A: [email protected] = distance_between_XYZ [email protected] [email protected] [email protected] and_XYZ [email protected] [email protected] [email protected]
                    0AB1: call_scm_func @getScreenXYFrom3DCoords 3 3D_coords_X [email protected] Y [email protected] Z [email protected] store_screen_X_to [email protected] Y_to [email protected]
                    if
                        [email protected] < 20.0
                    then
                        03F0: enable_text_draw 1
                        0342: set_text_draw_centered 1
                        03E0: draw_text_behind_textures 0
                        033F: set_text_draw_letter_size width 0.17 height 0.77
                        081C: draw_text_outline 1 RGBA 0 0 0 255
                        0340: set_text_draw_RGBA 0 255 0 255
                        045A: draw_text_1number [email protected] [email protected] GXT 'CRED445' number [email protected]  //
                    end
                end                   
            end
        end
    end
end
 
 
:getScreenXYFrom3DCoords
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AA5: call 0x70CE30 num_params 6 pop 6 1 1 [email protected] [email protected] [email protected] [email protected]
0007: [email protected] = 640.0
0007: [email protected] = 448.0
0A8D: [email protected] = read_memory 0xC17044 size 4 virtual_protect 0
0A8D: [email protected] = read_memory 0xC17048 size 4 virtual_protect 0
0093: [email protected] = integer [email protected] to_float
0093: [email protected] = integer [email protected] to_float
0073: [email protected] /= [email protected]
0073: [email protected] /= [email protected]
006B: [email protected] *= [email protected]
006B: [email protected] *= [email protected]
0AB2: ret 2 [email protected] [email protected]
 

springfield

Well-Known Member
Staff member
Joined
Feb 18, 2005
Messages
2,952
Likes
58
Points
98
Website
www.ugbase.eu
10
Code:
{$CLEO .cs}
0000:
0662: NOP "#########################"
0662: NOP "___Made by Opcode.eXe___"
0662: NOP "Www.Youtube.Com/OpcodeXe"
0662: NOP "#########################"
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED445' [email protected] //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 [email protected] "Health: ~1~%"
 
 
[email protected] = 0
while true
wait 0
    if
    0ADC:  test_cheat "CARDL"
    then
        if
        [email protected] == 0
        then
            0ACD: show_text_highpriority "Car-HP On." time 1337
            018C: play_sound 1083 at 0.0 0.0 0.0
            [email protected] = 1
        else
            0ACD: show_text_highpriority "Car-HP Off." time 1337
            018C: play_sound 1084 at 0.0 0.0 0.0
            [email protected] = 0
            0A92: create_custom_thread "Car-HP Indicator.cs"
            End_Thread
        end
    end
    if
    [email protected] == 1
    then
        0A8D: [email protected] = read_memory 0xB74494 size 4 virtual_protect 0
        [email protected] += 0x4
        0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0
        for [email protected] = 0 to 27904 step 0x100
            0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
            000A: [email protected] += 0x1
            if and
                0029: [email protected] >= 0x00
                001B: 0x80 > [email protected]
            then
                005A: [email protected] += [email protected]
                0227: [email protected] = car [email protected] health
                [email protected] /= 10
                if
                80DF: not  actor $PLAYER_ACTOR driving
                then
                    0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0
                    04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
                    050A: [email protected] = distance_between_XYZ [email protected] [email protected] [email protected] and_XYZ [email protected] [email protected] [email protected]
                    0AB1: call_scm_func @getScreenXYFrom3DCoords 3 3D_coords_X [email protected] Y [email protected] Z [email protected] store_screen_X_to [email protected] Y_to [email protected]
                    if
                        [email protected] < 20.0
                    then
                        03F0: enable_text_draw 1
                        0342: set_text_draw_centered 1
                        03E0: draw_text_behind_textures 0
                        033F: set_text_draw_letter_size width 0.17 height 0.77
                        081C: draw_text_outline 1 RGBA 0 0 0 255
                        0340: set_text_draw_RGBA 0 255 0 255
                        045A: draw_text_1number [email protected] [email protected] GXT 'CRED445' number [email protected]  //
                    end
                end                   
            end
        end
    end
end
 
 
:getScreenXYFrom3DCoords
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AC7: [email protected] = var [email protected] offset
0AA5: call 0x70CE30 num_params 6 pop 6 0 1 [email protected] [email protected] [email protected] [email protected]
0007: [email protected] = 640.0
0007: [email protected] = 448.0
0A8D: [email protected] = read_memory 0xC17044 size 4 virtual_protect 0
0A8D: [email protected] = read_memory 0xC17048 size 4 virtual_protect 0
0093: [email protected] = integer [email protected] to_float
0093: [email protected] = integer [email protected] to_float
0073: [email protected] /= [email protected]
0073: [email protected] /= [email protected]
006B: [email protected] *= [email protected]
006B: [email protected] *= [email protected]
0AB2: ret 2 [email protected] [email protected]
sorry, i'm sleepy
 
Joined
May 11, 2014
Messages
7
Likes
0
Points
1
1
Sorry if I sound like a dumby here but kinda new to cleos  :sweet_jesus:

I remember back when I used FUGGA with the old 0.3x and I was so stupid that I tried shouting FUGGA in the chat box to activate it.  :eek:key:

i got banned cuz they knew what i was trying to do  :face_palm:

how do you activate .cs's that require you to "write" something? I can never find where to write it.. shouting FUGGA didn't work obviously. do i just press the keys? is there a cheat console i don't know about? thanks  :urtheman:


also: FUGGA obviously doesn't work anymore for 0.3z but I'm also talking about other .cs's i may download that will require me to write stuff. thanks for the help  :somuchwin:
 

Ben3759

Well-Known Member
Joined
Dec 14, 2013
Messages
106
Likes
0
Points
66
DerekTheFerret link said:
Sorry if I sound like a dumby here but kinda new to cleos  :sweet_jesus:

I remember back when I used FUGGA with the old 0.3x and I was so stupid that I tried shouting FUGGA in the chat box to activate it.  :eek:key:

i got banned cuz they knew what i was trying to do  :face_palm:

how do you activate .cs's that require you to "write" something? I can never find where to write it.. shouting FUGGA didn't work obviously. do i just press the keys? is there a cheat console i don't know about? thanks  :urtheman:


also: FUGGA obviously doesn't work anymore for 0.3z but I'm also talking about other .cs's i may download that will require me to write stuff. thanks for the help  :somuchwin:
just press they keys in order just like a cheat in singleplayer
 
Joined
May 11, 2014
Messages
7
Likes
0
Points
1
1
Ben3759 link said:
[quote author=DerekTheFerret link=topic=3788.msg41320#msg41320 date=1400288500]
Sorry if I sound like a dumby here but kinda new to cleos  :sweet_jesus:

I remember back when I used FUGGA with the old 0.3x and I was so stupid that I tried shouting FUGGA in the chat box to activate it.  :eek:key:

i got banned cuz they knew what i was trying to do  :face_palm:

how do you activate .cs's that require you to "write" something? I can never find where to write it.. shouting FUGGA didn't work obviously. do i just press the keys? is there a cheat console i don't know about? thanks  :urtheman:


also: FUGGA obviously doesn't work anymore for 0.3z but I'm also talking about other .cs's i may download that will require me to write stuff. thanks for the help  :somuchwin:
just press they keys in order just like a cheat in singleplayer
[/quote]

Never works  :kidding:


its like if a .cs file needs me to "write" the word WHAT


i press W ( i move forward)

i press H ( nothing )

I press A ( I move to the right)

I press T (my chat opens)


the .cs file does not execute
 

Ben3759

Well-Known Member
Joined
Dec 14, 2013
Messages
106
Likes
0
Points
66
DerekTheFerret link said:
[quote author=Ben3759 link=topic=3788.msg41321#msg41321 date=1400289060]
[quote author=DerekTheFerret link=topic=3788.msg41320#msg41320 date=1400288500]
Sorry if I sound like a dumby here but kinda new to cleos  :sweet_jesus:

I remember back when I used FUGGA with the old 0.3x and I was so stupid that I tried shouting FUGGA in the chat box to activate it.  :eek:key:

i got banned cuz they knew what i was trying to do  :face_palm:

how do you activate .cs's that require you to "write" something? I can never find where to write it.. shouting FUGGA didn't work obviously. do i just press the keys? is there a cheat console i don't know about? thanks  :urtheman:


also: FUGGA obviously doesn't work anymore for 0.3z but I'm also talking about other .cs's i may download that will require me to write stuff. thanks for the help  :somuchwin:
just press they keys in order just like a cheat in singleplayer
[/quote]

Never works  :kidding:


its like if a .cs file needs me to "write" the word WHAT


i press W ( i move forward)

i press H ( nothing )

I press A ( I move to the right)

I press T (my chat opens)


the .cs file does not execute
[/quote]
i dont think it works with a word that has T in it also do you have cleo 4?
 
Joined
May 11, 2014
Messages
7
Likes
0
Points
1
1
springfield link said:
[quote author=Ben3759 link=topic=3788.msg41321#msg41321 date=1400289060]
just press they keys in order just like a cheat in singleplayer
Press TAB, then just write the word on your keyboard.
[/quote]

omg :somuchwin: thanks ill try it  :eek:h_stop_it_u:
 

0x688

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,057
Likes
42
Points
98
DrunkkJDM link said:
There exist any money cheat\hack\script?
depends on many things, mainly NO it's serversided go find a server bug.
 

springfield

Well-Known Member
Staff member
Joined
Feb 18, 2005
Messages
2,952
Likes
58
Points
98
Website
www.ugbase.eu
10
Depends on how many mods you got. (If you have only textures use 512, if you have all textures, skins, cars, weapons modded etc. use 2048)
 
Top