28.03.2009, 20:44
ok, here are the coordinates.
1653.387, -2771.438, 2341.7, -2396.403
when i do this at gangzone, i see the gangzone, but when i put this in isplayerinarea its dont work.
please help
1653.387, -2771.438, 2341.7, -2396.403
when i do this at gangzone, i see the gangzone, but when i put this in isplayerinarea its dont work.
pawn Код:
forward AreaCheck();
public AreaCheck()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerInArea(i, 1653.387, -2771.438, 2341.7, -2396.403))
{
if(IsPlayerInAnyVehicle(i))
{
SetVehicleHealth(GetPlayerVehicleID(i),9999);
}
}
}
}
please help

