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

set_task question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 07-17-2020 , 17:14   set_task question
Reply With Quote #1

Hello,
I wanna know where is coded set_task function in AmxModX core, because I want to go lower than 0.1 seconds for the timer, ex 0.01 ( momentary, idk if that is posible, but... I wanna try =)) )

Code:
set_task(Float:time,const function[],id = 0,parameter[]="",len = 0,flags[]="", repeat = 0) The parameters break down as such: Float:time - Interval of timer in seconds @@(minimum 0.1 seconds)

https://wiki.alliedmods.net/Advanced...X_Mod_X)#Tasks

Edit =))) : I just found it here: https://github.com/alliedmodders/amx...modx.cpp#L2666
But it seems to be hardcoded asf
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]

Last edited by Shadows Adi; 07-17-2020 at 17:15.
Shadows Adi is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-17-2020 , 21:15   Re: set_task question
Reply With Quote #2

If you want to go lower, use a thinking entity. Tasks cannot go lower than 0.1.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 22:14.


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