Configurable Spawnpoints для Garry's Mod
A rather simple addon i ended up making... This addon allows you to place a admin only entity on the map which reconfigures where players spawn!
To place one go into your spawnmenu, go into entities and under LordiAnders's Entities pick "Spawnpoint"
Upon placing one the first thing you are gonna notice is... Nothing happend!
Now... That is not entirely true... Its because its invisible and not showing for you
You can make it appear by typing lordi_spawners_draw 1 in your console! (You must be admin before it will appear)
Once one of these are placed, every player that tries to spawn will instead spawn at a random point youve placed (you can have as many as you want)
And for the server owners... Its possible to save them too! Spawn a couple and type lordi_spawners_save in your console! (You must be superadmin to use that) and it will save a data file with all the positions
Once the map loads or you use lordi_spawners_spawn they will automaticly spawn!
They save under data/lordi_spawners/<Map name>.txt and will automaticly spawn if the map has a data file stored
Incase you need to get rid of them you can type lordi_spawners_clear to cleanse the map of spawners and its saved data file (if it had any)
(This was mainly to get a little practise in data storage)
To place one go into your spawnmenu, go into entities and under LordiAnders's Entities pick "Spawnpoint"
Upon placing one the first thing you are gonna notice is... Nothing happend!
Now... That is not entirely true... Its because its invisible and not showing for you
You can make it appear by typing lordi_spawners_draw 1 in your console! (You must be admin before it will appear)
Once one of these are placed, every player that tries to spawn will instead spawn at a random point youve placed (you can have as many as you want)
And for the server owners... Its possible to save them too! Spawn a couple and type lordi_spawners_save in your console! (You must be superadmin to use that) and it will save a data file with all the positions
Once the map loads or you use lordi_spawners_spawn they will automaticly spawn!
They save under data/lordi_spawners/<Map name>.txt and will automaticly spawn if the map has a data file stored
Incase you need to get rid of them you can type lordi_spawners_clear to cleanse the map of spawners and its saved data file (if it had any)
This will not work in other gamemodes than Sandbox!
(This was mainly to get a little practise in data storage)