Raised This Month: $ Target: $400
 0% 

[HELP] set_task[(id+TASK_NAME)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 01-20-2016 , 12:29   [HELP] set_task[(id+TASK_NAME)
Reply With Quote #1

Ahm, I've got some time playing with set_tasks, but I never been in this situation..
Can anyone explain to me please who index I use in check if is alive? the "idtask", or I have to do new id -= TASK_NAME and check id?

Code:
#define TASK_NAME 33333

public client_putinserver(id)
{
          set_task(1.0, "DisplayMessage", id+TASK_NAME)
}

public DisplayMessage(idtask)
{
         if(is_user_alive(?))
         {
                rabid rabbits
         }
}
__________________

Last edited by Depresie; 01-20-2016 at 12:30.
Depresie is offline
 


Thread Tools
Display Modes

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 09:22.


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