dynamic allocated arrays possible?
another nice problem i have worked myself into :)
here the thing code: Code:
results in this compiler error: amxxsc: sc1.c:1727: cell adjust_indirectiontables(int *, int, int, int, int, constvalue *): Assertion `dim[cur]>0' failed. in essence: the compiler wants a statically assigned array like this: Code:
my question: is there a way to make the compiler swallow dynamic (=size determined @ runtime) allocated arrays? (as done in the first code segment) |
small doesn't use dynamic arrays
|
For this, you will need to use the Array Module, which is a pain in the butt from what I've heard.
|
no need, found another way to solve this stuff. i kinda dug into sql queries with a l33t coder here. Got some wicked results here a sample :)
Code:
have fun decoding that |
| All times are GMT -4. The time now is 19:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.