21.02.2014, 11:57
This error always pops up when I attempt to create a function to apply animations in my own way.
Defines.pwn pastebin
pawn Код:
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);
}
Quote:
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. |