21.03.2010, 21:16
Sorry, but your code doesn't make any sense
Are you sure you didn't forget an if () somewhere ?
pawn Код:
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;
}