MalikeiraOPoder
Active member
- Joined
- Mar 16, 2019
- Messages
- 100
- Reaction score
- 2
Hi everyone, I made this simple cheat to use in version 0.3.DL, but I do not know how to convert to 0.3.DL, someone knows how to convert and can help me?
my code:
my code:
PHP:
{$CLEO .cs}
thread "easy cheat"
:cheat
wait 0
if
SAMP.Available
else_jump @cheat
0B34: samp register_client_command ".repair" to_label @repair
0B34: samp register_client_command ".ammo" to_label @ammo
0B34: samp register_client_command ".removegun" to_label @removegun
0B34: samp register_client_command ".removeall" to_label @removeall
0B34: samp register_client_command ".gun" to_label @gun
:idk
wait 0
jump @idk
:removeall
SAMP.IsCommandTyped(0@)
048F: actor $PLAYER_ACTOR remove_weapons
SAMP.CmdRet
:removegun
SAMP.IsCommandTyped(0@)
0470: 1@ = actor $PLAYER_ACTOR current_weapon
0555: remove_weapon 1@ from_actor $PLAYER_ACTOR
SAMP.CmdRet
:ammo
SAMP.IsCommandTyped(0@)
if
0AD4: 0@ = scan_string 0@ format "%d" 1@
else_jump @error_1
0470: 2@ = actor $PLAYER_ACTOR current_weapon
Actor.SetCarWeapon($PLAYER_ACTOR, 2@, 1@)
SAMP.CmdRet
:repair
SAMP.IsCommandTyped(0@)
if
Actor.Driving($PLAYER_ACTOR)
else_jump @error_2
$car = Actor.CurrentCar($PLAYER_ACTOR)
0A30: repair_car $car
053F: set_car $car tires_vulnerability 0
Car.RemoveReferences($car)
SAMP.CmdRet
:gun
SAMP.IsCommandTyped(0@)
if
0AD4: 0@ = scan_string 0@ format "%d %d" 1@ 2@
else_jump @error_3
if and
not 1@ == 19
not 1@ == 20
not 1@ == 21
not 1@ > 46
1@ >= 0
else_jump @error_3
0781: get_weapon_with_ID 1@ model_to 3@
Model.Load(3@)
038B: load_requested_models
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, 1@, 2@)
SAMP.CmdRet
:error_1
chatmsg "{ff0000}* Error: Enter a number" 0
SAMP.CmdRet
:error_2
chatmsg "{ff0000}* Error: You have to be driving!" 0
SAMP.CmdRet
:error_3
chatmsg "{ff0000}* Error: Type /.gun [ 0 to 46 ] [ Amount ]" 0
SAMP.CmdRet