09.06.2009, 15:12
My SFAP DM area is under construction,
So if anyone goes near the runway it will kill them,
If i goto sfap and go NEAR the runway it kills me,
But its supposed to KILL me when im ON the runway,
Its working i know that, Cause it kills me near the runway,
Is it supposed to do that or is it a bug,
So if anyone goes near the runway it will kill them,
If i goto sfap and go NEAR the runway it kills me,
But its supposed to KILL me when im ON the runway,
Its working i know that, Cause it kills me near the runway,
Is it supposed to do that or is it a bug,
pawn Код:
public isPlayerInArea()
{
new Float:X, Float:Y, Float:Z;
for(new i=0; i < MAX_PLAYERS; i++)
{
GetPlayerPos(i, X, Y, Z);
if (X <= -1088 && X >= -1644 && Y <= 431 && Y >= -177)
{
SetPlayerHealth(i, -999999.9);
}
}
}