hi Khris how are you?
for now I have created a gui with 12 keys.
123
456
789
* 0 #
click event and in globalscript
Button6_OnClick function (GUIControl * control, MouseButton button) {
// USE INV
OptionGui.OnClick (control, button); {
player.Say ("1");
}
}
Button7_OnClick function (GUIControl * control, MouseButton button) {
// USE INV
OptionGui.OnClick (control, button); {
player.Say ("2");
}
}
etc .. I wish that if the player typed the right number, the animation starts
for now I have created a gui with 12 keys.
123
456
789
* 0 #
click event and in globalscript
Button6_OnClick function (GUIControl * control, MouseButton button) {
// USE INV
OptionGui.OnClick (control, button); {
player.Say ("1");
}
}
Button7_OnClick function (GUIControl * control, MouseButton button) {
// USE INV
OptionGui.OnClick (control, button); {
player.Say ("2");
}
}
etc .. I wish that if the player typed the right number, the animation starts