• Retrieve con vars in InitPostEntity hook
    0 replies, posted
Hello, I am trying to retrieve con vars in the InitPostEntity hook, but it seems that the content of the evaluated server.cfg isn't reachable there. I have tried to use GetConVar(String). I created the convar like the following: [CODE]CreateConVar("ds_rounds", 0, bit.bor(0), "How many rounds" )[/CODE] Accessing hostname delivers the "old" servername instead of the configured in the server.cfg. Do I need a later hook or did I missed anything?
Sorry, you need to Log In to post a reply to this thread.