AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to pass two parameters to set_task (https://forums.alliedmods.net/showthread.php?t=9920)

powerlock 02-03-2005 14:58

How to pass two parameters to set_task
 
I tried to pass two parameters to set_task but don't know how to, I have a public function myfuction(x,y) and I want to setup a task likes set_task(15,"myfuction"), where can I put x and y?

Thanks in advance.

PM 02-03-2005 15:07

a) Use an array
OR
b) Use XS's tasks (check xs.inc)


All times are GMT -4. The time now is 19:26.

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