Igor4048 Posted January 8 Share Posted January 8 Hello everyone, I found out about this feature quite a long time ago, but only now I started looking at what’s there and how if a person comes to your server with an injector and calls a code something like function tt() for i, v in ipairs(getElementsByType("player")) do triggerServerEvent("random event name", v) end end setTimer (tt, 1, 0) that is, call unknown server events and the server starts to lag through spam in the console. I found how to solve this problem in the client (C++), is it possible to solve this problem through a resource on the server (Lua)? Link to comment
Discord Moderators Zango Posted January 9 Discord Moderators Share Posted January 9 A new event has been added recently to help you detect this, see https://wiki.multitheftauto.com/wiki/OnPlayerTriggerEventThreshold 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