Need help with OnPlayerKeyStateChange
#5

Quote:
Originally Posted by judothijs
Посмотреть сообщение
Try this:

pawn Код:
if (newkeys & 16)
{
       // Your function
}
This is the value of KEY_SECUNDARY_ATTACK, and should at least work with F.
EDIT: Got it working, big thanks!
Reply


Messages In This Thread
Need help with OnPlayerKeyStateChange - by pliptm - 31.08.2011, 11:46
Re: Need help with OnPlayerKeyStateChange - by Improvement™ - 31.08.2011, 11:49
Re: Need help with OnPlayerKeyStateChange - by =WoR=Varth - 31.08.2011, 11:53
Re: Need help with OnPlayerKeyStateChange - by judothijs - 31.08.2011, 12:53
Re: Need help with OnPlayerKeyStateChange - by pliptm - 31.08.2011, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)