Raised This Month: $ Target: $400
 0% 

How to make a delay?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-21-2011 , 18:37   Re: How to make a delay?
Reply With Quote #5

[QUOTE=RelaxMazteR;1515523]Hey! I want to know how I can make a delay for 2 seconds when calling a function. I has tried to make a task but I cant get it to work with my value.

PHP Code:
// Code removed.  See Bugsy's code below.
// I made a couple errors. 
Quote:
Originally Posted by plowed View Post
I think you can do it here too http://forums.alliedmods.net/showthread.php?t=162085
look at fysiks last post
Nope, he just wants to delay the task. The code I presented there is to see if a command is allowed (depending on how long ago the last usage was).
__________________

Last edited by fysiks; 07-21-2011 at 22:16.
fysiks 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 01:09.


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