Jump to content

AMX Help!!


Recommended Posts

i am managing my buddies server, and i downloaded a plugin. however, i only want this plugin to be executed on certain maps [capture the flag plugin]. is it possible to make this plugin executed only on certain maps or do i have to manually exec it everytime i want to turn it on?

 

if so, how can i set this up? either way, manually executing or having the server automatically executing.

any help GREATLY appreciated.

Link to comment
Share on other sites

First, you must have this line in your addons/amx/plugins/plugins.ini file to load the plugin:

 

; displays information messages

imessage.amx

Next part depends on your version (well not really, but for simplicity)

 

In 0.9.3 you'd put the following type of line in the admin.cfg file; in 0.9.4 it goes in the amx.cfg file:

 

amx_imessage "How YOU doin? Check your stats at www.mmmmcs.com" "000255000"

 

There was a limit in some of the versions of the plugin on how many messages could be added. It was like 28 or something, can't remember. But you can add quite a few messages.

 

Those last numbers in quotes are for the color.

 

000255000 - green

255255255 - white

255000000 - red

000000255 - blue

 

(I think those are right) Messing with the numbers will give all sorts of colors.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...