CLEO Help How to Fix?

CLEO related
Status
Not open for further replies.

fahrein

Active member
Joined
Apr 18, 2014
Messages
103
Reaction score
0
Code:
{$CLEO}
{$VERSION 3.1.0027}

thread 'WEAPON'
0B34: samp register_client_command ".deagle" to_label @WEAPON_1 
0B34: samp register_client_command ".ak47" to_label @WEAPON_2 
0B34: samp register_client_command ".m4" to_label @WEAPON_3 
0B34: samp register_client_command ".spas12" to_label @WEAPON_4 
0B34: samp register_client_command ".sniper" to_label @WEAPON_5 
0B34: samp register_client_command ".mp5" to_label @WEAPON_6 
0B34: samp register_client_command ".katana" to_label @WEAPON_7
0B34: samp register_client_command ".set" to_label @WEAPON_8  

:WEAPON_1
Model.Load(#DESERT_EAGLE)
01B2: give_actor $PLAYER_ACTOR weapon 24 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~Deagle Hack" 1000 
Model.Destroy(#DESERT_EAGLE)
SAMP.CmdRet()

:WEAPON_2
Model.Load(#AK47)
01B2: give_actor $PLAYER_ACTOR weapon 30 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~AK47 Hack" 1000 
Model.Destroy(#AK47)    
SAMP.CmdRet()

:WEAPON_3
Model.Load(#M4)
01B2: give_actor $PLAYER_ACTOR weapon 31 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~M4 Hack" 1000 
Model.Destroy(#M4)
SAMP.CmdRet()

:WEAPON_4
Model.Load(#SHOTGSPA)
01B2: give_actor $PLAYER_ACTOR weapon 27 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~SPAS12 Hack" 1000 
Model.Destroy(#SHOTGSPA)
SAMP.CmdRet()

:WEAPON_5
Model.Load(#SNIPER)
01B2: give_actor $PLAYER_ACTOR weapon 34 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~SPINER Hack" 1000 
Model.Destroy(#SNIPER)
SAMP.CmdRet()

:WEAPON_6
Model.Load(#MP5LNG)
01B2: give_actor $PLAYER_ACTOR weapon 29 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~MP5 Hack" 1000 
Model.Destroy(#MP5LNG)
SAMP.CmdRet()

:WEAPON_7
Model.Load(#KATANA)
01B2: give_actor $PLAYER_ACTOR weapon 8 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~Katana Hack" 1000 
Model.Destroy(#KATANA)
SAMP.CmdRet()

:WEAPON_8
Model.Load(#DESERT_EAGLE)
Model.Load(#MP5LNG)
Model.Load(#SNIPER)
Model.Load(#SHOTGSPA)
Model.Load(#M4)
01B2: give_actor $PLAYER_ACTOR weapon 24 ammo 60000
01B2: give_actor $PLAYER_ACTOr weapon 29 ammo 60000
01B2: give_actor $PLAYER_ACTOR weapon 34 ammo 60000
01B2: give_actor $PLAYER_ACTOR weapon 27 ammo 60000
01B2: give_actor $PLAYER_ACTOR weapon 31 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~Set Hack" 1000 
Model.Destroy(#DESERT_EAGLE)
Model.Destroy(#MP5LNG)
Model.Destroy(#SNIPER)
Model.Destroy(#SHOTGSPA)
Model.Destroy(#M4)
SAMP.CmdRet()
when i logined game , i crashed my game. How to Fix?
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,486
Reaction score
228
Location
( ͡° ͜ʖ ͡°)
Code:
{$CLEO .cs}
0000:


REPEAT
    WAIT 0
UNTIL 0AFA:  SAMP_IS_READY
0B34: samp register_client_command ".deagle" to_label @WEAPON_1 
0B34: samp register_client_command ".ak47" to_label @WEAPON_2 
0B34: samp register_client_command ".m4" to_label @WEAPON_3 
0B34: samp register_client_command ".spas12" to_label @WEAPON_4 
0B34: samp register_client_command ".sniper" to_label @WEAPON_5 
0B34: samp register_client_command ".mp5" to_label @WEAPON_6 
0B34: samp register_client_command ".katana" to_label @WEAPON_7
0B34: samp register_client_command ".set" to_label @WEAPON_8  

:START
WAIT 0
jump @START

:WEAPON_1
Model.Load(#DESERT_EAGLE)
01B2: give_actor $PLAYER_ACTOR weapon 24 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~Deagle Hack" 1000 
Model.Destroy(#DESERT_EAGLE)
SAMP.CmdRet()

:WEAPON_2
Model.Load(#AK47)
01B2: give_actor $PLAYER_ACTOR weapon 30 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~AK47 Hack" 1000 
Model.Destroy(#AK47)    
SAMP.CmdRet()

:WEAPON_3
Model.Load(#M4)
01B2: give_actor $PLAYER_ACTOR weapon 31 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~M4 Hack" 1000 
Model.Destroy(#M4)
SAMP.CmdRet()

:WEAPON_4
Model.Load(#SHOTGSPA)
01B2: give_actor $PLAYER_ACTOR weapon 27 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~SPAS12 Hack" 1000 
Model.Destroy(#SHOTGSPA)
SAMP.CmdRet()

:WEAPON_5
Model.Load(#SNIPER)
01B2: give_actor $PLAYER_ACTOR weapon 34 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~SPINER Hack" 1000 
Model.Destroy(#SNIPER)
SAMP.CmdRet()

:WEAPON_6
Model.Load(#MP5LNG)
01B2: give_actor $PLAYER_ACTOR weapon 29 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~MP5 Hack" 1000 
Model.Destroy(#MP5LNG)
SAMP.CmdRet()

:WEAPON_7
Model.Load(#KATANA)
01B2: give_actor $PLAYER_ACTOR weapon 8 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~Katana Hack" 1000 
Model.Destroy(#KATANA)
SAMP.CmdRet()

:WEAPON_8
Model.Load(#DESERT_EAGLE)
Model.Load(#MP5LNG)
Model.Load(#SNIPER)
Model.Load(#SHOTGSPA)
Model.Load(#M4)
01B2: give_actor $PLAYER_ACTOR weapon 24 ammo 60000
01B2: give_actor $PLAYER_ACTOr weapon 29 ammo 60000
01B2: give_actor $PLAYER_ACTOR weapon 34 ammo 60000
01B2: give_actor $PLAYER_ACTOR weapon 27 ammo 60000
01B2: give_actor $PLAYER_ACTOR weapon 31 ammo 60000
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
print "~R~Set Hack" 1000 
Model.Destroy(#DESERT_EAGLE)
Model.Destroy(#MP5LNG)
Model.Destroy(#SNIPER)
Model.Destroy(#SHOTGSPA)
Model.Destroy(#M4)
SAMP.CmdRet()
 
Status
Not open for further replies.
Top