Raised This Month: $ Target: $400
 0% 

Ham_Blocked


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 07-15-2008 , 00:51   Ham_Blocked
Reply With Quote #1

Does anybody know if Ham_Blocked works? I tried this:
Code:
#include <amxmodx>
#include <hamsandwich>

public plugin_init()
    RegisterHam(Ham_Blocked,"player","fwPlayerBlocked")

public fwPlayerBlocked(id,blocker) {
    server_print("block %d %d",id,blocker)
    if(is_user_alive(id) && is_user_alive(blocker))
        return HAM_SUPERCEDE
    
    return HAM_IGNORED
}
And got nothing... Any help would be appreciated.

Thank you

Last edited by danielkza; 07-15-2008 at 00:52. Reason: Forgot to end the [code]
danielkza 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 05:34.


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