31.08.2018, 07:14
Hey all. I would like to create log, that show which keys player pressing. I know one way how to create it:
But maybe it is other way to create it easier, because in my way I should create for every button code separately + if player pressing 2 keys, code will show only first pressed key. I need that code will show all pressed keys ( if press 2 in same tame, show 2 ). Any other solutions?
Код:
if(newkeys == KEY_WALK) { //LOG CODE }