Raised This Month: $ Target: $400
 0% 

[HELP] How do I loop set_task for only a few seconds.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GoldNux
Senior Member
Join Date: Mar 2018
Old 04-21-2018 , 13:26   [HELP] How do I loop set_task for only a few seconds.
Reply With Quote #1

I would like to print the players money to chat every second for 9 seconds. (freeze time)
I have tried using 9 different set tasks but I know this is not good to do, and it doesent print anything when I do this.

Is there a way to loop a function during freezetime only?
I want to do this so that the money stays updated when players make a purchase.
Hooking an event instead does not work for this, if someone buys more then the others that player obviously prints more.
I'm not sure if this will look good in the end, because I'm not sure looping set_task will make them print in the same order, but I think so.

Thanks.
__________________
Try my version of de_dust2, I think it's great and you should check it out!
https://gamebanana.com/mods/83731

Last edited by GoldNux; 04-21-2018 at 13:32.
GoldNux 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 04:39.


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