CLEO Help crash?

CLEO related
Status
Not open for further replies.

y0mike

Active member
Joined
May 10, 2014
Messages
97
Reaction score
41
Location
mizus girl's house
i made a cleo script. it was working well then i tried experimenting more but i made a backup just incase. the experimental one didnt work so i switched back and now it crashes everytime i press the activation button when it didnt before?? please help.
thanks
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Oh, I see.. ok first let me use my jedi powers to read your cleo and see what's the problem. Too bad other people who do not have not existing jedi powers cannot read your script and see what's wrong.
 

y0mike

Active member
Joined
May 10, 2014
Messages
97
Reaction score
41
Location
mizus girl's house
{$CLEO .cs}
03A4: name_thread 'GUN'

:GUN_11
0001: wait 0 ms
0AFA:  is_samp_available
004D: jump_if_false @GUN_11
0AF8: samp add_message_to_chat "WEAPON HACK LOADED {00FF33}" color 16768685 

:GUN_61
wait 0
00D6: if
0AB0:  key_pressed 90
004D: jump_if_false @GUN_61
0002: jump @GUN_87

:GUN_87
Model.Available(#M4)
Model.Load(#M4)
01B2: give_actor $PLAYER_ACTOR weapon 31 ammo 99999
00D6: if
0491:  actor $PLAYER_ACTOR has_weapon 31 999999
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Delete
Code:
Model.Available(#M4)
Replace
Code:
00D6: if 
0491:   actor $PLAYER_ACTOR has_weapon 31 999999
with
Code:
goto @GUN_61
 
Status
Not open for further replies.
Top