Hello,
Create variables to store each pickup positions:
CreateDynamicPickup(modelid, type, Float
, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float
treamdistance = 100.0);
New PickupX[100], PickupY[100], Pickup[100];
CreateDynamicPickup_(modelid, type, Float
, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float
treamdistance = 100.0)
{
new Pickup = CreateDynamicPickup(modelid, type, Float
, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float
treamdistance = 100.0);
PickupX[Pickup] = x
.............