[HELP]F8 Timer
#1

Is it possible to make a timer for f8 which will delay it for 2-3 seconds... Some trollers use that method when u fire at them they repeatedly clicking f8 which will cause no damage to them -_-... Thanks
Reply
#2

Uhm, isn't that a mod? However, you can use
Код:
OnPlayerKeyStateChange(...)
but I am not sure if you can detect the F8 key. Good luck!
Reply
#3

No , i don't think it's possible because to detect the pressed keys there's only one function 'OnPlayerKeyStateChange' and this is the only available Keys.
Reply
#4

Its not a mod. I think its for screenshot. anyway thanks i might try it.
Reply
#5

and i think it's not possible because F8 key is not defined
Reply
#6

It is not possible to use this key. These are the only keys that can be used in SAMP. You have to consider other way of evading from this kind of situations. You can check whether a player has been shot (compare this to shooter data) and if his HP lowerd down, if not then ban him. I believe you will come up with something.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)