Raised This Month: $ Target: $400
 0% 

fw_TraceAttack_Player, ham_traceattack_post, TraceAttack doesn't work great with ZBOT


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Somie1998
New Member
Join Date: Oct 2022
Old 10-12-2022 , 23:13   Re: fw_TraceAttack_Player, ham_traceattack_post, TraceAttack doesn't work great with
Reply With Quote #3

Quote:
Originally Posted by Celena Luna View Post
for my plugins, I did not use RegisterHamFromEntity because i stoped using ZBot and switched to SyPB or PODBot which both BOT was treated like actual player => No need to use RegisterHamFromEntity
In fact, it would cause the Ham Registered twice on those BOT making they take twice the effect/damage

PHP Code:
new g_HamBot
public client_putinserver(id)
{
    if(!
g_HamBot && is_user_bot(id))
    {
        
g_HamBot 1
        set_task
(0.1"Register_HamBot"id)
    }
}

public 
Register_HamBot(id)
{
    
//Do the same with other Ham
    
RegisterHamFromEntity(Ham_TraceAttackid"fw_TraceAttack_Player")

Look at Dias Balrog-7 plugins he did like you say why i test is does not work on ZBOT ???

Last edited by Somie1998; 10-12-2022 at 23:14.
Somie1998 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:38.


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