Jump to content

Help cvar server-client


Recommended Posts

Hello, I have a problem. I have a mod created that works perfectly in single player mode, it creates a cvar with a random init. However, when I put the mod on the server and execute the cvar in the server console, it gives me the random number perfectly, but the client console returns 0. I need the variable to be common both on the server and on the client, but I have been trying for 3 days and I can't achieve it in any way. The cvar is created through xml, I don't know how to do it through dll or if that would be the same way.

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