Engine Key Start wont work
#3

if ((newkeys & KEY_JUMP) && !(oldkeys & KEY_JUMP))


((newkeys & KEY_JUMP) checks if the key is pressed

!(oldkeys & KEY_JUMP)) checks that the key isnt being held
Reply


Messages In This Thread
Engine Key Start wont work - by wilko1995 - 03.01.2011, 12:17
Re: Engine Key Start wont work - by Jochemd - 03.01.2011, 12:19
Re: Engine Key Start wont work - by wilko1995 - 03.01.2011, 12:21
Re: Engine Key Start wont work - by Tessar - 03.01.2011, 12:29
Re: Engine Key Start wont work - by wilko1995 - 03.01.2011, 13:36
Re: Engine Key Start wont work - by psoftware - 03.01.2011, 20:29
Re: Engine Key Start wont work - by Sascha - 03.01.2011, 21:33
Re: Engine Key Start wont work - by DRIFT_HUNTER - 03.01.2011, 23:43
Re: Engine Key Start wont work - by duukjones - 10.02.2011, 10:24

Forum Jump:


Users browsing this thread: 1 Guest(s)