08.07.2010, 12:22
no errors no warning but not work any help ??
pawn Код:
public killzone(playerid)
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X, Y, Z);
if(X >= 1331.278 && X <= 2207.118 && Y >= -2755.979 && Y <= -2125.373)
{
SendClientMessage(playerid,COLOR_RED,"you are in ADMIN ZONE!!!");
print("admin zone violated");
SetPlayerHealth(playerid,0);
}
return 1;
}