Raised This Month: $ Target: $400
 0% 

Is there something like HurtPlayer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nvkkk
Junior Member
Join Date: Mar 2011
Old 03-12-2011 , 08:36   Is there something like HurtPlayer
Reply With Quote #1

A function that allows a plugin to hurt a player as if another player had dealt this damage.
Something like hurtPlayer(from, to, dmg) so that if I do hurtPlayer(1, 2, 45) player with client index 2 will have 45hp less and if he looks in the console it will appear "Damage taken from (Client index 1 name): 45 in 1 hit"

Is that possible? I've been looking SDKHooks too but haven't found anything.

Thanks in advanced
nvkkk is offline
nvkkk
Junior Member
Join Date: Mar 2011
Old 03-12-2011 , 08:37   Re: Is there something like HurtPlayer
Reply With Quote #2

Meh bad forum, this belongs to SourceMod. Close please
nvkkk is offline
Reply


Thread Tools
Display Modes

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 14:32.


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