bandana
#8

PHP код:
#define HOLDING(%0) \
    
((newkeys & (%0)) == (%0))
    
if(
HOLDING(KEY_HANDBRAKE))
{
    
//Remove the bandana
}
else
{
    
//create the bandana again

You can remove the bandana if you holding the right mouse button and create it again if you don't press it.
I don't know if you have to use HOLDING or PRESSED.
Reply


Messages In This Thread
bandana - by JoshNudock - 27.08.2015, 15:27
Re: bandana - by SpikY_ - 27.08.2015, 15:46
Re: bandana - by Michael B - 27.08.2015, 15:49
Respuesta: bandana - by JoshNudock - 27.08.2015, 16:24
Respuesta: bandana - by JoshNudock - 27.08.2015, 17:13
Re: bandana - by nezo2001 - 27.08.2015, 17:24
Re: bandana - by SpikY_ - 27.08.2015, 17:31
Re: bandana - by MarvinPWN - 27.08.2015, 17:35
Respuesta: Re: bandana - by JoshNudock - 27.08.2015, 18:02
Re: bandana - by MarvinPWN - 27.08.2015, 19:32

Forum Jump:


Users browsing this thread: 1 Guest(s)