2020-10-16, 04:38 PM
argument type mismatch means, well, that the argument type mismatched :P
Example of an argument mismatch:
As you can see, Foo() expects the second argument to be a tagless integer. I used a string ("2" rather than 2). This will result in the error you've shown.
Check that line in weapon-config.inc and check the second argument, and then check the function it's mismatched in to see what it's supposed to be.
Might be you did something wrong too (since most people don't have that issue with weapon-config.inc).
Example of an argument mismatch:
Code:
Foo(a, b);
main() printf("%d", Foo(1, "2"));
As you can see, Foo() expects the second argument to be a tagless integer. I used a string ("2" rather than 2). This will result in the error you've shown.
Check that line in weapon-config.inc and check the second argument, and then check the function it's mismatched in to see what it's supposed to be.
Might be you did something wrong too (since most people don't have that issue with weapon-config.inc).