Round Message w/ VOX v1.3
2 Attachment(s)
Round Message w/ VOX v1.3 by Teascu Dorin [IMG]http://img237.**************/img237/8720/descriptionz.png[/IMG] Displays colored chat message every round start about Round #, current map and # players/maxslots. Plays the round # in vox sounds. No download needed. [IMG]http://img690.**************/img690/6929/settings.png[/IMG] .:: Installing ::.
.:: Available CVAR`s ::.
[IMG]http://img694.**************/img694/5438/notes.png[/IMG] You can change/modify chat message colors in the language *.txt file located in addons/amxmodx/data/lang named round_message.txt ! Message colors usage: - !y - Yellow (Normal chat color) - !t - Team Color (Red=T, Blue=CT, Grey=Spec) - !g - Green [IMG]http://img690.**************/img690/4107/snapshots.png[/IMG] Round start message: [IMG]http://img246.**************/img246/2869/roundstart.jpg[/IMG] [IMG]http://img694.**************/img694/4868/mlang.png[/IMG] Code:
[en] English - Teascu Dorin [IMG]http://img691.**************/img691/5334/creditsk.png[/IMG] Alka - stock color print v3x - for teaching me how to use num_to_word (vox sounds) [IMG]http://img694.**************/img694/1227/change.png[/IMG] Code:
Legend: f - fixed | ! - added | c - changed | r - removed Server that using This Plugin [IMG]http://img690.**************/img690/3448/downloade.png[/IMG] |
Re: Round Message w/ VOX v2.0
Hey, nice idea. Here are some things you could/should change:
- Cache the values of get_mapname, get_maxplayers and get_user_msgid( "SayText" ) globally, they will not change midgame. - Do some identing, you forgot it after the show_rounds_message function. - I believe you do not have to check is_user_connected when looping through the players based on an get_players array as the native already does this. - Statics for the print function could also be a good idea. - Make the thing multilang. Why do you abort when the current playercount equals maxplayers? |
Re: Round Message w/ VOX v2.0
if I didn't do playercount equals maxplayers it was only playing the sound and no message :(
|
Re: Round Message w/ VOX v2.0
GJ :D
i like this plugin :) |
Re: Round Message w/ VOX v2.0
Quote:
|
Re: Round Message w/ VOX v2.0
That was the problem that i didn't had any errors even with debug :D
|
Re: Round Message w/ VOX v2.0
I don't mean the standard error debugging of AMXX. There can be an error within your routine, those things do not necessarily throw an error.
You should add some log_amx to see which events happen and which don't so you see where the problem resides. For example this will show you which players you cycled through, if one is missing you know where the problem resides and you can attempt to fix it: PHP Code:
|
Re: Round Message w/ VOX v1.1
New UPDATE
Quote:
|
Re: Round Message w/ VOX v1.1
Code:
[es] |
Re: Round Message w/ VOX v2.0
This still applies:
Quote:
PHP Code:
|
All times are GMT -4. The time now is 08:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.