Raised This Month: $51 Target: $400
 12% 

Solved set_lights in cvar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
chickez
Junior Member
Join Date: Jun 2020
Location: Slovakia
Old 07-02-2020 , 06:09   Re: set_lights in cvar
Reply With Quote #16

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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode