[Help] How to create a config or .ini
How to create a config or .ini saved in the addons/configs folder where it saves the information like this using nvault: mapname, totalvotes, average and votenumber.
|
Re: [Help] How to create a config or .ini
A config or ini file is just a plain text file. You can just create a text file and rename it.
|
Re: [Help] How to create a config or .ini
Thats my question, how to do this?
|
Re: [Help] How to create a config or .ini
|
Re: [Help] How to create a config or .ini
I'm trying to add the second argument as a variable, but it seems it has to be an array. How to fix this with a variable? Should i use formatex?
EDIT: PHP Code:
PHP Code:
|
Re: [Help] How to create a config or .ini
You can directly put the text in quotes if you don't need anything to format, else use formatex.
|
Re: [Help] How to create a config or .ini
Quote:
|
Re: [Help] How to create a config or .ini
I think he's saying that you don't need to save any excess string information to your file, only the actual data.
EDIT: Also you may prefer to put your config file with the rest of the configs. You can use get_configsdir() . |
| All times are GMT -4. The time now is 00:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.