Raised This Month: $ Target: $400
 0% 

Set And Remove Tasks


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-04-2009 , 21:46   Re: Set And Remove Tasks
Reply With Quote #7

Show your full code and I will tell you if it is correct.

I can tell you that the below code is incorrect because you are trying to use the variable "id" which does not exist. Only some situations require adding a player id to the task id so don't always assume it is needed.

PHP Code:
#define TASKID_LOL 100
public plugin_init() {
     
set_task(1.0"LOL"TASKID_LOL+id)

__________________

Last edited by Bugsy; 06-04-2009 at 23:04.
Bugsy 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 13:53.


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