09.04.2011, 16:44
under OnPlayerDeath
then I need something like this on the timer
how will I put the coords ? That one won't work
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);
}
pawn Код:
if(IsPlayerInArea(i, XZ-20, XZ+20, YZ-20, YZ+20))//wont work, how should I do it ?