hello people,
here's my problem. my game has two kinds of weapons, when i press 1 (Scancode()=2) then it loads the bullets for the weapon selected, when i press 2 (scancode()=3) it loads another type of bullets, here's my problem:
my bullets cannot be selected unless i keep holding the keys (1,2) i just need to select my weapon by just pressing the key, and not holding it.
here's a code to make it clear:
if scancode()=2
load weapon1
load bullets for weapon1
endif
if scancode()=3
load weapon2
load bullets for weapon2
endif
thannkx for advance
‘Those who ignore the lessons of the past are doomed to repeat them’ (Napoleon)