Quote:
Originally Posted by IceCucumber
Cool plugin! However, it seems to only do its thing if I manually load it, eg. "sm plugins load randcvar" or "sm plugins refresh" to server console. Upon a mapchange, the CVARs will remain in their default values. Is there a way around this? I'm not getting any errors logs, and am quite positive my randcvars.cfg syntax is correct.
Code:
"Randomized_Cvars"
{
"sm_cm_nextmap"
{
"type" "L"
"count" "3"
"item 1" "nt_dawn_ctg"
"item 2" "nt_decom_ctg"
"item 3" "nt_ghost_ctg"
}
}
|
Your syntax does look correct. The plugin loading may depend on the game type. If it's not loading between maps and you need it to, just stick a sm plugins load command in your server.cfg.
edit: Remember, the plugin removes itself from memory after execution.
__________________