10.09.2018, 21:27
I have a list of coordinates and by a command i want to show a dynamic cp by taking coordinates from that list:
But checkpoint doesn't show. What i'm doing wrong?
pawn Код:
new rand = random(sizeof(PizzaDeliveryLocation));
PizzaJobCheckpoint = CreateDynamicCP(PizzaDeliveryLocation[rand][0],PizzaDeliveryLocation[rand][1],PizzaDeliveryLocation[rand][2], 0, 0, .streamdistance = 200.0);
pawn Код:
#define PIZZA_CHECKPOINTS 24
new Float:PizzaDeliveryLocation[PIZZA_CHECKPOINTS][4] = {
{2065.9780,-1703.4775,14.1484,90.8956},
{2068.2600,-1656.4601,13.5469,86.9378},
{2068.8579,-1643.8237,13.5469,90.3844}
};