Raised This Month: $ Target: $400
 0% 

Get xyz coords as for RadiusDamage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 09-19-2015 , 06:58   Re: Get xyz coords as for RadiusDamage
Reply With Quote #10

I edited my previous post a bit, read through it again.

You should check if the victim is actually a player, by calling
PHP Code:
if(is_user_alive(victim))
{
    
// It's an alive player, deal damage to it

Even if victim was a breakable object ("func_breakable"), it shouldn't matter. TakeDamage can be executed on breakables.
klippy 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 22:11.


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