CMD Errors
#1

Hello,
I'm using the SPU[Special Police Units] FS, and I defined "zcmd" and changed the /spu command to ZCMD, and I get these errors:
Код:
error 029: invalid expression, assumed zero
error 017: undefined symbol "cmd_spu"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Here's the command:
Код:
CMD:spu(playerid, params[])
{
	if(GetPlayerSkin(playerid) != 280 && GetPlayerSkin(playerid) != 281 && GetPlayerSkin(playerid) != 282 && GetPlayerSkin(playerid) != 283 && GetPlayerSkin(playerid) != 284 && GetPlayerSkin(playerid) != 285 && GetPlayerSkin(playerid) != 286 && GetPlayerSkin(playerid) != 287 && GetPlayerSkin(playerid) != 288)
	{
		ShowPlayerDialog(playerid, 1123, DIALOG_STYLE_LIST, "So you want to have a SPU, what one do you want then?", DIALOG1_MSG, "Take it", "Leave it" );
	}
	else
	{
 		SendClientMessage(playerid, COLOR_RED, "You need to be in the Police Force to beable to use this.");
	}
	return 1;
}
Reply


Messages In This Thread
CMD Errors - by F9 - 21.02.2012, 15:20
Re: CMD Errors - by Konstantinos - 21.02.2012, 15:27
Re: CMD Errors - by niels44 - 21.02.2012, 15:29
Re: CMD Errors - by F9 - 21.02.2012, 15:33
Re: CMD Errors - by Konstantinos - 21.02.2012, 15:34
Re: CMD Errors - by niels44 - 21.02.2012, 15:35
Re: CMD Errors - by F9 - 21.02.2012, 15:55
Re: CMD Errors - by emokidx - 21.02.2012, 15:57
Re: CMD Errors - by Konstantinos - 21.02.2012, 15:57
Re: CMD Errors - by F9 - 21.02.2012, 16:01

Forum Jump:


Users browsing this thread: 2 Guest(s)