22.06.2013, 16:29
pawn Код:
new Float:BusStop[16][3] = {
{1832.73242, -1880.88342, 12.36594},
{1832.60999, -1690.59460, 13.73497},
{1520.96875, -1583.72754, 13.91397},
{1364.55237, -1423.36169, 13.65808},
{1179.68799, -1386.72290, 13.86295},
{771.32434, -1386.78711, 13.86283},
{150.10970, -1539.03699, 10.82432},
{444.45468, -1727.82556, 10.38579},
{503.34659, -1295.16431, 16.03390},
{810.81256, -1060.01526, 25.24116},
{1177.41309, -959.84564, 43.19349},
{1349.26270, -948.11871, 34.95800},
{2254.39746, -1151.61963, 26.58891},
{2853.30054, -1641.15259, 11.13167},
{2448.25122, -1724.31128, 14.03288},
{2112.02832, -1744.08875, 13.72411}
};
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 8.0,BusStop[playerid][0],BusStop[playerid][1],BusStop[playerid][2]))