→Code: Fixed to pass all the varargs. Still has trouble with nils
(Created page with '{{userfunc}} <!-- Leave this line in! --> Call this function to wait a specified amount of time before running another function with the given parameters. This function is usefu...') |
(→Code: Fixed to pass all the varargs. Still has trouble with nils) |
||
| Line 49: | Line 49: | ||
else | else | ||
count = count - 1; | count = count - 1; | ||
f(p); | f(unpack(p)); | ||
end | end | ||
end | end | ||
end); | end); | ||
end | end | ||
tinsert(waitTable,{delay,func,...}); | tinsert(waitTable,{delay,func,{...}}); | ||
return true; | return true; | ||
end | end | ||