CLEO Help help

CLEO related
Status
Not open for further replies.

Dimitri

Well-known member
Joined
Mar 5, 2013
Messages
200
Reaction score
0
I am sooo stupid to edit this code soo can someone tell me how to change this gunflash cleo to patriot,and more cars???

Code:
// This file was decompiled using sascm.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013

{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 

:NONAME_2
wait 50 
if 
   Player.Defined($PLAYER_CHAR)
else_jump @NONAME_2 
if 
   Actor.DrivingVehicleType($PLAYER_ACTOR, #SPARROW)
else_jump @NONAME_483 
0@ = Actor.CurrentCar($PLAYER_ACTOR)
80E1:   not player 0 pressed_key 4 
else_jump @NONAME_69 
jump @NONAME_2 

:NONAME_69
0208: 1@ = random_float_in_ranges -2.0 2.0 
0208: 2@ = random_float_in_ranges -2.0 2.0 
0407: store_coords_to 3@ 4@ 5@ from_car 0@ with_offset 1@ 1000.0 2@ 
0407: store_coords_to 6@ 7@ 8@ from_car 0@ with_offset 1.237 1.653 -0.15 
0407: store_coords_to 9@ 10@ 11@ from_car 0@ with_offset -1.14 1.653 -0.15 
06BC: create_M4_shoot_from 6@ 7@ 8@ target 3@ 4@ 5@ energy 450 
06BC: create_M4_shoot_from 9@ 10@ 11@ target 3@ 4@ 5@ energy 450 
09F1: play_audio_at_actor $PLAYER_ACTOR event 1157 
066C: 18@ = attach_particle "GUNFLASH" to_car 0@ with_offset 1.237 1.653 -0.15 rotation 0.0 1.0 0.0 type 1 
066C: 19@ = attach_particle "GUNFLASH" to_car 0@ with_offset -1.14 1.653 -0.15 rotation 0.0 1.0 0.0 type 1 
066C: 20@ = attach_particle "GUNSMOKE" to_car 0@ with_offset 1.237 1.653 -0.15 rotation 0.0 1.0 0.0 type 1 
066C: 21@ = attach_particle "GUNSMOKE" to_car 0@ with_offset -1.14 1.653 -0.15 rotation 0.0 1.0 0.0 type 1 
064C: make_particle 18@ visible 
064C: make_particle 19@ visible 
064C: make_particle 20@ visible 
064C: make_particle 21@ visible 
064F: remove_references_to_particle 18@ 
064F: remove_references_to_particle 19@ 
064F: remove_references_to_particle 20@ 
064F: remove_references_to_particle 21@ 
jump @NONAME_2 

:NONAME_483
if 
056E:   car 0@ defined 
else_jump @NONAME_2 
Car.RemoveReferences(0@)
jump @NONAME_2
 
Status
Not open for further replies.
Top