Assumed a zero error problem please help
#3

Sorry, but your code doesn't make any sense

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;
}
Are you sure you didn't forget an if () somewhere ?
Reply


Messages In This Thread
Assumed a zero error problem please help - by bartje01 - 21.03.2010, 21:10
Re: Assumed a zero error problem please help - by Fabio11 - 21.03.2010, 21:14
Re: Assumed a zero error problem please help - by dice7 - 21.03.2010, 21:16
Re: Assumed a zero error problem please help - by bartje01 - 21.03.2010, 21:19
Re: Assumed a zero error problem please help - by Fabio11 - 23.03.2010, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)