CLEO Help Sannybuilder Error

CLEO related
Status
Not open for further replies.

Kreuschinator

Member
Joined
Feb 12, 2014
Messages
10
Reaction score
0
Hello,
i need help with editing one Cleo.
I want to change the activation of the Cleo, because the Key "N" is Ingame occupied.

Code:
0ADC:   test_cheat "NEONON"

As soon as I want to compile this is the following error
wHTNbfLW.png


Can someone help me?

Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0@ = 0 
8@ = 255 
7@ = 255 
jump @NONAME_44 
hex
 C2 0C
end
0103:   actor stopped_in_car 
0203:   actor on_foot 
0303: show_text_4numbers_highpriority GXT 
0403: 
hex
 00 3D 00 D6
end
0400: store_coords_to 
0ADC:   test_cheat "ubb" 
else_jump @NONAME_94 
0@ = 1 
0ACA: show_text_box "Neon Mod enabled" 

:NONAME_94
if 
0ADC:   test_cheat "ubboff" 
else_jump @NONAME_144 
0@ = 0 
0ACA: show_text_box "Neon Mod disabled" 

:NONAME_144
if 
  0@ == 1 
else_jump @NONAME_856 
if 
   Player.Defined(0)
else_jump @NONAME_856 
0A96: 1@ = actor $PLAYER_ACTOR struct 
1@ += 1420 
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0 
if 
  1@ > 0 
else_jump @NONAME_856 
0AEB: 1@ = car_struct 1@ handle 
if 
856E:   not car 1@ defined 
else_jump @NONAME_254 
jump @NONAME_1650 

:NONAME_254
15@ = Car.Model(1@)
if or
8A01:   not model 15@ car 
8185:   not car 1@ health >= 1 
else_jump @NONAME_292 
jump @NONAME_1650 

:NONAME_292
0AF2: 20@ = get_float_from_ini_file "cleo\neon.ini" section "MAIN" key "fFlashlightRadius" 
0AF2: 22@ = get_float_from_ini_file "cleo\neon.ini" section "MAIN" key "fFlashlightZ" 
0407: store_coords_to 2@ 3@ 4@ from_car 1@ with_offset 0.0 0.0 22@ 
09E5: create_flash_light_at 2@ 3@ 4@ RGB_mask 5@ 6@ 7@ radius 20@ 
0AF2: 20@ = get_float_from_ini_file "cleo\neon.ini" section "MAIN" key "fShadowRadius" 
0AF2: 21@ = get_float_from_ini_file "cleo\neon.ini" section "MAIN" key "fYOffsetA" 
0407: store_coords_to 2@ 3@ 4@ from_car 1@ with_offset 0.0 21@ 0.0 
016F: create_particle 3 rotation_factor 0.0 size 20@ intensity 8@ flags 5@ 6@ 7@ at 2@ 3@ 4@ 
0AF2: 21@ = get_float_from_ini_file "cleo\neon.ini" section "MAIN" key "fXOffsetA" 
0407: store_coords_to 2@ 3@ 4@ from_car 1@ with_offset 21@ 0.0 0.0 
016F: create_particle 3 rotation_factor 0.0 size 20@ intensity 8@ flags 5@ 6@ 7@ at 2@ 3@ 4@ 
0AF2: 21@ = get_float_from_ini_file "cleo\neon.ini" section "MAIN" key "fXOffsetB" 
0407: store_coords_to 2@ 3@ 4@ from_car 1@ with_offset 21@ 0.0 0.0 
016F: create_particle 3 rotation_factor 0.0 size 20@ intensity 8@ flags 5@ 6@ 7@ at 2@ 3@ 4@ 
0AF2: 21@ = get_float_from_ini_file "cleo\neon.ini" section "MAIN" key "fYOffsetB" 
0407: store_coords_to 2@ 3@ 4@ from_car 1@ with_offset 0.0 21@ 0.0 
016F: create_particle 3 rotation_factor 0.0 size 20@ intensity 8@ flags 5@ 6@ 7@ at 2@ 3@ 4@ 

