Raised This Month: $ Target: $400
 0% 

Commands:Refrences


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 05-16-2012 , 11:00   Re: Commands:Refrences
Reply With Quote #4

Quote:
Originally Posted by Waleed View Post
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 View Post
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.
Liverwiz is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:26.


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