05.01.2014, 18:54
Remove LootObjects[MAX_LOOTS] and its values and add the values to LootSpawns directly..
Egs: if ---- LootObjects[3]={123, 213, 111}; //Remove this
new LootSpawns[MAX_LOOTS][LootDet]={
{"Dummy", 123, 0.0, 0.0, 0.0, 0.0, 1, 1, 2},
{"Coconut", 213, 467.48990, 4564.91650, 35.92552, 0.0, 1, 1, 2},
{"Coconut", 111, 424.87997, 4487.82666, 35.97768, 0.0, 1, 1, 1},
Egs: if ---- LootObjects[3]={123, 213, 111}; //Remove this
new LootSpawns[MAX_LOOTS][LootDet]={
{"Dummy", 123, 0.0, 0.0, 0.0, 0.0, 1, 1, 2},
{"Coconut", 213, 467.48990, 4564.91650, 35.92552, 0.0, 1, 1, 2},
{"Coconut", 111, 424.87997, 4487.82666, 35.97768, 0.0, 1, 1, 1},