MalikeiraOPoder
Active member
- Joined
- Mar 16, 2019
- Messages
- 100
- Reaction score
- 2
I need help with Dialog.AddCheckBox
I want a menu with this cheat, but I do not know how to make it work
example:
// register the Cheat dialog..
Dialog.AddCheckBox(20@, 1, "NoReload", 5, 105, 180, 15)
// For work the cheat
IF 0B92: dialog 20@ is_checked 1
Player.Defined($PLAYER_CHAR)
THEN
0470: 1@ = actor $PLAYER_ACTOR current_weapon
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, 1@, 0)
wait 150
END
This code is not working, how to make it work
I want a menu with this cheat, but I do not know how to make it work
example:
// register the Cheat dialog..
Dialog.AddCheckBox(20@, 1, "NoReload", 5, 105, 180, 15)
// For work the cheat
IF 0B92: dialog 20@ is_checked 1
Player.Defined($PLAYER_CHAR)
THEN
0470: 1@ = actor $PLAYER_ACTOR current_weapon
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR, 1@, 0)
wait 150
END
This code is not working, how to make it work