AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Getting data from a .cfg (https://forums.alliedmods.net/showthread.php?t=215191)

Decompiler 05-04-2013 14:45

Getting data from a .cfg
 
How exactly would I be able to get certain info from a .cfg file and display the info in a menu.

Lets say for example the user is able to add as many options in the config file as they want, and the menu would display all the options.

If you know any tutorials on how to work with config files then that would help too.

fysiks 05-05-2013 01:57

Re: Getting data from a .cfg
 
There are many plugins that do this. Read the tutorials on making menus and then look at code to read from files. Once you understand those, then you can combine them.


All times are GMT -4. The time now is 10:55.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.