Raised This Month: $51 Target: $400
 12% 

Solved Money dissapear when hostage damaged


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 09-28-2016 , 07:26   Money dissapear when hostage damaged
Reply With Quote #1

Tried to block hostage_hurt by Plugin_Stop or Plugin_Handled and result of this is nothing to do
In all times when I damaged hostage, I loose some money. Can you help me to stop this? Thnx.

I use mp_hostages_takedamage 0 but with this option they give demage always when I fire
Quote:
SOLVED my problem
Code:
cash_player_damage_hostage 0

Last edited by ZASTRELIS; 09-28-2016 at 07:35.
ZASTRELIS is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 09-29-2016 , 01:17   Re: Money dissapear when hostage damaged
Reply With Quote #2

To clarify, blocking events is to late as all the internal code has already executed before the event is fired.
__________________
Neuro Toxin is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 09-29-2016 , 01:21   Re: Money dissapear when hostage damaged
Reply With Quote #3

Blocking an event would only prevent clients from seeing it. It doesn't actually block anything server-side like a function detour does.
Potato Uno 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 12:34.


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