.ini
Guys, I was wondering how do I make something like in a .ini ?
Example: map.ini Can someone give me some examples ? Like I have a plugin which there doesn't have cvar, it changes it cvar from the .ini itself. |
Re: .ini
Do you need to edit this ini manually (notepad or w\e) or are you just looking for an external storage method. Easiest would be to use nvault but with that you cannot modify (without an nvault app) I can also show you have to store info in an ini file.
|
Re: .ini
http://forums.alliedmods.net/showpos...2&postcount=59
That request is fasted coded so maybe don't work, but compile fine... and also is just an example about getting .ini info or creating the file... you have to know also that .ini, .txt, .log or whatever text format is the same thing, the same method. Also this is only one method, you have another like using fopen, fclose, fgets, fputs. Just see file.inc |
Re: .ini
Quote:
|
Re: .ini
I said you...
Code:
for example |
Re: .ini
Quote:
I don't understand the part which how the zombieplague weapon menu. is like I don't know how the put the WEAPON_MENU = weapon_m4a1 in the .ini file. |
Re: .ini
You need to say something more specific... i hate zombie plague so i don't know what you are talking. Show me an example.
|
Re: .ini
Quote:
Code:
[Buy Menu Weapons]As in just edit in here. to make the changes. Rather than edit in the source code. |
Re: .ini
Like i said, you can do it with natives that i mentioned (in file.inc)....
Here an example: Code:
|
| All times are GMT -4. The time now is 14:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.