Quote:
Originally Posted by Sreyas
Crap i didn't notice you put a comment line (//) on each element making only 1 element that made size 1 and random(1) is always zero.(thats why php tags better than code)
PHP код:
static const TruckerSpawn[][SpawnLocation] =
{
// Positions, (Spawnname, X, Y, Z and Facing Angle)
{"Tierra Robada",-1278.0699,2709.5935,50.2663,299.5070},
{"Shady Creeks",-1561.4307,-2733.6567,48.7435,236.4525},
{"UNKOWN Spawn_Name", 2269.3945,-2343.9868,13.5469,314.4856}
};
^^It will work
|
It stop spamming / it's now showing the spawn but.
This first spawn debug, current?
Код:
[21:22:35] iteration = 0
[21:22:35] current = 0
[21:22:35] iteration = 1
[21:22:35] current = 1
2nd Spawn, spawn at the same as First Spawn