Raised This Month: $51 Target: $400
 12% 

Solved Problem in Explode Balrog1 Damge ( HELP )


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
FonixPro20
Member
Join Date: Mar 2018
Old 09-13-2018 , 13:44   Problem in Explode Balrog1 Damge ( HELP )
Reply With Quote #1

Hello Guys i found problem shoting somone with balrog-1 Damge kill
How i can remove damge from the player use weapon ( CT , T )

Thanks For Help !!

PHP Code:
public explode(id)
{
    if(
is_user_alive(id))
    {
            new 
Float:originF[3]
            
fm_get_aim_origin(id,originF)
            
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
            
write_byte(TE_EXPLOSION)
            
engfunc(EngFunc_WriteCoordoriginF[0])
            
engfunc(EngFunc_WriteCoordoriginF[1])
            
engfunc(EngFunc_WriteCoordoriginF[2])
            
write_short(sExplo)
            
write_byte(20)
            
write_byte(50)
            
write_byte(0)
            
message_end()
            new 
FM_NULLENT
            
while((find_ent_in_sphere(a,originF,200.0)) != 0)
            {
            if(
pev(a,pev_takedamage)!=DAMAGE_NO)
            {
                
ExecuteHamBHam_TakeDamage,id ,idget_pcvar_float(cvar_dmg_exp), DMG_BULLET )
            }
            }
    }

FonixPro20 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 04:40.


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