Creating Command With Key On Keyboard?
#6

Read up on it here https://sampwiki.blast.hk/wiki/Keys and here https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange plus make sure you have this defined
Код:
#define PRESSED(%0) \
	(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
Reply


Messages In This Thread
Creating Command With Key On Keyboard? - by hichay - 27.11.2014, 07:53
Re: Creating Command With Key On Keyboard? - by Alex Magaсa - 27.11.2014, 08:08
Re: Creating Command With Key On Keyboard? - by hichay - 27.11.2014, 08:26
Re: Creating Command With Key On Keyboard? - by M4D - 27.11.2014, 08:38
Re: Creating Command With Key On Keyboard? - by hichay - 27.11.2014, 15:08
Re: Creating Command With Key On Keyboard? - by LeXuZ - 27.11.2014, 15:18
Re: Creating Command With Key On Keyboard? - by Raweresh - 27.11.2014, 15:20
Re: Creating Command With Key On Keyboard? - by hichay - 28.11.2014, 04:42
Re: Creating Command With Key On Keyboard? - by PowerPC603 - 28.11.2014, 04:50

Forum Jump:


Users browsing this thread: 2 Guest(s)