Jump to content

Stop triggering


Yunix

Recommended Posts

Posted

So i have a function server side that is being triggered by an client sided function that's being started with the event "onClientRender". The problem is whenever i script in the server side and i make a mistake the server console spams that the server sided function is not there but that's because that script has an error and can not be started, so my question is, could the triggerServerEvent be stopped when it can't find the server sided function when it gets an error?

Posted

Actually no, and triggering server sided events from client side with onClientRender is so wrong, if there is 10 players in the server the event would trigger 300 times in a second, anyways make sure the second argument in addEvent is true

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...