Jump to content

non-existent serverEvents


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...