Raised This Month: $32 Target: $400
 8% 

help please


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
god of war
Junior Member
Join Date: Jan 2011
Old 01-30-2011 , 15:00   help please
Reply With Quote #1

I was wondering if you knew how u could make an automessage say something every ten minutes or so using the command csay using amxx.

For example this is what the command would say on the screen.

Register at our forums..

This is what it would look like in Console

amx_csay red "Register at our forums" but every 10 minutes.
god of war is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-30-2011 , 15:02   Re: help please
Reply With Quote #2

amxx.cfg
PHP Code:
// Frequency in seconds and text of scrolling message
//
// Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600

// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//
// Default values: "Welcome to %hostname%" "000255100"
//                 "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255"
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"

// Frequency in seconds of colored messages
//
// Default value: 180
amx_freq_imessage 180 
__________________
fysiks is offline
god of war
Junior Member
Join Date: Jan 2011
Old 01-30-2011 , 15:36   Re: help please
Reply With Quote #3

can u give me small example of what "Register at my forums" every 120 seconds would look like because i am having problems with it
god of war is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 01-30-2011 , 16:25   Re: help please
Reply With Quote #4

PHP Code:
// Frequency in seconds and text of scrolling message 
// 
// Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600 
amx_scrollmsg "Register at our forums" 120 

// Center typed colored messages (last parameter is a color in RRRGGGBBB format) 
// 
// Default values: "Welcome to %hostname%" "000255100" 
//                 "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255" 
amx_imessage "Register at our forums" "255000000" 

// Frequency in seconds of colored messages 
// 
// Default value: 180 
amx_freq_imessage 120 
Should be something like this
</span></span></span>
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-30-2011 , 16:46   Re: help please
Reply With Quote #5

*In reference to a PM*

FYI, to do more than one message you have to do it like this:

PHP Code:
// Center typed colored messages (last parameter is a color in RRRGGGBBB format) 
// 
// Default values: "Welcome to %hostname%" "000255100" 
//                 "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255" 
amx_imessage "Message 1" "255000000"
amx_imessage "Message 2" "255000000"
amx_imessage "Message 3" "255000000"
amx_imessage "Message 4" "255000000"

// Frequency in seconds of colored messages 
// 
// Default value: 180 
amx_freq_imessage 120 
amx_freq_imessage is only used once. It uses the last value that it is assigned for everything done in-game.

Also, it will cycle through all 4 messages displaying one every 120 seconds.
__________________
fysiks is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-30-2011 , 18:09   Re: help please
Reply With Quote #6

Task Scheduler.
Search for it.

Next time, make a thread instead of sending a PM.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
C.H.U.D.
BANNED
Join Date: Apr 2008
Location: Long Island, NY
Old 01-30-2011 , 22:57   Re: help please
Reply With Quote #7

Quote:
Originally Posted by Exolent[jNr] View Post
Task Scheduler.
Search for it.

Next time, make a thread instead of sending a PM.

And what was wrong with the previous answers?
C.H.U.D. is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-30-2011 , 23:05   Re: help please
Reply With Quote #8

Quote:
Originally Posted by C.H.U.D. View Post
And what was wrong with the previous answers?
Any other existing scroll messages or imessages would be displayed so the amount of times of showing the message he wants is less with the more messages added.
Also, if you change the frequency for imessage and you have more than just that one then it would be even more frequency between the message he wants than he originally expected.
Task Scheduler is independent from these and does exactly what he wants.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
C.H.U.D.
BANNED
Join Date: Apr 2008
Location: Long Island, NY
Old 01-30-2011 , 23:22   Re: help please
Reply With Quote #9

Quote:
Originally Posted by Exolent[jNr] View Post
Any other existing scroll messages or imessages would be displayed so the amount of times of showing the message he wants is less with the more messages added.
Also, if you change the frequency for imessage and you have more than just that one then it would be even more frequency between the message he wants than he originally expected.
Task Scheduler is independent from these and does exactly what he wants.
Yep......that plugin will do that and soo much more (no sarcasm)
C.H.U.D. is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-31-2011 , 00:47   Re: help please
Reply With Quote #10

Quote:
Originally Posted by C.H.U.D. View Post
Yep......that plugin will do that and soo much more (no sarcasm)
If you're going to try to point out the flaws in my posts then at least put up a valid argument instead of being sarcastic.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



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 14:36.


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