I’m doing a GameMode, and I have a problem I can not seem to solve!
My problem: I don’t spawn on the “info_player_start” (ex on gm_flatgrass: spawn at: 0 x, 0 y, 63 z)
I try by adding:
[LUA]function GM:PlayerSelectSpawn (pl)
Local spawns ents.FindByClass = ("info_player_start") Local random_entry = math.random (# spawns) return spawns [random_entry]
But still the same problem …
If anyone has an idea
PS: Sorry for my bad english