/stop
#1

Hello, im working on a stop animation command, but i cant get it working:

Код:
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;
}
The errors:
Код:
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.
Reply


Messages In This Thread
/stop - by Jimmy0wns - 27.04.2013, 15:32
Re: /stop - by Faisal_khan - 27.04.2013, 15:40

Forum Jump:


Users browsing this thread: 1 Guest(s)