var hostname
hi,
how is it possible to read the hostname from the "server.cfg" and save it into a variable? |
Using a plugin you would do the following:
Code:
new g_hostname[128]Cheers! |
thank you for you post, but i want to know how to read it from the server.cfg
|
If you want to read it from server.cfg instead of the actual cvar for some reason, you'll have to use the file reading functions from file.inc
|
| All times are GMT -4. The time now is 15:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.