SA-MP Forums Archive
[FilterScript] Anti JoyPad System - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Anti JoyPad System (/showthread.php?tid=405069)



Anti JoyPad System - itay_h7 - 05.01.2013

Hi,
so its a anti joypad system, very usefull for DM modes, made by me.

How it works: First of all, the player that you check needs shoot on player. after he shout on this player, the system will know if the player use Joypad. Its very simple code, but very usefull, don't make lags, and I very recommend this system.

Command (for rcon admin*): /JoyPad [Name/iD]

*login for rcon admin: /Rcon Login [Pass]

Pastebin: Link

Enjoy :]


Re: Anti JoyPad System - Deathlane - 05.01.2013

Explain more about this FS.


Re: Anti JoyPad System - Socan - 05.01.2013

why even make this? can someone please inform me of how the anti joypad acctually works in this situation...


Re: Anti JoyPad System - wups - 05.01.2013

Yeah, this isn't anti joypad, it's rather anti-joypad aim.
When you shoot with joypad on, the GetPlayerTargetPlayer function returns -1.


Re: Anti JoyPad System - ofekw2 - 05.01.2013

itay this fs is good but it is very tool
אני גם מישראל אז סליחה על האנגלית שלי
תודה על השיתוף!


Re: Anti JoyPad System - GhostDeath - 05.01.2013

nice +1 REP


Respuesta: Anti JoyPad System - CaptainMactavish - 06.01.2013

Not bad, it's gonna be useful for me.


Re: Anti JoyPad System - leong124 - 06.01.2013

Isn't the code check if a player actually aim at the hitbox of the another?
If it is so, I guess it will cause problem when someone, who uses mouse but not aiming at another, gives damage and being reported as using joypad? It is because there is always a little desync in SA-MP, causing the actual hitbox is not exactly where the target player's body is on the screen of the player who aim at him.
Quite hard to explain, but I hope you can understand.


Re: Anti JoyPad System - Konstantinos - 06.01.2013

Quote:
Originally Posted by leong124
View Post
It is because there is always a little desync in SA-MP, causing the actual hitbox is not exactly where the target player's body is on the screen of the player who aim at him.
Quite hard to explain, but I hope you can understand.
In other words, lag shooting!


Re: Anti JoyPad System - leong124 - 06.01.2013

Quote:
Originally Posted by Dwane
View Post
In other words, lag shooting!
Yes I want to say that. If someone is lag shooting, wouldn't he be recognised as using joypad? Why?