sedoun_reda Posted July 1 Share Posted July 1 helo mta ihave one of the big server in maroc but i heve i big problem with cheaters i have the cheat i i well give you the cheat for fix this problem his name is gazmask please stop it l have it how i gona give you it Link to comment
Korea Posted July 1 Share Posted July 1 (edited) local wasReconnected = {} local skipPlayer = {} addEventHandler("onPlayerConnect", root, function(_, _, _, serial) if (wasReconnected[serial] or 0) > getTickCount() then skipPlayer[serial] = true return end skipPlayer[serial] = nil wasReconnected[serial] = nil end) addEventHandler("onPlayerResourceStart", root, function() if skipPlayer[getPlayerSerial(source)] then return end if not wasReconnected[getPlayerSerial(source)] then wasReconnected[getPlayerSerial(source)] = getTickCount() + 10000 redirectPlayer(source, "127.0.0.1", 22003) -- change to your server ip end end) Btw make sure your server require latest mta client version (you can do it via acpanel). Edited July 1 by Korea Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now