• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Error on weapon-config.inc
#2
argument type mismatch means, well, that the argument type mismatched :P

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).
  Reply


Messages In This Thread
Error on weapon-config.inc - by DaZzY - 2020-10-16, 04:33 PM
RE: Error on weapon-config.inc - by Kwarde - 2020-10-16, 04:38 PM
RE: Error on weapon-config.inc - by DaZzY - 2020-10-16, 04:50 PM
RE: Error on weapon-config.inc - by Kwarde - 2020-10-17, 09:04 PM
RE: Error on weapon-config.inc - by DaZzY - 2020-10-21, 11:09 AM
RE: Error on weapon-config.inc - by DaZzY - 2020-10-21, 01:02 PM
RE: Error on weapon-config.inc - by Pinch - 2020-10-21, 10:09 PM

Forum Jump: