Raised This Month: $ Target: $400
 0% 

Quick Question: hitzone from get_user_attacker


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fxfighter
Veteran Member
Join Date: Feb 2007
Location: Trollhättan
Old 10-09-2007 , 14:58   Re: Quick Question: hitzone from get_user_attacker
Reply With Quote #4

sry but i wont give you an answer but i think you are trying to do stuf when someone got hit somewhare or something so i post this pice of code and i think you know what to do use dmg event instead.
dont think this works on back-.- like purple pixie sayd
PHP Code:
public Death( ) 
{
 new 
iVictim read_data)
 new 
weaponhitplaceattacker get_user_attacker(iVictim,weapon,hitplace)
if(
hitplace == HIT_CHEST)
 { 
 }
 if(
hitplace == HIT_HEAD)
 {
 }
 if(
hitplace == HIT_RIGHTARM)
 {
 }
 if(
weapon == CSW_KNIFE)
 {
 }

__________________
If one of my plugins become broken, contact me by mail. [email protected]

Last edited by fxfighter; 10-09-2007 at 15:02.
fxfighter is offline
Send a message via MSN to fxfighter
 



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 16:12.


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