SA-MP Forums Archive
Kick player - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Kick player (/showthread.php?tid=582011)



Kick player - Benac - 17.07.2015

Hi guys, first sorry for my bad english...
How to make when player press f12, kick him


Re: Kick player - [KHK]Khalid - 17.07.2015

You cannot detect when a player presses F12. I suppose you're trying to fight against some hacking mods, there are some server side anti-cheat scripts out there, you can check them out! But, if you want a reliable client side anti-cheat you should go for the one in my signature.


Re: Kick player - Benac - 17.07.2015

i was seen, when player pressed some key npr. "y" then show dialog but i don't know how to is defined f12


AW: Re: Kick player - Kaliber - 17.07.2015

Quote:
Originally Posted by Benac
Посмотреть сообщение
but i don't know how to is defined f12
F12 isn't defined.

Here you have a List of all keys in samp: https://sampwiki.blast.hk/wiki/Keys


Re: Kick player - Benac - 17.07.2015

can i try make own include with ill defined f12 , or it is impossible


Re: Kick player - BladeFire - 17.07.2015

I don't think it's possible...


Re: Kick player - [KHK]Khalid - 17.07.2015

You can't do it in an include. It is quite possible with a client side script though and/or a plugin.


Re: Kick player - Benac - 17.07.2015

ok guys, thanks.. p.s but if they make this plugin it would save samp feew years