View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-24-2010 , 01:33   Re: [HOWTO] Using XVars
Reply With Quote #4

Quote:
Originally Posted by Exolent[jNr] View Post
No, I've never used the profiler or anything.
But since they aren't the same as cvars (Xvars being security to plugins only) I think the choice between the 2 should be based on how they are needed.
I think that speed should be considered in some situations.


So, you said that set_xvar_XXX works only in the "main" plugin ?
Or is this the way to set an xvar from an outside plugin ?



Also, i think that native xvar_exists is useless when get_xvar_id does actually the same + returns the index.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 09-24-2010 at 01:36.
ConnorMcLeod is offline