How to detect, player damaged?
#2

Search for OnPlayerHealthChange callback. You can find it in YSI (YSI\System\YSI_callbacks.own)

Code:
SetDisabledWeapons
Warning: This function is removed in SA-MP 0.3. Alternatively you can return 0 
in OnPlayerUpdate if they use a bad weapon, and change their weapon
if thats what you mean be 'set damage of X weapon'.

Reply


Messages In This Thread
How to detect, player damaged? - by xbatista - 23.12.2009, 10:20
Re: How to detect, player damaged? - by M4S7ERMIND - 23.12.2009, 10:35
Re: How to detect, player damaged? - by xbatista - 23.12.2009, 10:39
Re: How to detect, player damaged? - by M4S7ERMIND - 23.12.2009, 10:54
Re: How to detect, player damaged? - by Kurence - 23.12.2009, 13:45
Re: How to detect, player damaged? - by XeoN_13 - 23.12.2009, 13:51
Re: How to detect, player damaged? - by xbatista - 23.12.2009, 14:11
Re: How to detect, player damaged? - by M4S7ERMIND - 23.12.2009, 18:46
Re: How to detect, player damaged? - by Tannz0rz - 26.12.2009, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)