Raised This Month: $ Target: $400
 0% 

repeating task?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Chex
Junior Member
Join Date: Jun 2006
Old 06-05-2006 , 21:29   repeating task?
Reply With Quote #1

Code:
if(get_user_health(targetid) <= 1)     {         user_silentkill(targetid)         make_deathmsg (id,targetid,0,"Loss of Life")     }     else set_user_health(targetid,get_user_health(targetid)-1)

What would I do to repeat that ever 20 secs? I know to start it would be
Code:
set_task(20.0,???...)
But what would I put in ??? to make it run that function and only that function forever?
Chex 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 16:33.


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