• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Help cvar server-client

Sammy_1515

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

 
Back
Top