Fail Compiling
#6

How the hell I would know that you are a n00b scripter! Anywaz, here's the stock which I found:
pawn Код:
stock GetPlayer2DZone(playerid, zone[], len) //Credits to Cueball, Betamaster, Mabako, and Simon (for finetuning).
{
        new Float:x, Float:y, Float:z;
        GetPlayerPos(playerid, x, y, z);
        for(new i = 0; i != sizeof(gSAZones); i++ )
        {
                if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4])
                {
                    return format(zone, len, gSAZones[i][SAZONE_NAME], 0);

                }
        }
        return 0;
}
Reply


Messages In This Thread
Fail Compiling - by Serizawa - 04.11.2012, 08:53
Re: Fail Compiling - by verlaj - 04.11.2012, 09:11
Re: Fail Compiling - by Serizawa - 04.11.2012, 09:37
Re: Fail Compiling - by Faisal_khan - 04.11.2012, 09:39
Re: Fail Compiling - by Serizawa - 04.11.2012, 09:48
Re: Fail Compiling - by Faisal_khan - 04.11.2012, 09:55
Re: Fail Compiling - by Serizawa - 04.11.2012, 09:58
Re: Fail Compiling - by Serizawa - 04.11.2012, 10:03
Re: Fail Compiling - by Serizawa - 04.11.2012, 10:07
Re: Fail Compiling - by Faisal_khan - 04.11.2012, 10:11

Forum Jump:


Users browsing this thread: 2 Guest(s)