View Single Post
impossible_cc
Senior Member
Join Date: Sep 2018
Location: Ukraine
Old 03-17-2019 , 13:54   Re: [EDIT] Change #define to cvar
Reply With Quote #4

Quote:
Originally Posted by AuricYoutube View Post
thank you my guy.

edit: is it possible to re-read the config after a late cvar change for the path, im using berni's mapconfig pluginn and it appears to change the cvar a little too late.
It doesnt matter when cvar is changed. It reads current value of cvar so it is no need to 'update' it's value or something.

The only thing I can advise is replacing OnMapStart() to OnConfigsExecuted(), but even this way it should work perfectly.

Edit: you can add 'OnCvarChanged' and do precache there. If you need it, tell me, I will code it for you.

Last edited by impossible_cc; 03-17-2019 at 13:56.
impossible_cc is offline