What's the point to check:
PHP Code:
if(!is_user_alive(id) || !is_user_connected(id))
together?
Just use 1 native "is_user_alive(index)" is enough. It already check client is connected.
In touch forward you already check entity is valid, so why need to recheck again?
Use bit is faster than calling the same natives.
I would not recommended to use this plugin on HLDS. Code are horrible, your idea is good but you need to learn to optimize your code first.
__________________