:NONAME_856
if 
0ADC:   test_cheat "WHITE" 
else_jump @NONAME_924 
5@ = 255 
6@ = 255 
7@ = 255 
0ACA: show_text_box "Set color: White" 

:NONAME_924
if 
0ADC:   test_cheat "RED" 
else_jump @NONAME_986 
5@ = 255 
6@ = 0 
7@ = 0 
0ACA: show_text_box "Set color: Red" 

:NONAME_986
if 
0ADC:   test_cheat "BLUE" 
else_jump @NONAME_1050 
5@ = 0 
6@ = 0 
7@ = 255 
0ACA: show_text_box "Set color: Blue" 

:NONAME_1050
if 
0ADC:   test_cheat "YELLOW" 
else_jump @NONAME_1119 
5@ = 255 
6@ = 255 
7@ = 0 
0ACA: show_text_box "Set color: Yellow" 

:NONAME_1119
if 
0ADC:   test_cheat "ORANGE" 
else_jump @NONAME_1188 
5@ = 255 
6@ = 150 
7@ = 0 
0ACA: show_text_box "Set color: Orange" 

:NONAME_1188
if 
0ADC:   test_cheat "PURPLE" 
else_jump @NONAME_1257 
5@ = 180 
6@ = 0 
7@ = 220 
0ACA: show_text_box "Set color: Purple" 

:NONAME_1257
if 
0ADC:   test_cheat "GREEN" 
else_jump @NONAME_1323 
5@ = 0 
6@ = 255 
7@ = 0 
0ACA: show_text_box "Set color: Green" 

:NONAME_1323
if 
0ADC:   test_cheat "Lila" 
else_jump @NONAME_1388 
5@ = 255 
6@ = 0 
7@ = 255 
0ACA: show_text_box "Set color: Pink" 

:NONAME_1388
if 
8AAB:   not file_exists "CLEO\neon_by_DK22.cs" 
else_jump @NONAME_1432 

:NONAME_1423
Camera.Restore_WithJumpCut
jump @NONAME_1423 

:NONAME_1432
9@ = 0 

:NONAME_1439
0AD3: 10@v = format "NEONR%dR" 9@  
0AD3: 14@v = format "NEONG%dG" 9@  
0AD3: 18@v = format "NEONB%dB" 9@  
if 
0ADC:   test_cheat 10@v 
else_jump @NONAME_1539 
0085: 5@ = 9@ // (int) 
0ACE: show_formatted_text_box "Set Red: %d" 5@  

:NONAME_1539
if 
0ADC:   test_cheat 14@v 
else_jump @NONAME_1584 
0085: 6@ = 9@ // (int) 
0ACE: show_formatted_text_box "Set Green: %d" 6@  

:NONAME_1584
if 
0ADC:   test_cheat 18@v 
else_jump @NONAME_1628 
0085: 7@ = 9@ // (int) 
0ACE: show_formatted_text_box "Set Blue: %d" 7@  

:NONAME_1628
9@ += 1 
  9@ > 255 
else_jump @NONAME_1439 

:NONAME_1650
jump @NONAME_44
 

_=Gigant=_

Well-known member
Joined
Mar 21, 2017
Messages
353
Reaction score
16
Kreuschinator said:
Hello,
i need help with editing one Cleo.
I want to change the activation of the Cleo, because the Key "N" is Ingame occupied.

Code:
0ADC:   test_cheat "NEONON"

As soon as I want to compile this is the following error
wHTNbfLW.png


Can someone help me?

Code:
0103:   actor stopped_in_car 
0203:   actor on_foot

https://gtagmodding.com/opcode-database/opcode/0103/

https://gtagmodding.com/opcode-database/opcode/0203/

http://gtaforums.com/topic/760343-player-actor-or-player-char/
 
Status
Not open for further replies.
Top