Const Correctness with Pawno Compiler version 3.10.10
#3

Quote:
Originally Posted by PatrickGTR
View Post
Code:
preLoadAnim(playerid, const animlib[]) return ApplyAnimation(playerid,animlib,"null", 0.0, 0, 0, 0, 0, 0 );
should be
Code:
preLoadAnim(playerid, const animlib[]) return ApplyAnimation(playerid,animlib,"null", 0.0, 0, 0, 0, 0, 0 );
More information: https://github.com/pawn-lang/compile...st-Correctness
Exactly my thoughts, but when I put that in there, I get this

Code:
error 035: argument type mismatch (argument 2)
Not to mention animlib isnt a constant unchanged value, in theory the const should be "null", 0.0, 0, 0, 0, 0, 0
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)