Running functions with custon paramaters...
Why wont this work? The function is executed with:
Code:
and the function is loaded like this: Code:
npcid[id] is an global int. I already fixed this by doing it a different way, but i would still like to know why this wouldn't work? |
Code:
|
you cant use arrays for function paramaters? dam.
|
You can, but you assigned its required length as "id", which I don't believe was defined.
|
You can; but they have to be static.
Since ids only range from 0-31, try npcid[32] instead (unless npcid is supposed to be a single id, in which case you'd use a normal variable...). [edit] Damn you, beat me to it. |
ids range from 1-32.
|
0 is the ID of the ded server console
|
Right, what did I say?
|
Quote:
Quote:
|
Quote:
|
| All times are GMT -4. The time now is 19:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.