I Was Wondering..
-
- A semi-regular
- Posts: 19
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Wed Jan 04, 2006 4:09 pm
I Was Wondering..
you know how you can say things with tsay. well on cs_deagle5 we set a rule up that u can only knife on bridge. is there a way where i dont have to always tsay it. i have it binded but its still annoying. is there some way where i can program the server to say it for me on that certain map? thanks
CounterStrike: -]bRo[- Public Server
64.94.101.55:27015
64.94.101.55:27015
-
- A semi-regular
- Posts: 19
- Joined: Wed Jan 04, 2006 4:09 pm
Well here's how you would set up the configs:
http://www.amxmodx.org/forums/viewtopic.php?t=7002
inside of cs_deagle5.cfg you would put where "000100255" is the RGB code of the color you want the text to be.
You might also want to do so that it would say the imessage every 30 seconds, or you could make it a smaller interval, of course.
http://www.amxmodx.org/forums/viewtopic.php?t=7002
inside of cs_deagle5.cfg you would put
Code: Select all
amx_imessage "ONLY KNIFING ON THE BRIDGE ROROROROR" "000100255"
You might also want to do
Code: Select all
amx_freq_imessage "30"
-
- A semi-regular
- Posts: 19
- Joined: Wed Jan 04, 2006 4:09 pm
-
- A semi-regular
- Posts: 19
- Joined: Wed Jan 04, 2006 4:09 pm
Hmm, I'm not sure why it wouldn't be working. The only thing I can think of is that the amx_imessage and amx_freq_imessage in amxx.cfg are being executed after and therefore overwriting the ones in cs_deagle5.cfg.
You use an outdated version of amxmodx, have you considered updating to 1.6?
edit: I was just in your server and I saw the message come up, but I think the amx_freq_imessage is being set like I thought, by the amxx.cfg.
You use an outdated version of amxmodx, have you considered updating to 1.6?
edit: I was just in your server and I saw the message come up, but I think the amx_freq_imessage is being set like I thought, by the amxx.cfg.
-
- A semi-regular
- Posts: 19
- Joined: Wed Jan 04, 2006 4:09 pm
I'm really not sure how you could avoid that in this case.
You could set the amx_freq_imessage in amxx.cfg to a lower value, but that causes another problem with your other imessage being spammed as well.
You could also try doing a scroll message, it won't be right in the center of the screen like the imessage is, but you can give it its own frequency and it will scroll along the bottom of the screen.where the number at the end is the delay between messages.
You could set the amx_freq_imessage in amxx.cfg to a lower value, but that causes another problem with your other imessage being spammed as well.
You could also try doing a scroll message, it won't be right in the center of the screen like the imessage is, but you can give it its own frequency and it will scroll along the bottom of the screen.
Code: Select all
amx_scrollmsg "ONLY KNIFING ON THE BRIDGE" 30
-
- A semi-regular
- Posts: 19
- Joined: Wed Jan 04, 2006 4:09 pm
Actually, in the source code for scrollmsg.amxx, the speed is defined and easily changeable.
current speed is "0.3"
I could change that, compile the plugin and apply it to your server, but you still have that outdated version of amxmodx on there.
Visit us in the 'Live chat' (last tab in your control panel) and we will help you update that to version 1.6. Then I can change it.
current speed is "0.3"
I could change that, compile the plugin and apply it to your server, but you still have that outdated version of amxmodx on there.
Visit us in the 'Live chat' (last tab in your control panel) and we will help you update that to version 1.6. Then I can change it.
-
- A semi-regular
- Posts: 19
- Joined: Wed Jan 04, 2006 4:09 pm
-
- A semi-regular
- Posts: 19
- Joined: Wed Jan 04, 2006 4:09 pm
Hi, so you want to put this message in cs_deagle5? Correct?
Well theres a AMXx plugin for it.
http://www.amxmodx.org/forums/viewtopic.php?p=142701
Download it from there.
Well theres a AMXx plugin for it.
Code: Select all
Description:
This plugin is for use with the map cs_deagle5. What it does is makes it knife only for anyone who is on the bridge. If you're on the bridge, you can't be shot and you can't shoot anyone else. cs_deagle5 isn't my favorite map, but it comes on in our server from time to time and people always want "knife only on the bridge" but nobody obeys. So I thought I would go ahead and make a plugin to force it.
Commands:
amx_deagle5_knife <0|1> - Use 0 to disable it, 1 to enable it.
Cvars:
amx_deagle5knife <0|1> - Use the Command above. It changes the cvar for you. I only added the cvar so that it would remember if you had it enabled/disabled when the map changes.
Modules Required:
Engine
Fun
Download it from there.