Raised This Month: $ Target: $400
 0% 

set_task question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


Thread Tools
Display Modes

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 13:48.


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