View Single Post
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-16-2009 , 14:43   Re: [ZP] Class: Smoker
Reply With Quote #4

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_byteTE_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.
__________________

Last edited by xPaw; 04-16-2009 at 14:52.
xPaw is offline