27.04.2013, 15:32
Hello, im working on a stop animation command, but i cant get it working:
The errors:
Код:
if (strcmp("/stop", cmdtext, true, 10) == 0)
{
if GetPlayerSpecialAction(playerid, 0)
{
SendClientMessage(playerid, 0xffffffff, "You are not in an animation");
}
else
SetPlayerSpecialAction(playerid, 0);
SendClientMessage(playerid, 0xffffffff, "You have stopped your current animation");
}
return 1;
}
Код:
C:\Users\PC1\Desktop\Servers\SA-MP Server\gamemodes\pilot.pwn(644) : error 010: invalid function or declaration C:\Users\PC1\Desktop\Servers\SA-MP Server\gamemodes\pilot.pwn(646) : error 010: invalid function or declaration C:\Users\PC1\Desktop\Servers\SA-MP Server\gamemodes\pilot.pwn(650) : error 010: invalid function or declaration C:\Users\PC1\Desktop\Servers\SA-MP Server\gamemodes\pilot.pwn(654) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.

