29.03.2019, 15:02
I need a way to loop through this coordinates and check if the player is in a range of them.
How?
pawn Code:
static const Float:RandomSpawn[][4] =
{
{1320.7914,1262.0884,10.8203,357.0813},
{408.3192,2452.5623,16.5000,5.9386},
{-1321.2762,-219.7926,14.1484,12.5747 },
{1910.8484,-2419.6887,13.5391,182.4597},
{-2310.8376,-1616.5333,483.8190,176.1664},
{-2416.7188,332.4720,34.9688,240.4801},
{-2594.4063,460.8942,14.6094,0.4960},
{-2898.3438,486.8863,4.9141,271.0871},
{-2873.9099,735.1693,29.9604,278.4891},
{-2894.7317,1077.8719,31.4435,269.9459},
{-2897.3389,1175.7565,12.2720,266.9634},
};