OnPlayerKeyStateChange
#1

Hi alll..
I need somehelp with OnPlayerKeyStateChange public, when i use if(newkeys & KEY_FIRE), lets take example and i'll explain:

if(newkeys & KEY_FIRE) // /tow command
then the code under it, then after new one using if(newkeys & KEY_FIRE):

if(newkeys & KEY_FIRE) // /untow command
under it code bla bla bla

On game - first press ctrl/fire button the towtruck tows the vehicle but on second time to untow the vehicle doesn't respond

means /untow command key doesn't work, can someone explain me why and tell me what's wrong with that?
Reply


Messages In This Thread
OnPlayerKeyStateChange - by Lidor124 - 13.02.2014, 12:30
Re: OnPlayerKeyStateChange - by $Marco$ - 13.02.2014, 12:36
Re: OnPlayerKeyStateChange - by Threshold - 13.02.2014, 12:43
Re: OnPlayerKeyStateChange - by Lidor124 - 13.02.2014, 12:49
Re: OnPlayerKeyStateChange - by $Marco$ - 13.02.2014, 13:02
Re: OnPlayerKeyStateChange - by Threshold - 13.02.2014, 13:05

Forum Jump:


Users browsing this thread: 1 Guest(s)