Quote:
Originally Posted by AuricYoutube
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.