loading origins from a .cfg
1 Attachment(s)
I am making my CTF plugin with .cfg files for the spawn locations of the flag entities. Lets say you install them to: "your_configs_directory\ctf\" and the filename is "map_name.ctf.cfg" so for example "de_aztec.ctf.cfg"
I would get this location/file like this: Code:
then I would check if that file exsists, and if so load the origin from it: Code:
how would I load the information? here is an example from my de_aztec.ctf.cfg I made: Code:
-3311.968750 128.465026 -313.994537also attatched. Thanks in advance. |
Re: loading origins from a .cfg
note: the origins are form pev_origin, so they are floats, forgot to mention that.
[EDIT] dangit I just realized that GHW-Chronic made this a long time ago *waaa, there is no point in making it now, but it would be nice to know how to load from .cfg files (I also has already stopped using this method and went to searching for info_player_start/deathmatch when my friend told me it was already made :( ) |
Re: loading origins from a .cfg
|
| All times are GMT -4. The time now is 10:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.