cleo吧 关注:1,166贴子:2,663
  • 0回复贴,共1

求教一段代码,这段代码里哪一行是写的用于显示图标位置的呢?

只看楼主收藏回复

最近在玩圣安地列斯,用了一个骑车耐久度显示的CLEO,不过这个耐久度图标位置有问题,会覆盖游戏别的图标,导致游戏图标显示不完全.所以想修改一下耐久度显示的位置.望大佬们指教一下,谢谢!
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
03A4: name_thread 'HEALTH_BAR'
:HEALTH_BAR_19
0001: wait 0 ms
00D6: if
0256: player $PLAYER_CHAR defined
004D: jump_if_false @HEALTH_BAR_19
00D6: if
0038: $ONMISSION == 0
004D: jump_if_false @HEALTH_BAR_19
00D6: if
84A7: not actor $PLAYER_ACTOR driving_boat
04C8: actor $PLAYER_ACTOR driving_flying_vehicle
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false @HEALTH_BAR_19
0811: 0@ = actor $PLAYER_ACTOR used_car
0224: set_car 0@ health_to 1000
:HEALTH_BAR_99
0227: $Y_ROYAL_CASINO = car 0@ health
0014: $Y_ROYAL_CASINO /= 10
03C4: set_status_text $CAR_PLAYER type 1 GXT 'SWE4_08' // global_variable // CAR HEALTH
0084: $CAR_PLAYER = $Y_ROYAL_CASINO // (int)
0001: wait 0 ms
00D6: if
00DB: actor $PLAYER_ACTOR in_car 0@
004D: jump_if_false @HEALTH_BAR_281
0002: jump @HEALTH_BAR_99
0001: wait 0 ms
00D6: if
8119: not car 0@ wrecked
004D: jump_if_false @HEALTH_BAR_195
0002: jump @HEALTH_BAR_99
:HEALTH_BAR_195
0151: remove_status_text $CAR_PLAYER
00AA: store_car 0@ position_to 1@ 2@ 3@
020B: explode_car 0@
020C: create_explosion_with_radius 0 at 1@ 2@ 3@
020C: create_explosion_with_radius 0 at 1@ 2@ 3@
02CF: 4@ = create_fire_at 1@ 2@ 3@ propagation 0 size 1
02CF: 5@ = create_fire_at 1@ 2@ 3@ propagation 0 size 1
:HEALTH_BAR_281
0151: remove_status_text $CAR_PLAYER
0002: jump @HEALTH_BAR_19
0A93: end_custom_thread


IP属地:江苏1楼2021-09-09 18:42回复