Make Player Spawns more Perfect
#10

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
Reply


Messages In This Thread
Make Player Spawns more Perfect - by DerickClark - 26.01.2017, 11:39
Re: Make Player Spawns more Perfect - by SyS - 26.01.2017, 11:50
Re: Make Player Spawns more Perfect - by DerickClark - 26.01.2017, 11:58
Re: Make Player Spawns more Perfect - by SyS - 26.01.2017, 12:01
Re: Make Player Spawns more Perfect - by DerickClark - 26.01.2017, 12:11
Re: Make Player Spawns more Perfect - by SyS - 26.01.2017, 12:40
Re: Make Player Spawns more Perfect - by SyS - 27.01.2017, 00:47
Re: Make Player Spawns more Perfect - by DerickClark - 27.01.2017, 01:48
Re: Make Player Spawns more Perfect - by SyS - 27.01.2017, 02:25
Re: Make Player Spawns more Perfect - by DerickClark - 27.01.2017, 02:30

Forum Jump:


Users browsing this thread: 2 Guest(s)