Quote:
Originally Posted by stupok
That's the line you should show us, then.
|
I did explain the code I had, it's not that hard to imagine a fricken set_task =), ok LOOK:
Code:
public function(id)
{
static origin[3]
get_user_origin(id, origin)
set_task(1.0, "do_something", origin)
}
public do_something(origin[3])
{
/* blablabla spawn something at origin */
}
the error:
test.sma(15) : error 035: argument type mismatch (argument 3)
(line 15 is the set_task)
PS: like I said, I found another method to do this, but just to know how it's made in case I need to send an array via set_task() or something...
__________________