Jump to content

Do OnCreate functions in /server/ run on the server, or the client?


Hugo Qwerty

Recommended Posts

The obvious answer would be that they run on the server, but that would mean there is lots of 'hidden' network code running to enable that.

 

So I'm inclined to think it is running on the client, is that right?

 

I'm wanting to write an OnCreate that checks the server's global mod data, and I would rather make it MP compatible now instead of needing to re-write it later.

 

I tried searching on the Discord but couldn't find anything (& I only have read access).

Link to comment
Share on other sites

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
×
×
  • Create New...