whit3
Gold Elite
- Joined
- Aug 6, 2021
- Messages
- 54
- Reaction score
- 116
- Points
- 246
The installation process is very simple. You just need to paste the code block I provide below at the very bottom of the
pma-voice/client/init/proximity.lua file, and then add your ban trigger according to the anti-cheat or admin menu you are using.
This solution helps detect sound-related exploits and improves the overall security of your server.
For a more secure server experience, you can contact us.
pma-voice/client/init/proximity.lua file, and then add your ban trigger according to the anti-cheat or admin menu you are using.
This solution helps detect sound-related exploits and improves the overall security of your server.
For a more secure server experience, you can contact us.
Code:
local _origAddProximityCheck = addProximityCheck
CreateThread(function()
while true do
Wait(1000)
if addProximityCheck ~= _origAddProximityCheck then
_origAddProximityCheck = addProximityCheck
local selfProx = _origAddProximityCheck(PlayerId())
local randomProx = _origAddProximityCheck(9999)
if selfProx == false and randomProx == true then
print('[^2fiveShield^0]: Sound exploit detected')
--- @todo: Add ban logic here
end
end
end
end)