28.03.2009, 00:04
hi i have a strange problem
i use isplayerinarea and its only at this zone work:
i try to add a other zone with xtreme visual mapper, but when i paste the coordinate from the visual mapper its dont work...
i dont get infinity vehicle health..
thx and srry for my bad english
i use isplayerinarea and its only at this zone work:
pawn Код:
forward AreaCheck();
public AreaCheck()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerInArea(i, -1861.632, 436.2632, -1626.008, 629.5665))
{
if(IsPlayerInAnyVehicle(i))
{
SetVehicleHealth(GetPlayerVehicleID(i),9999);
}
}
}
}
i dont get infinity vehicle health..
thx and srry for my bad english