Hi, Nice mod yours.
I just upgrade mime version to 1.4 and notice that I use the main HUD message position a little bit difference than the original, so, could you let it available using a '#define'?
I made it for you. I attached it.
Here you can see exactly what I changed.
Now, what do you think about this code below you use inside 'printcolor':
Code:
new g_msgsaytext
if(!g_msgsaytext) {
g_msgsaytext = get_user_msgid("SayText")
}
The variable g_msgsaytext will always be 0, to work as I think you thought, you should declare is as
static. But in such case would be better to put it straight at global scope, and initialize it at plugin_cfg(). So you can save that 'if(!g_msgsaytext)' all the times the 'printcolor' is called.