stock ApplyAnim(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync = 0)//Line 169
{
SetPVarInt(playerid, "AnimationApplied", 1);
return ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);
}
E:\Scripting\pawno\include\progress.inc(170) : warning 217: loose indentation E:\Scripting\pawno\include\progress.inc(172) : warning 217: loose indentation ../src/defines.pwn(169) : error 001: expected token: "-string end-", but found "-identifier-" ../src/defines.pwn(169) : error 010: invalid function or declaration ../src/defines.pwn(169 -- 172) : error 010: invalid function or declaration ../src/defines.pwn(169 -- 172) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
I can't find anything wrong with it. It's really an odd error. Try adding the stock to your gamemode directly, does it give the same errors again?
|
#define ApplyAnim(%0,%1,%3,%4,%5,%6,%7,%8,%9) \
SetPVarInt(%0, "AnimationApplied", 1); \
ApplyAnimation(%0, %1, %2, %3, %4, %5, %6, %7, %8, %9);
stock ApplyAnim(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
{
SetPVarInt(playerid, "AnimationApplied", 1);
return ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);
}
Even if you use it as definition?
pawn Код:
|