02.07.2012, 08:34
pawn Код:
public IsAtGasStation(playerid)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInRangeOfPoint(playerid,30,1004.0070,-939.3102,42.1797) || IsPlayerInRangeOfPoint(playerid,30,1944.3260,-1772.9254,13.3906))
else if(IsPlayerInRangeOfPoint(playerid,30,-90.5515,-1169.4578,2.4079) || IsPlayerInRangeOfPoint(playerid,30,-1609.7958,-2718.2048,48.5391))
else if(IsPlayerInRangeOfPoint(playerid,30,-2029.4968,156.4366,28.9498) || IsPlayerInRangeOfPoint(playerid,30,-2408.7590,976.0934,45.4175))
else if(IsPlayerInRangeOfPoint(playerid,30,-2243.9629,-2560.6477,31.8841) || IsPlayerInRangeOfPoint(playerid,30,-1676.6323,414.0262,6.9484))
else if(IsPlayerInRangeOfPoint(playerid,30,2202.2349,2474.3494,10.5258) || IsPlayerInRangeOfPoint(playerid,30,614.9333,1689.7418,6.6968))
else if(IsPlayerInRangeOfPoint(playerid,30,-1328.8250,2677.2173,49.7665) || IsPlayerInRangeOfPoint(playerid,30,70.3882,1218.6783,18.5165))
else if(IsPlayerInRangeOfPoint(playerid,30,2113.7390,920.1079,10.5255) || IsPlayerInRangeOfPoint(playerid,30,-1327.7218,2678.8723,50.0625))
else if(IsPlayerInRangeOfPoint(playerid,30,656.4265,-559.8610,16.5015) || IsPlayerInRangeOfPoint(playerid,30,656.3797,-570.4138,16.5015))
}
return 1;
}