Hey guys,
If I had some panels and etc and wanted my addon to be configured in-game where would you save the values?
To a database? Cheers.
EDIT: I mean values like “MAX_BALLONS 30”, admin cvars basically, that only an admin can edit.
Hey guys,
If I had some panels and etc and wanted my addon to be configured in-game where would you save the values?
To a database? Cheers.
EDIT: I mean values like “MAX_BALLONS 30”, admin cvars basically, that only an admin can edit.
Use a serverside convar with FCVAR_ARCHIVE in the flags. Whenever a client changes the value, send a net message to the server with the changed value and verify the player is the correct rank to alter it.
Thanks for the quick answer