Raised This Month: $32 Target: $400
 8% 

How to enable plugin after x seconds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rtpg6
Junior Member
Join Date: Apr 2018
Old 04-13-2018 , 12:52   How to enable plugin after x seconds
Reply With Quote #1

Hello, how to enable plugin after 15 seconds after round start?
rtpg6 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-13-2018 , 23:25   Re: How to enable plugin after x seconds
Reply With Quote #2

In your plugin, hook round start and then use set_task() set to 15 seconds to set an "enabled" variable to True.

See what you're able to accomplish with that info. If you are still having issues, post your plugin with your attempt and we'll help you get it working.
__________________
fysiks is offline
rtpg6
Junior Member
Join Date: Apr 2018
Old 04-14-2018 , 04:59   Re: How to enable plugin after x seconds
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
In your plugin, hook round start and then use set_task() set to 15 seconds to set an "enabled" variable to True.

See what you're able to accomplish with that info. If you are still having issues, post your plugin with your attempt and we'll help you get it working.
Uhmm :/ I dont know how to do this :d
Attached Files
File Type: sma Get Plugin or Get Source (antiblock.sma - 488 views - 3.0 KB)
rtpg6 is offline
rtpg6
Junior Member
Join Date: Apr 2018
Old 04-15-2018 , 10:34   Re: How to enable plugin after x seconds
Reply With Quote #4

uhmm.. u cant help me? :v
@fysiks
rtpg6 is offline
Reply



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 01:30.


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