Raised This Month: $51 Target: $400
 12% 

Extended amx_scrollmsg


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:         
BMJ
Junior Member
Join Date: May 2004
Location: localhost
Old 05-30-2004 , 14:27   Extended amx_scrollmsg
Reply With Quote #1

This is a modification to amx_scrollmsg.amx that allows you to specify multiple scroll messages, and choose a color for each, like you would for amx_imessage.

Configuration:
Code:
amx_freq_scrollmsg 600 // 10 minute intervals

amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" "000255000"
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" "100100255"
amx_scrollmsg "This is a red scrolling message!" "255020020"
(note: you want to specify the "amx_freq_scrollmsg" cvar before the "amx_scrollmsg" commands in your config)
(note: if you specify "random" as a color, it will choose one random color for that message)



edit: fixed a quick mistake I overlooked
Attached Files
File Type: sma Get Plugin or Get Source (scrollmsg.sma - 2318 views - 4.5 KB)
__________________
BMJ is offline
Send a message via ICQ to BMJ Send a message via AIM to BMJ
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 05-30-2004 , 14:30  
Reply With Quote #2

thats hot.. will give it a try right away. gj.

EDIT-btw you dont need the zipped file Bailo in his sneakyness has fixed the compiler and made only one post about it instead of sending out town criers and skywriters to let ppl know about the fixed compiler..
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
CF|Punisher
Junior Member
Join Date: Jan 2005
Location: Twin Cities, MN
Old 03-24-2005 , 21:51  
Reply With Quote #3

I gave this a look-see and it appears that it doesn't work with NS 3.01.
CF|Punisher is offline
meowlike
Junior Member
Join Date: Sep 2004
Location: Taiwan
Old 05-03-2005 , 12:42   Re: Extended amx_scrollmsg
Reply With Quote #4

L 05/04/2005 - 002:18: [AMXX] Run time error 4 (index out of bounds) on line 66 (file "scrollmsg2.sma").
L 05/04/2005 - 002:19: [AMXX] Run time error 4 (index out of bounds) on line 66 (file "scrollmsg2.sma").
L 05/04/2005 - 002:19: [AMXX] Run time error 4 (index out of bounds) on line 66 (file "scrollmsg2.sma").

this is my error message
I use this 4 commands: (UTF-8 code not ascii)
Quote:
amx_scrollmsg "很抱歉!近日由於快速下載頻頻遭砍檔,無法正常提供非官方地圖下載,目前沙漠之鷹地圖管理模組 無法提名非官方地圖,暫時跑官方地圖。" "random"
amx_scrollmsg "如果您願意提供不限流量的學術網路網頁空間,供玩家使用快速下載服務,在此我代表所有玩家謝謝 您!" "random"
amx_scrollmsg "本伺服器專屬家族: http://tw.club.yahoo.com/clubs/HPKserver" "random"
amx_scrollmsg "伺服器是要靠大家共同維護的,敬請大家務必遵守相關伺服器規定。" "random"
help me fix out thx
meowlike is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 05-03-2005 , 15:51  
Reply With Quote #5

I think i gonna like this but maybe some
thing that you can add the text in other languages to
like scrollmesage welcome to hostname
and welkom bij hostname
like if the language is set to dutch
you get instead of welcome to hostname you get welkom bij hostname
but server onwers have to translate if for them self in a file or something
__________________
- Bye bye!
nightscreem is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 05-04-2005 , 02:05  
Reply With Quote #6

Isnt there one of these already out? I have it on my server but it does random colors (blue, orange, green, yellow). And i can change the time and make 3 of em.
__________________
bmann_420 is offline
meowlike
Junior Member
Join Date: Sep 2004
Location: Taiwan
Old 05-05-2005 , 08:23  
Reply With Quote #7

Quote:
Originally Posted by nightscreem
I think i gonna like this but maybe some
thing that you can add the text in other languages to
like scrollmesage welcome to hostname
and welkom bij hostname
like if the language is set to dutch
you get instead of welcome to hostname you get welkom bij hostname
but server onwers have to translate if for them self in a file or something
You are right, because this is more important for far east country (especially English is not their main language). The server owner (me) need to translate all, ya ALL, ALL ENGLISH to CHINESE, only because Taiwanese they can't fully understand English means. This is going off-topic.I just want say: this is a heavy job (translate) lol.

Any ideas for run time error? I'm not programmer, so plz help lol

To bmann_420:
This is another scrollmsg plugin, u can try it and u will see where is different .
__________________
my little server:
[TW] 槍 魂 零號機 @非常橘網咖
[TW] GunFire - Machine Zero @VeryOrange NetCofe'
IP: 61.65.61.65
meowlike is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 12-14-2005 , 11:38  
Reply With Quote #8

Choose a category. Old. Moved to Unapproved/Old Plugins forum.
__________________
twistedeuphoria 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 03:31.


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