Raised This Month: $ Target: $400
 0% 

set_task behaving erratically


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Prajch
Senior Member
Join Date: Dec 2007
Location: anger++
Old 08-24-2008 , 11:30   set_task behaving erratically
Reply With Quote #1

I'm using this:

PHP Code:
public function1(id)
{
   new 
taskArguments[4];
   
set_task(0.5"other"idtaskArguments4);
}
 
public 
other(idtaskArguments[])
{
   
console_print(1"[0] %i [1] %i [2] %i [3] %i"taskArguments[0], taskArguments[1], taskArguments[2], taskArguments[3]);
   return 
PLUGIN_HANDLED;

All these values should read zero, but I'm getting seemingly random numbers in huge ranges; 78 or 48199984 or whatever. The only thing that changes the values is what I set as "id" in my set_task. From 0 to 1 to 2 I get a huge variation, and it never properly sends the argument array. Any ideas?

Last edited by Prajch; 08-24-2008 at 11:33.
Prajch 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 03:17.


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