17.05.2016, 10:49
Is there a way to turn off oxygen? Without https://sampforum.blast.hk/showthread.php?tid=606323 this plugin?
Yes, it works but this creates a problem. What if someone shoots him when he is underwater? If the player goes bulletproof when he goes underwater, every player will abuse it to save himself. So this is not a viable option.
OT: There is no other way. The plugin is basically memory hacking to do the impossible. This cannot be done in PAWN. |
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. |