if (strcmp("/challenge", cmdtext, true, 10) == 0) { //GROVEZONE new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); { if (X <= 2235.0000 && X >= -1729.0000 && Y <= 2501.0000 && Z >= -1642.0000) SendClientMessage(playerid, red, "Remember that this is only possible in a turf zone"); else GangZoneFlashForAll(GroveZone,0xFF0000FF); } //Ballas zone else { if (X <= 1839.726 && X >= -1263.401 && Y <= 2075.502 && Z >= -1054.171) SendClientMessage(playerid, red, "Remember that this is only possible in a turf zone"); else GangZoneFlashForAll(GroveZone,0xFF0000FF); } return 1; }
C:\Users\Bart\Desktop\samp server\filterscripts\ladmin4v2.pwn(5947) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
if (strcmp("/challenge", cmdtext, true) == 0)
{
//GROVEZONE
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X,Y,Z);
if (X <= 2235.0000 && X >= -1729.0000 && Y <= 2501.0000 && Z >= -1642.0000)
{
SendClientMessage(playerid, red, "Remember that this is only possible in a turf zone");
}
else
{
GangZoneFlashForAll(GroveZone,0xFF0000FF);
}
}
//Ballas zone
else
{
if (X <= 1839.726 && X >= -1263.401 && Y <= 2075.502 && Z >= -1054.171)
{
SendClientMessage(playerid, red, "Remember that this is only possible in a turf zone");
}
else
{
GangZoneFlashForAll(GroveZone,0xFF0000FF);
}
return 1;
}
Originally Posted by Fabio11
Where's the line 5947 ??
|