[TUT] Config files
Config files
This is a basic example of a config that you can add to your work. What it does basicly is just create a config file, write to it, and execute it just like the server would execute server.cfg or autoexec.cfg. 1. In plugin_init(), add ExecuteConfigs(); PHP Code:
PHP Code:
PHP Code:
Code:
#include <amxmodx> Don't do drugs. |
Re: [TUT] Config files
Ummm . . . what? I see not logic for something like this (what ever it is).
|
Re: [TUT] Config files
Quote:
A while ago i wanted to make a config file..but i did not know how to do it. I searched and didnt find anything related to this matter. This is a clear-cut way of making a config file. You wont need to look through a plugin that already has a config file in its code and try to find out how it works. |
Re: [TUT] Config files
So did this come from your brain? Or someone else's( Exolent ). You know what I mean, give credit where credit is due please. Thanks.
|
Re: [TUT] Config files
Quote:
|
Re: [TUT] Config files
Quote:
Quote:
|
Re: [TUT] Config files
Quote:
|
Re: [TUT] Config files
Use get_localinfo, so you wouldn't need amxmisc :).
|
Re: [TUT] Config files
Quote:
And who exactly is my elite role model? |
Re: [TUT] Config files
Quote:
|
All times are GMT -4. The time now is 12:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.