Raised This Month: $ Target: $400
 0% 

Timed respawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ancient1
Senior Member
Join Date: Jul 2004
Location: UK
Old 09-19-2012 , 15:50   Re: Timed respawn
Reply With Quote #5

The help guide lists this code

Code:
set_task
[ Main ] [ Core ] [ amxmodx.inc ]
[ comments ]

set_task - Calls function on specified time.
Syntax:
     set_task ( Float:time, const function[], id = 0, const parameter[] = "", len = 0,const flags[] = "", repeat = 0 )
Type:
    Native
Notes:
Flags :

"a" - repeat.
"b" - loop task.
"c" - do task on time after a map timeleft.
"d" - do task on time before a map timelimit.

Example of executing a task once : set_task( 15.0, "MyFunction" )

Remember that functions executed by set_task needs be public.
Not sure it would work as I have posted in previous post?

Cheers,

Ancient
__________________
ancient1 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 08:13.


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