LOST100293 Posted December 6, 2018 Share Posted December 6, 2018 (edited) Hello, I would like to ask you to combine these two modifications into one so that it is 2 in one. And for adding on / off options. By using the HOME key (on-screen display). Thank you in advance! Ps. The counter does not work installed directly on the cleo, it works only if we pass it through the modloader in the form: modloader / mod / cleo / file with counters.cs. In addition, I would like both fashions to be written in one font, one of the names of districts. I apologize for my language, written by a translator. Want: 1. 2 modes in 1 file 2. turn on / off for the HOME button - after pressing mod / disappears to enter ss etc. Thank you in advance! 1: Quote // ------------- MAIN --------------- 9 @ = 0 11 @ = 0 12 @ = 0 15 @ = 1 17 @ = 0 0000: NOP : NONAME_37 wait 0 if lub 9 @ == 1 11 @ == 1 12 @ == 1 15 @ == 0 else_jump @ NONAME_91 03F0: enable_text_draw 0 jump @ NONAME_136 : NONAME_91 if and not Actor.Driving ($ PLAYER_ACTOR) 00E1: player $ PLAYER_CHAR pressed_key 4 else_jump @ NONAME_125 03F0: enable_text_draw 0 jump @ NONAME_136 :NONAME_125 03F0: enable_text_draw 1 gosub @NONAME_143 :NONAME_136 jump @NONAME_37 :NONAME_143 if [email protected] == 0 gosub @NONAME_223 if 05AD: s$93 == 'LA' // s$ == short 05AD: s$93 == 'SF' // s$ == short 05AD: s$93 == 'VE' // s$ == short gosub @NONAME_253 jump @NONAME_221 :NONAME_221 return :NONAME_223 Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected]) 0843: get_zone_at [email protected] [email protected] [email protected] nameA_to s$93 // 8-byte string return :NONAME_253 03E0: draw_text_behind_textures 1 033F: set_text_draw_letter_size 0.3 1.2 0343: set_text_draw_linewidth 640.0 081C: draw_text_outline 1 RGBA 0 0 0 255 033E: set_draw_text_position 115.0 412.0 GXT s$93 return 0842: [email protected] = player $PLAYER_CHAR town_number 2: Quote // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} //-------------MAIN--------------- 0000: NOP 0342: set_text_draw_centered 1 033F: set_text_draw_letter_size 1 0.5 0340: set_text_draw_RGBA 255 255 255 255 081C: draw_text_outline 1 RGBA 0 0 0 255 03F0: enable_text_draw 0 thread 'SPEEDO' :SPEEDO_57 wait 0 if and Player.Defined($PLAYER_CHAR) Actor.Driving($PLAYER_ACTOR) else_jump @SPEEDO_57 03F0: enable_text_draw 1 jump @SPEEDO_93 :SPEEDO_93 $CAR = Actor.CurrentCar($PLAYER_ACTOR) $CAR_HP = Car.Health($CAR) 06AC: $ACTOR_SPEED = actor $PLAYER_ACTOR movement_speed $ACTOR_SPEED *= 3.22384 008C: $SPEED_DIGITAL = float $ACTOR_SPEED to_integer 045A: draw_text_1number 115.0 392.0 GXT 'SP_EED' number $SPEED_DIGITAL 045A: draw_text_1number 115.0 402.0 GXT 'HP' number $CAR_HP if 04C8: actor $PLAYER_ACTOR driving_flying_vehicle else_jump @SPEEDO_249 0819: $ALTITUDE_ACTOR = actor $PLAYER_ACTOR distance_from_ground $ALTITUDE_ACTOR += -1.0 008C: $ALTITUDE = float $ALTITUDE_ACTOR to_integer 045A: draw_text_1number 115.0 382.0 GXT 'ALTI' number $ALTITUDE : SPEEDO_249 wait 0 if lub Actor.Dead ($ PLAYER_ACTOR) 0741: actor $ PLAYER_ACTOR odpadł nie Aktor.Driving ($ PLAYER_ACTOR) else_jump @ SPEEDO_93 03F0: enable_text_draw 0 wait 4000 jump @ SPEEDO_57 download http://www.mediafire.com/file/n1id44elyqvv176/mods.rar/file Edited December 11, 2018 by LOST100293 Link to comment Share on other sites More sharing options...