Save spawn points to file

I want to make it so all spawn points to my gamemode gets saved in /data/tdmrpg/<mapname>.txt
Is that possible?
I just need a way to load it into vector variables.
Its one spawn per team

NOTE: this is not a request just need help on the way

Make a table of all your spawn points as vectors, **[Glon.encode

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Glon.encode)** them and **[File.Write

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=File.Write)** the encoded string.

[editline]06:49PM[/editline]

Then to read them back in, **[File.Read

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=File.Read)** the file and **[Glon.decode

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Glon.decode)** the string to give you the original table.

[editline]06:50PM[/editline]

Sorry for the lack of detail, I am busy.

On last EDIT:
no ploblem

thanks MakeR

off-topic: welcome back from the ban

Thanks, but I never went anywhere, I was on my alt NullPoint.

Oh ok
and you deserve a BIG gold star

Umm, thanks :smile:

People still remember Gold Stars??

Yea I do.