Is there a way to turn off oxygen?
#1

Is there a way to turn off oxygen? Without https://sampforum.blast.hk/showthread.php?tid=606323 this plugin?
Reply
#2

Well, Godmode might work.
Reply
#3

Quote:
Originally Posted by Meller
Посмотреть сообщение
Well, Godmode might work.
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.
Reply
#4

Removed.
Reply
#5

Quote:
Originally Posted by Yashas
Посмотреть сообщение
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.
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)