set_task with several (string) parameters?
I know what's wrong, it's my try to get thoose §/§$&%§!" variables into set_task, but how could I make it better?
Code:
My code instantly crashes when called on a dead client ("else" part) |
Update: Changed it to the following:
Code:
Now I get the compile error: muppets-filter.sma(587) : error 048: array dimensions do not match Line 587 is the set_task line |
You cannot send multiple parameters like this
If you would like to do this I suggest you pass an index into something :) |
Since that first parameter is a steamid, and will never have a space in it, you could just join the two strings with a space, pass that as a single string, and then use strbreak() to separate it back into two strings. Just a thought.
\malex\ |
| All times are GMT -4. The time now is 17:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.