CLEO Speedometers v1.0

Теперь в игре будет 3 разновидности спидометров. Один спидометр для машин, второй спидометр для мотоциклов. А третий спидометр сделал просто так, это спидометр для "такси".

speed.cs

{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP
0A95: enable_thread_saving

:NONAME_4
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
$ACTIVE_INTERIOR == 0
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
84A7: not actor $PLAYER_ACTOR driving_boat
847A: not actor $PLAYER_ACTOR driving_bike
not Actor.DrivingTaxiVehicle($PLAYER_ACTOR)
else_jump @NONAME_4
0811: 1@ = actor $PLAYER_ACTOR used_car
0390: load_txd_dictionary "SPEED"
038F: load_texture "STRELK" as 15 // Load dictionary with 0390 first
038F: load_texture "CIF" as 16 // Load dictionary with 0390 first
038F: load_texture "CIFN" as 17 // Load dictionary with 0390 first
038F: load_texture "STRELKN" as 18 // Load dictionary with 0390 first
038F: load_texture "GLASSC" as 19 // Load dictionary with 0390 first
wait 1000
jump @NONAME_136

:NONAME_136
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
$ACTIVE_INTERIOR == 0
else_jump @NONAME_592
00BF: 12@ = current_time_hours, 13@ = current_time_minutes
if and
12@ >= 6
20 > 12@
else_jump @NONAME_364
02E3: 2@ = car 1@ speed
2@ *= 4.0
03F0: enable_text_draw 0
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 16 position 559.0 372.0 size 141.0 125.0 RGBA 255 255 255 255
03E3: set_texture_to_be_drawn_antialiased 1
074B: draw_texture 15 position 559.0 372.0 scale 141.0 125.0 angle 2@ color_RGBA 255 255 255 255
if
03C9: car 1@ damaged
else_jump @NONAME_136
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 19 position 559.0 372.0 size 141.0 125.0 RGBA 255 255 255 255
jump @NONAME_136

:NONAME_364
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
$ACTIVE_INTERIOR == 0
else_jump @NONAME_592
00BF: 12@ = current_time_hours, 13@ = current_time_minutes
if or
12@ >= 20
6 > 12@
else_jump @NONAME_136
02E3: 2@ = car 1@ speed
2@ *= 4.0
03F0: enable_text_draw 1
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 17 position 559.0 372.0 size 141.0 125.0 RGBA 255 255 255 255
03E3: set_texture_to_be_drawn_antialiased 1
074B: draw_texture 18 position 559.0 372.0 scale 141.0 125.0 angle 2@ color_RGBA 255 255 255 255
if
03C9: car 1@ damaged
else_jump @NONAME_364
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 19 position 559.0 372.0 size 141.0 125.0 RGBA 255 255 255 255
jump @NONAME_364

:NONAME_592
wait 0
03F0: enable_text_draw 0
0391: release_textures
jump @NONAME_4


speedmoto.cs

{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP
0A95: enable_thread_saving

:NONAME_4
wait 0
if and
047A: actor $PLAYER_ACTOR driving_bike
$ACTIVE_INTERIOR == 0
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
84A7: not actor $PLAYER_ACTOR driving_boat
not Actor.DrivingTaxiVehicle($PLAYER_ACTOR)
jf @NONAME_4
0811: 1@ = actor $PLAYER_ACTOR used_car
0390: load_txd_dictionary "SPEEDM"
038F: load_texture "STRELK" as 15 // Load dictionary with 0390 first
038F: load_texture "CIF" as 16 // Load dictionary with 0390 first
038F: load_texture "CIFN" as 17 // Load dictionary with 0390 first
038F: load_texture "STRELKN" as 18 // Load dictionary with 0390 first
038F: load_texture "GLASSC" as 19 // Load dictionary with 0390 first
wait 2500
jump @NONAME_132

:NONAME_132
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
$ACTIVE_INTERIOR == 0
jf @NONAME_588
00BF: 12@ = current_time_hours, 13@ = current_time_minutes
if and
12@ >= 6
20 > 12@
jf @NONAME_360
02E3: 2@ = car 1@ speed
2@ *= 4.0
03F0: enable_text_draw 0
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 16 position 550.0 360.0 size 191.25 170.0 RGBA 255 255 255 255
03E3: set_texture_to_be_drawn_antialiased 1
074B: draw_texture 15 position 550.0 360.0 scale 191.25 170.0 angle 2@ color_RGBA 255 255 255 255
if
03C9: car 1@ damaged
jf @NONAME_132
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 19 position 550.0 360.0 size 191.25 170.0 RGBA 255 255 255 255
jump @NONAME_132

:NONAME_360
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
$ACTIVE_INTERIOR == 0
jf @NONAME_588
00BF: 12@ = current_time_hours, 13@ = current_time_minutes
if or
12@ >= 20
6 > 12@
jf @NONAME_132
02E3: 2@ = car 1@ speed
2@ *= 4.0
03F0: enable_text_draw 1
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 17 position 550.0 360.0 size 191.25 170.0 RGBA 255 255 255 255
03E3: set_texture_to_be_drawn_antialiased 1
074B: draw_texture 18 position 550.0 360.0 scale 191.25 170.0 angle 2@ color_RGBA 255 255 255 255
if
03C9: car 1@ damaged
jf @NONAME_360
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 19 position 550.0 360.0 size 191.25 170.0 RGBA 255 255 255 255
jump @NONAME_360

:NONAME_588
wait 0
03F0: enable_text_draw 0
0391: release_textures
jump @NONAME_4


speedt.cs

{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP
0A95: enable_thread_saving

:NONAME_4
wait 0
if and
Actor.DrivingTaxiVehicle($PLAYER_ACTOR)
$ACTIVE_INTERIOR == 0
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
84A7: not actor $PLAYER_ACTOR driving_boat
847A: not actor $PLAYER_ACTOR driving_bike
jf @NONAME_4
0811: 1@ = actor $PLAYER_ACTOR used_car
0390: load_txd_dictionary "SPEEDT"
038F: load_texture "STRELK" as 15 // Load dictionary with 0390 first
038F: load_texture "CIF" as 16 // Load dictionary with 0390 first
038F: load_texture "CIFN" as 17 // Load dictionary with 0390 first
038F: load_texture "STRELKN" as 18 // Load dictionary with 0390 first
038F: load_texture "GLASSC" as 19 // Load dictionary with 0390 first
wait 1000
jump @NONAME_132

:NONAME_132
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
$ACTIVE_INTERIOR == 0
jf @NONAME_588
00BF: 12@ = current_time_hours, 13@ = current_time_minutes
if and
12@ >= 6
20 > 12@
jf @NONAME_360
02E3: 2@ = car 1@ speed
2@ *= 4.0
03F0: enable_text_draw 0
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 16 position 550.0 360.0 size 241.0 220.0 RGBA 255 255 255 255
03E3: set_texture_to_be_drawn_antialiased 1
074B: draw_texture 15 position 550.0 360.0 scale 241.0 220.0 angle 2@ color_RGBA 255 255 255 255
if
03C9: car 1@ damaged
jf @NONAME_132
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 19 position 550.0 360.0 size 241.0 220.0 RGBA 255 255 255 255
jump @NONAME_132

:NONAME_360
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
$ACTIVE_INTERIOR == 0
jf @NONAME_588
00BF: 12@ = current_time_hours, 13@ = current_time_minutes
if or
12@ >= 20
6 > 12@
jf @NONAME_132
02E3: 2@ = car 1@ speed
2@ *= 4.0
03F0: enable_text_draw 1
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 17 position 550.0 360.0 size 241.0 220.0 RGBA 255 255 255 255
03E3: set_texture_to_be_drawn_antialiased 1
074B: draw_texture 18 position 550.0 360.0 scale 241.0 220.0 angle 2@ color_RGBA 255 255 255 255
if
03C9: car 1@ damaged
jf @NONAME_360
03E3: set_texture_to_be_drawn_antialiased 1
038D: draw_texture 19 position 550.0 360.0 size 241.0 220.0 RGBA 255 255 255 255
jump @NONAME_360

:NONAME_588
wait 0
03F0: enable_text_draw 0
0391: release_textures
jump @NONAME_4



Просмотров: 1956
5.11.2015, 22:20 -

Категория: Grand Theft Auto: San Andreas » Скрипты для Grand Theft Auto: San Andreas » CLEO скрипты для Grand Theft Auto: San Andreas

Коментарии к CLEO Speedometers v1.0: