Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Class & Extra: Smoker (v1.3) & Drag ability (v1.1)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-16-2009 , 14:43   Re: [ZP] Class: Smoker
Reply With Quote #5

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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode