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.
[QUOTE=code_gs;52723192]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.[/QUOTE]
Thanks for the quick answer
Sorry, you need to Log In to post a reply to this thread.