Raised This Month: $ Target: $400
 0% 

How to make a delay?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
RelaxMazteR
Member
Join Date: Jul 2009
Location: Sweden
Old 07-21-2011 , 15:17   How to make a delay?
Reply With Quote #1

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:
public handlemenu(idmenuitem){
    new 
szItem[33], _accesscallback;
    
menu_item_getinfo(menuitem_access""0szItem32callback);

    
load(id1szItem);
}

load(idnumber, const szConfigsName[])
{    
    new 
szPath[129];
    
format(szPath128"%s.test"szConfigsName);

NOTE! I has deleted some code so it will be easier to read!
Hope I have posted in the right forum.
RelaxMazteR 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