Hi, guys I made my first CLEO , lemme show u what i made
I made Health and Armour Pack, I made health separately and armour separately u can use it only when u are on foot.. but the health and armour are not working?, only the Pack works pls what i need to do ![Big grin :D :D](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Thanks
Code:
{$CLEO .cs}
0000: NOP
thread 'PackH&A'
:MAIN
wait 0
0AF8: samp add_message_to_chat "SpRoXx Pack has been loaded:" 0xFFFFFF
0AF8: samp add_message_to_chat "Type 'hl' in singlemode cheat to restore your Health!" color 0xFFFFFF
0AF8: samp add_message_to_chat "type 'pk' in singlemode cheat to get the Package Armour = 50 + Health = 100!" color 0xFFFFFF
0AF8: samp add_message_to_chat "type 'ar' in singlemode cheat to restore your Armour!" color 0xFFFFFF
:PACK_1
wait 0
if and
056D: actor $PLAYER_ACTOR defined
044B: actor $PLAYER_ACTOR on_foot
0ADC: test_cheat "pk"
else_jump @PACK_1
0223: set_actor $PLAYER_ACTOR health_to 100
035F: actor $PLAYER_ACTOR armour += 50
0AD1: show_formatted_text_highpriority "Pack has been ADDED Made by SpRoXx!" time 2000
jump @PACK_1
:HEALTH_ONLY
wait 400
if and
056D: actor $PLAYER_ACTOR defined
044B: actor $PLAYER_ACTOR on_foot
0ADC: test_cheat "hl"
else_jump @HEALTH_ONLY
0223: set_actor $PLAYER_ACTOR health_to 100
0AD1: show_formatted_text_highpriority "Health RESTORED!" time 2000
jump @HEALTH_ONLY
:ARMOUR_ONLY
wait 0
if and
056D: actor $PLAYER_ACTOR defined
044B: actor $PLAYER_ACTOR on_foot
0ADC: test_cheat "ar"
else_jump @ARMOUR_ONLY
0223: set_actor $PLAYER_ACTOR armour == 50
0AD1: show_formatted_text_highpriority "Armour has been RESTORED - Might be Dectable" time 2000
jump @ARMOUR_ONLY
Thanks