You should learn some basics about scripting before releasing anything here.
You forgot about brackets { } in that for(..) loop.
You create new variables in a loop (actually right now you don't do that because brackets are missing).
You create endless task every time when player spawns or dies while it would be enough to create it only one time in plugin_init.
Your task interval is 1 second, but you didn't set hud_message holdtime to 1 second (default is 12 seconds).
If you hook spawn and death then you could cache is_user_alive and player team or even amount of players alive.
You shouldn't ask users to customize colors by changing code. It should be done with cvars.
Quote:
Originally Posted by drekes
NOTE: This does not support bots.
|
What do you mean?
__________________