You are not logged in.
Pages: 1
Hey,
I found a very nice speedometer on the internet, but it also has got a gasoline mod.
Your cars run out of gas very quickly with this mod.
I wondered if someone could edit the CLEO script so that only the speedometer would work, and not the gasoline mod.
Here's a link to the GSN Mod: http://yelmi.com/modules/files/showfile.php?lid=29
Thanks in advantage!
Offline
Hey,
I found a very nice speedometer on the internet, but it also has got a gasoline mod.
Your cars run out of gas very quickly with this mod.
I wondered if someone could edit the CLEO script so that only the speedometer would work, and not the gasoline mod.
Here's a link to the GSN Mod: http://yelmi.com/modules/files/showfile.php?lid=29
Thanks in advantage!
open gasoline_NEW.cs with sannybuilder
and search for this entry:
10@ > 0
should be at linenumber 81 or 82
replace the 10@ with 33@
33@ > 0
Offline
This code for my speedometer:
{$CLEO .cs} 0000: NOP :Noname_2 0001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @Noname_2 00D6: if and 00DF: actor $PLAYER_ACTOR driving 0038: $ONMISSION == 0 004D: jump_if_false @Noname_2 00D6: if 84C8: not actor $PLAYER_ACTOR driving_flying_vehicle 004D: jump_if_false @Noname_2 077E: get_active_interior_to $Active_Interior 00D6: if 0038: $Active_Interior == 0 004D: jump_if_false @Noname_2 00D6: if and 00DF: actor $PLAYER_ACTOR driving 0038: $ONMISSION == 0 004D: jump_if_false @Noname_2 03C0: 8@ = actor $PLAYER_ACTOR car 046C: 26@ = car 8@ driver 00D6: if 003B: 26@ == $PLAYER_ACTOR // (int) 004D: jump_if_false @Noname_2 0391: release_txd_dictionary 0390: load_txd_dictionary "GASOLINE" 038F: load_texture "SPEEDOM" as 1 // Load dictionary with 0390 first 038F: load_texture "STRELK" as 2 // Load dictionary with 0390 first :Noname_3277 0001: wait 0 ms 0A8D: 28@ = read_memory 11989093 size 1 virtual_protect 0 00D6: if 8039: not 28@ == 1 004D: jump_if_false @Noname_3554 077E: get_active_interior_to $Active_Interior 00D6: if 0038: $Active_Interior == 0 004D: jump_if_false @Noname_3619 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @Noname_3619 00D6: if 00DB: actor $PLAYER_ACTOR in_car 8@ 004D: jump_if_false @Noname_3619 03F0: enable_text_draw 1 02E3: 23@ = car 8@ speed 0013: 23@ *= 3.56 0092: 27@ = float 23@ to_integer 000B: 23@ += 68.0 03E0: unknown_text_draw_flag 1 0341: unknown_text_draw_flag 1 0340: set_text_draw_RGBA 180 180 180 255 033F: set_text_draw_letter_size 0.6 2.4 045A: draw_text_1number 36.55 420.333 GXT 'NUMBER' number 27@ // ~1~ 03E3: set_texture_to_be_drawn_antialiased 1 038D: draw_texture 1 position 133.6 322.0 size 266.0 256.0 RGBA 255 255 255 255 03E3: set_texture_to_be_drawn_antialiased 1 074B: draw_texture 2 position 89.5 384.0 scale 200.0 200.0 angle 23@ color_RGBA 255 255 255 255 :Noname_3554 00D6: if or 0118: actor $PLAYER_ACTOR dead 0119: car 8@ wrecked 004D: jump_if_false @Noname_3582 0002: jump @Noname_3619 :Noname_3582 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @Noname_3619 00D6: if 80DB: not actor $PLAYER_ACTOR in_car 8@ 004D: jump_if_false @Noname_3277 :Noname_3619 0001: wait 1250 ms 0002: jump @Noname_2
and Jasper
{$CLEO .cs} 0000: NOP :Noname_2 0001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @Noname_2 00D6: if and 00DF: actor $PLAYER_ACTOR driving 0038: $ONMISSION == 0 004D: jump_if_false @Noname_2 00D6: if 84C8: not actor $PLAYER_ACTOR driving_flying_vehicle 004D: jump_if_false @Noname_2 077E: get_active_interior_to $Active_Interior 00D6: if 0038: $Active_Interior == 0 004D: jump_if_false @Noname_2 00D6: if and 00DF: actor $PLAYER_ACTOR driving 0038: $ONMISSION == 0 004D: jump_if_false @Noname_2 03C0: 8@ = actor $PLAYER_ACTOR car 046C: 26@ = car 8@ driver 00D6: if 003B: 26@ == $PLAYER_ACTOR // (int) 004D: jump_if_false @Noname_2 0391: release_txd_dictionary 0390: load_txd_dictionary "GASOLINE" 038F: load_texture "SPEEDOM" as 1 // Load dictionary with 0390 first 038F: load_texture "STRELK" as 2 // Load dictionary with 0390 first :Noname_3277 0001: wait 0 ms 0A8D: 28@ = read_memory 11989093 size 1 virtual_protect 0 00D6: if 8039: not 28@ == 1 004D: jump_if_false @Noname_3554 077E: get_active_interior_to $Active_Interior 00D6: if 0038: $Active_Interior == 0 004D: jump_if_false @Noname_3619 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @Noname_3619 00D6: if 00DB: actor $PLAYER_ACTOR in_car 8@ 004D: jump_if_false @Noname_3619 03F0: enable_text_draw 1 02E3: 23@ = car 8@ speed 0013: 23@ *= 3.56 0092: 27@ = float 23@ to_integer 000B: 23@ += 68.0 03E0: unknown_text_draw_flag 1 0341: unknown_text_draw_flag 1 0340: set_text_draw_RGBA 180 180 180 255 033F: set_text_draw_letter_size 0.6 2.4 045A: draw_text_1number 36.55 420.333 GXT 'NUMBER' number 27@ // ~1~ 03E3: set_texture_to_be_drawn_antialiased 1 038D: draw_texture 1 position 126.5 385.0 size 262.5 226.0 RGBA 255 255 255 255 03E3: set_texture_to_be_drawn_antialiased 1 074B: draw_texture 2 position 90.5 385.0 scale 262.5 226.0 angle 23@ color_RGBA 255 255 255 255 :Noname_3554 00D6: if or 0118: actor $PLAYER_ACTOR dead 0119: car 8@ wrecked 004D: jump_if_false @Noname_3582 0002: jump @Noname_3619 :Noname_3582 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @Noname_3619 00D6: if 80DB: not actor $PLAYER_ACTOR in_car 8@ 004D: jump_if_false @Noname_3277 :Noname_3619 0001: wait 1250 ms 0002: jump @Noname_2
Offline
Pages: 1