Raised This Month: $ Target: $400
 0% 

Set Damage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PawNod
Member
Join Date: Jun 2019
Location: Turkey
Old 07-04-2019 , 07:51   Re: Set Damage
Reply With Quote #1

I guess victim attacker and infilictor is wrong
PHP Code:
public Hasarpn(victiminflictorattackerFloat:damagedamage_bits) {
if(
g_hasar[attacker][hs_t_el] ) {
                    
SetHamParamFloat(4get_pcvar_float(h_yumruk))
                    if(
get_pdata_int(victim75) == HIT_HEAD){
                        
SetHamParamFloat(4get_pcvar_float(h_yumruk)+15.0)
                    }
                } 
Because when I take damage I dead immediatly but when I fire I don't killer it immediatly

Last edited by PawNod; 07-04-2019 at 07:52.
PawNod 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 17:25.


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