#1

under OnPlayerDeath
pawn Код:
if(pInfo[playerid][Team] == 2)
    {
        new Float:XZ;
        new Float:YZ;
        new Float:ZZ;
        GetPlayerPos(playerid, XZ, YZ, ZZ);
        {
            DeathArea = GangZoneCreate(XZ-20, YZ-20, XZ+20, YZ+20);
        }
        GangZoneShowForAll(DeathArea, VIRUS_ZONE_COLOR);
    }
then I need something like this on the timer
pawn Код:
if(IsPlayerInArea(i, XZ-20, XZ+20, YZ-20, YZ+20))//wont work, how should I do it ?
how will I put the coords ? That one won't work
Reply


Messages In This Thread
Help - by marinov - 09.04.2011, 16:44
Re: Help - by marinov - 11.04.2011, 21:50
Re: Help - by Unknown123 - 12.04.2011, 02:14
Re: Help - by marinov - 12.04.2011, 02:22
Re: Help - by Lorenc_ - 13.04.2011, 04:49
Re: Help - by marinov - 13.04.2011, 11:59
Re: Help - by Lorenc_ - 14.04.2011, 07:22
Re: Help - by marinov - 15.04.2011, 19:41
Re: Help - by marinov - 18.04.2011, 02:54
Re: Help - by iJumbo - 18.04.2011, 06:07

Forum Jump:


Users browsing this thread: 1 Guest(s)