Quote:
Originally Posted by Waleed
How to execute or precache an .ini file (simple text file) from addons/amxmodx/data/lang/myfile.ini
|
There's no point in pre-caching .ini .txt .log or .cfg files. they're all read on the fly.
Also...hornet is correct. lang files are .txt and are grabbed through register_dictionary(const file[])
Quote:
Originally Posted by Waleed
What is the refrence for server start,I want to grab the server start event,HOW?
.....OR.....
When server starts,execute the above file,HOW? Any module?
|
The server starts BEFORE the plugin starts. There are many events you can have things run at. client_putinserver(id), client_connect(id), spawn, plugin start, plugin end
the plugin first looks to plugin_init() function to run when it is called by the server.
I suppose hornet answerd all those questions, just thought i'd go a little more in depth. I'm bored.