05.07.2010, 18:02
Desconozco lo conocimientos que tienes, pero debes modificar esto:
Si sabes emplear los "IsPlayerInRangeOfPoint" no deberнa haber problema, quitas y pones las coordenadas que quieras. Si no sabes hacerlo te lo explico yo o cualquier otro.
pawn Код:
public IsAtDealership(playerid)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInRangeOfPoint(playerid, 125, 2128.0864,-1135.3912,25.5855) || IsPlayerInRangeOfPoint(playerid, 50,537.3366,-1293.2140,17.2422) || IsPlayerInRangeOfPoint(playerid, 50, 299.1723,-1518.6627,24.6007) || IsPlayerInRangeOfPoint(playerid, 75, 2781.0132,-1613.7152,10.9219) || IsPlayerInRangeOfPoint(playerid, 75, 1756.2378,-2546.2749,13.5469) || IsPlayerInRangeOfPoint(playerid, 75, 2520.0972,-1519.7384,23.9370))
{
return 1;
}
}
return 0;
}