Spawn Obj Source

// author panel : muhammad zauqie firdaus // spawn object : xavion
mail@pastecode.io avatar
unknown
plain_text
3 years ago
3.1 kB
43
Indexable
Never
// author panel : muhammad zauqie firdaus
// spawn object : xavion

// cleo script
{$CLEO .csi}
03A4: name_thread "Panel GTA V" 

:Panel_GTA_V_76
018C: play_sound 1056 at 0.0 0.0 0.0 
0002: jump @Panel_GTA_V_762 

:Panel_GTA_V_119
0002: jump @Panel_GTA_V_762 

:Panel_GTA_V_126
0007: 8@ = -100.0 
0007: 9@ = 53.0 
0050: gosub @Panel_GTA_V_2344 
060D: draw_text_shadow 0 rgba 0 0 0 255 
033F: set_text_draw_letter_size 1.6 1.5 
045A: draw_text_1number 8@ 9@ GXT 'NUMBER' number 21@  
0051: return 
0002: jump @Panel_GTA_V_119 

:Panel_GTA_V_762
0001: wait 0 ms 
0050: gosub @Panel_GTA_V_2357 
03F0: enable_text_draw 1 
038E: draw_box_position 1@ 60.0 size 4@ 20.0 RGBA 0 0 0 110 
03F0: enable_text_draw 1 
038E: draw_box_position 1@ 2@ size 4@ 5@ RGBA 11@ 12@ 13@ 230 
03F0: enable_text_draw 1 
038E: draw_box_position 1@ 78.0 size 4@ 89@ RGBA 11@ 12@ 13@ 230 
0050: gosub @Panel_GTA_V_2344 
060D: draw_text_shadow 0 rgba 0 0 0 255 
081C: draw_text_outline 1 RGBA 0 0 0 255 
0349: set_text_draw_font 3 
0342: set_text_draw_centered 1 
033F: set_text_draw_letter_size 1.8 1.8 
0343: set_text_draw_linewidth 100.0 
033E: set_draw_text_position 1@ 22.0 GXT "TITLE" 
0050: gosub @Panel_GTA_V_126 
0DE0: 20@ = get_touch_point_state 4 mintime 25 // tambah
00D6: if 
0039:   20@ == 1 
004D: jump_if_false @Panel_GTA_V_1104 
000E: 21@ += 1 
018C: play_sound 1056 at 0.0 0.0 0.0 

:Panel_GTA_V_1104
0DE0: 22@ = get_touch_point_state 6 mintime 25 // kurang 
00D6: if 
0039:   22@ == 1 
004D: jump_if_false @Panel_GTA_V_1158 
000A: 21@ -= 1 
018C: play_sound 1056 at 0.0 0.0 0.0 

:Panel_GTA_V_1158
00D6: if 
002B:   615 >= 21@ 
004D: jump_if_false @Panel_GTA_V_1183 
0006: 21@ = 615 // awal

:Panel_GTA_V_1183
00D6: if 
0029:   21@ >= 1000
004D: jump_if_false @Panel_GTA_V_12628
0006: 21@ = 1000

:Panel_GTA_V_1628 // spawn
03F0: enable_text_draw 1 
0DE0: 28@ = get_touch_point_state 5 mintime 10 // android 
00D6: if 
0039:   28@ == 1 
004D: jump_if_false @Panel_GTA_V_1716 
018C: play_sound 1056 at 0.0 0.0 0.0 
0002: jump @Panel_GTA_V_1819 

:Panel_GTA_V_1716
0DE0: 29@ = get_touch_point_state 1 mintime 20 // android 
00D6: if 
0039:   29@ == 1 
004D: jump_if_false @Panel_GTA_V_762 
018C: play_sound 1056 at 0.0 0.0 0.0 
004E: end_thread 

:Panel_GTA_V_1819
0247: load_model 21@ 
038B: load_requested_models 
00D6: if 
0248:   model 21@ available 
004D: jump_if_false @Panel_GTA_V_1819
04C4: store_coords_to 4@ 5@ 6@ from_actor $PLAYER_ACTOR with_offset 0.0 5.0 0.0 
0107: $4093 = create_object 21@ at 4@ 5@ 6@ 
0002: jump @Panel_GTA_V_762 

:Panel_GTA_V_2344
03F0: enable_text_draw 1 
0343: set_text_draw_linewidth 300.0 
0051: return 

:Panel_GTA_V_2357
0007: 1@ = 0.0 
0007: 2@ = 30.0 
0007: 3@ = 152.0 
0007: 88@ = 278.0 
0050: gosub @Panel_GTA_V_2417 
0050: gosub @Panel_GTA_V_2459 
03F0: enable_text_draw 0 
0051: return 

:Panel_GTA_V_2417
0007: 4@ = 210.0 
0007: 5@ = 40.0 
0007: 6@ = 260.0 
0007: 89@ = 15.0 
0051: return 

:Panel_GTA_V_2459
0006: 11@ = 30 
0006: 12@ = 113 
0006: 13@ = 122 
0051: return 

// fxt script
TITLE SPAWN_OBJ
NUMBER ID : ~1~