Logic fail on my part. I am clueless in this matter. Let's say I have currently something like
pawn Код:
enum StrongTag {
var,
str[10],
Float:dim
}
new Bar[StrongTag] = {
1,
"sup",
-1.0
};
new Car[StrongTag];
stock Foo(v, s[], Float:d) {
Car[var] = v;
strcpy(Car[str], s);
Car[dim] = d;
return 1;
}
main() {
Foo(Bar[var], Bar[str], Bar[dim]);
}
However I know that the StrongTag enum will grow, and there won't be two variables, but ~25, and I'd have to find all calls to Foo, pass additional arguments, and change Foo definition - scalability is important in this project.
I saw
https://sampforum.blast.hk/showthread.php?tid=337110 but I don't know how to apply it in this case.