Well done
In fw_TakeDamage
Those
PHP Code:
else {
return HAM_IGNORED;
}
unneded.
------
Auto binding key is not the best way. And you should ask player before binding, else it will be slowhacking.
------
Use directrly TE_* not number in write_bytes
like here
PHP Code:
write_byte(1) // TE_BEAMENTPOINT
// ->
write_byte( TE_BEAMENTPOINT );
------
Use pcvars, they are faster.
------
You want server to use +drag too?
PHP Code:
register_concmd("+drag","drag_start", ADMIN_USER, "bind ^"key^" ^"+drag^"")
// ->
register_clcmd("+drag","drag_start", ADMIN_USER, "bind ^"key^" ^"+drag^"")
-----
You not forgot to check in 'drag_start' is user alive?
-----
You cant execute client_cmd() in client_disconnect() because this forward called after already disconnected player, so it will dont have sense.
-----
Quote:
* It needs Vexd_utilities!. If you need this PM me.
|
Why? if you want to get this plugin approved, you should provide it with plugin, so everyone could compile it, btw you maybe could try include those stocks into plugin.
__________________