Raised This Month: $ Target: $400
 0% 

Solved Damage, Weapon Pickup not working | Impulse | SQL


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
killerZM
Senior Member
Join Date: Sep 2016
Old 02-03-2017 , 10:24   Re: Damage, Weapon Pickup not working | Impulse | SQL
Reply With Quote #5

PHP Code:
 if(IsValidPlayer(victim) && damagebit DMG_FALL && get_pcvar_num(esm_ignore_falldamage) == 1) {
        
        return 
HAM_SUPERCEDE // don't take damage 
?
try
==>
PHP Code:
if(!IsValidPlayer(victim))         
        return 
HAM_SUPERCEDE // don't take damage
if(IsValidPlayer(victim)) {
if(
damagebit == DMG_FALL && get_pcvar_num(esm_ignore_falldamage == 1))
 return 
HAM_SUPERCEDE


Last edited by killerZM; 02-03-2017 at 10:27.
killerZM 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 21:03.


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