key-strokes if
#6

Quote:
Originally Posted by MP2
Посмотреть сообщение
if(HOLDING(KEY_AIM) && PRESSED(KEY_FIRE))

KEY_AIM isn't defined by default. Add this at the top of your script:

#define KEY_AIM KEY_HANDBRAKE

Also, HOLDING() and PRESSED() are macros that can be found here: https://sampwiki.blast.hk/wiki/GetPlayerKeys

Help to happy, am I.
Thank you
Reply


Messages In This Thread
key-strokes if - by Omirrow - 28.03.2013, 18:11
Re: key-strokes if - by MP2 - 28.03.2013, 18:12
Re: key-strokes if - by Omirrow - 28.03.2013, 18:15
Re: key-strokes if - by Omirrow - 28.03.2013, 18:25
Re: key-strokes if - by MP2 - 28.03.2013, 18:55
Re: key-strokes if - by Omirrow - 28.03.2013, 18:56
Re: key-strokes if - by MP2 - 28.03.2013, 18:57
Re: key-strokes if - by Omirrow - 28.03.2013, 18:59
Re: key-strokes if - by Omirrow - 28.03.2013, 19:03
Re: key-strokes if - by Omirrow - 28.03.2013, 19:40

Forum Jump:


Users browsing this thread: 3 Guest(s)