S
sisi_ke3ka_khokho
Guest
Hi,
In a nutshell, I want to use the scr_zx() I created besides this:
if (keyboard_check_pressed(ord('Z')) or keyboard_check_pressed(ord('X')))
so I created the scr_zx() function where i've put:
return (keyboard_check_pressed(ord('Z')) or keyboard_check_pressed(ord('X')))
then I replaced the long line with the simple function in my code, but it weirdly doesn't work, and when I change it back, it works again.
Thank you for your help.
In a nutshell, I want to use the scr_zx() I created besides this:
if (keyboard_check_pressed(ord('Z')) or keyboard_check_pressed(ord('X')))
so I created the scr_zx() function where i've put:
return (keyboard_check_pressed(ord('Z')) or keyboard_check_pressed(ord('X')))
then I replaced the long line with the simple function in my code, but it weirdly doesn't work, and when I change it back, it works again.
Thank you for your help.