andreixd23 / zombiereloaded

Automatically exported from code.google.com/p/zombiereloaded
0 stars 0 forks source link

Random destinations for ztele #202

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
http://forums.alliedmods.net/showthread.php?t=121117

Cache all spawn points by adding them to a list when players spawn, and pick 
random ones when they use ztele.

Original issue reported on code.google.com by richard.helgeby@gmail.com on 5 Jul 2010 at 4:08

GoogleCodeExporter commented 8 years ago
Maybe make another (static) list that tell which spawn points that are cached. 
Something like:

new bool:HasSpawnPoint[MAXPLAYERS + 1];

Original comment by richard.helgeby@gmail.com on 5 Jul 2010 at 4:10