Preventing damage through weapon config
#1

I want to make it so that when the players health is
PHP код:
< = 
no MORE damage can be done to him. He goes into:
PHP код:
Character[playerid][BrutalM] = 1
Which function should I use? I want to make it possible that if the players health is 6, and a deagle does 35 damage that it will only do the 1 damage it should. So, his health will only go to 5 and not 0 where the OnPlayerDeath function will go through.

Any ideas? I don't want code, just an explanation or examples would help! Thanks.
Reply


Messages In This Thread
Preventing damage through weapon config - by aoky - 13.06.2017, 01:08
Re: Preventing damage through weapon config - by BigETI - 13.06.2017, 06:21

Forum Jump:


Users browsing this thread: 3 Guest(s)