Quote:
Originally Posted by tedaimlocks
well i tried to display the rounds left instead of timeleft but i couldnt do it
|
Do you get any errors in the error logs when you run the plugin? Is the plugin even running? Make sure that the plugin shows up in the output of "amxx list" and shows that it's in a good state. You should also consider adding "debug" after the .amxx file name in plugins.ini so that you get useful debug logs for errors.
If all of that shows no issues, you should add your own debug messaging to the function to make sure that the function is getting called properly and you can add various pieces of data into that debug message to determine what might be wrong. I use server_print() for my debug messages and then look at the server console to see what data it contains. One thing I would probably do is to simply use server_print() for the exact message you're trying to use with show_hudmessage() and make sure that works.
EDIT: I just tested it and it works exactly as you coded it. I would recommend that you fix the "holdtime" parameter so that you don't have a bunch of old versions of the message overlapping.
__________________