Thread: [Solved] set_lights in cvar
View Single Post
chickez
Junior Member
Join Date: Jun 2020
Location: Slovakia
Old 07-02-2020 , 06:09   Re: set_lights in cvar
Reply With Quote #21

Quote:
Originally Posted by fysiks View Post
Answering questions that were asked of you is very helpful so you should consider doing so. Often this will save a lot of time and prevent people from wasting their time doing things that you're not actually requesting.
Sorry, my fault. I skipped that, don't know how .

Quote:
Originally Posted by fysiks View Post
You need to read the cvar at some point and use it when you call set_lights(). When do you want this action to occur?
The best way is, when cvar is changed, then call the func. As you see, I did it with set_task, but I don't know, if set_task will slow plugin or bugging server.
Via orpheu, idk the natives, so i will read it.

Last edited by chickez; 07-02-2020 at 06:12. Reason: nvm
chickez is offline