01.05.2009, 23:22
you can use this
then you would be able to detect if player is pressing their KEY_ENTER so use
Код:
IsKeyJustDown(key, newkeys, oldkeys) { if((newkeys & key) && !(oldkeys & key)) return 1; return 0; }
Код:
if(IsKeyJustDown(KEY_ENTER, newkeys, oldkeys)