Raised This Month: $ Target: $400
 0% 

[SOLVED] Ham Touch doesn't work on POD BOT-s :(


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-12-2009 , 14:22   [SOLVED] Ham Touch doesn't work on POD BOT-s :(
Reply With Quote #1

I have such a code:
PHP Code:
public plugin_init()  
    
RegisterHam(Ham_Touch,"weapon_c4","fw_TakeBomb")

public 
fw_TakeBomb(weapon_ent,id)
{

    if(
g_BombStatus == BOMB_NOT)
    {
        
g_BombCarrier id
        g_BombStatus 
BOMB_PICKEDUP

        server_print
("%i is New Carrier",id)
    }

    else if(
g_NewRoundRespawn)
    {
        
server_print("BOMB is TRANSFERED TO %i",id)
        
        
SetHamParamEntity(2,g_BombCarrier)

        return 
HAM_HANDLED;
    }

            
    return 
HAM_IGNORED;

With Humans it works perfectly.. But with POD bots
It does't change param here:
PHP Code:
        SetHamParamEntity(2,g_BombCarrier)

        return 
HAM_HANDLED

Any Suggestions?

Last edited by Empowers; 04-13-2009 at 09:39.
Empowers is offline
Send a message via ICQ to Empowers
 


Thread Tools
Display Modes

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 02:28.


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