Is there a way to turn off oxygen?
#6

Quote:
Originally Posted by PrO.GameR
Посмотреть сообщение
What if someone actually thinks this thru and keeps the actual health of the player and kill him with code if it reaches 0?
There is always a way.

OT: It can be done but it won't be perfect, you should change player's health to infinity, then keep his actual health in a variable so you could do calculations from other sources of dmg although this would cause the health to blink and stuff, you can't change the oxygen but with this you can stop player from dying without oxygen.
Ok thanks. Tho samp team should really create some functions for oxygen control...
Reply


Messages In This Thread
Is there a way to turn off oxygen? - by ax1 - 17.05.2016, 10:49
Re: Is there a way to turn off oxygen? - by Luicy. - 17.05.2016, 11:33
Re: Is there a way to turn off oxygen? - by Yashas - 17.05.2016, 14:23
Re: Is there a way to turn off oxygen? - by Luicy. - 17.05.2016, 14:25
Re: Is there a way to turn off oxygen? - by PrO.GameR - 17.05.2016, 16:09
Re: Is there a way to turn off oxygen? - by ax1 - 17.05.2016, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)