Raised This Month: $ Target: $400
 0% 

Revival KIT HELP!!!!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 11-21-2007 , 13:49   Re: Revival KIT HELP!!!!
Reply With Quote #1

Blocking weapon attack...
http://forums.alliedmods.net/showthread.php?t=63016

and blocking animation of attack...

PHP Code:
public plugin_init()
{
    
register_forward(FM_UpdateClientData"UpdateClientData_Post"1);
}

public 
UpdateClientData_Post(idsendweaponscd_handle)
{
    if(!
is_user_alive(id))
        return 
FMRES_IGNORED;
    
    
set_cd(cd_handleCD_ID0);
    
    return 
FMRES_HANDLED;

Just add checks to see when to block and when not to.

Last edited by hlstriker; 11-21-2007 at 13:53.
hlstriker is offline
Reply



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 01:13.


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