Code working for id 0 only ?
#1

pawn Код:
if(Team[playerid] != ASIA)
    {
        if(hittype == BULLET_HIT_TYPE_OBJECT)
        {
        if(IsPlayerInArea(playerid,1278.047851, -939.960571, 1374.047851, -819.960571))
        {
                if(hitid == Mec[playerid])
                {
                SetTimerEx("GettingBase", 12000, false, "i", playerid);
                GangZoneFlashForPlayer(playerid,GZ_ZONE1,COLOR_RED);

                       
                       
                    }
                    }
                }
            }
Callback is OnPlayerWeaponShot
Mec[1] = Is a variable for an object.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)