View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-22-2018 , 01:16   Re: Pass ConVar value to other plugins
Reply With Quote #7

Quote:
Originally Posted by Dr!fter View Post
Be careful with passing handles (I’m not entirely sure what happens if you pass the convar and the owner of the handle is unloaded.) I assume the handle is invalid after that but not sure.
ConVar handles are owned by the SourceMod core.

Edit: Or more accurately, their owner is NULL and identity is a pointer to the SourceMod core, which amounts to the same thing.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-22-2018 at 01:31.
Powerlord is offline