Little error. Having this many times
#4

Quote:
Originally Posted by bartje01
Hey guys. When I use this:
Код:
	}

	if (strcmp("/policetolsv", cmdtext, true, 10) == 0)
	{
	if(PlayerInfo[playerid][Warperm] > 1)
	GangZoneDestroy(LspZone);
  LspZone = GangZoneCreate(1326.343, -1887.144, 1702.824, -1575.273);
 	GangZoneShowForAll( LspZone, 0xFFFF00AA);
 	else
 	SendClientMessage(playerid,red,"You don't have any gang perms");

	

	return 1;
	}
It tells me this
Код:
C:\Users\Bart\Desktop\samp server\filterscripts\ladmin4v2.pwn(5759) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
uhm...good to know which line is the error line well...firstly change it to:

if (strcmp("/policetolsv", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][Warperm] >= 1){
GangZoneDestroy(LspZone);
LspZone = GangZoneCreate(1326.343, -1887.144, 1702.824, -1575.273);
GangZoneShowForAll(LspZone, 0xFFFF00AA);
}else{
SendClientMessage(playerid,red,"You don't have any gang perms");
}
return 1;
}
Reply


Messages In This Thread
Little error. Having this many times - by bartje01 - 15.03.2010, 16:25
Re: Little error. Having this many times - by Correlli - 15.03.2010, 16:27
Re: Little error. Having this many times - by bartje01 - 15.03.2010, 16:32
Re: Little error. Having this many times - by Sascha - 15.03.2010, 16:34
Re: Little error. Having this many times - by biltong - 15.03.2010, 16:34
Re: Little error. Having this many times - by bartje01 - 15.03.2010, 16:36
Re: Little error. Having this many times - by biltong - 15.03.2010, 16:39
Re: Little error. Having this many times - by Correlli - 15.03.2010, 16:49
Re: Little error. Having this many times - by biltong - 15.03.2010, 17:14

Forum Jump:


Users browsing this thread: 1 Guest(s)