SA-MP Forums Archive
Oxygen help :) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Oxygen help :) (/showthread.php?tid=530346)



Oxygen help :) - NeStOr95 - 06.08.2014

Hello, I was wondering if it is possible to freeze or set oxygen player?
http://pokit.org/get/?e22c1a349df50b...132ef81e9e.jpg


Re: Oxygen help :) - NeStOr95 - 06.08.2014

help?


Re: Oxygen help :) - Stanford - 06.08.2014

I believe that you can't, but you can use a timer and keep setting the health for the player.


Re: Oxygen help :) - NeStOr95 - 06.08.2014

nooo, i am need oxygen to set, no HP


Re: Oxygen help :) - JacobEdwards - 06.08.2014

Quote:
Originally Posted by NeStOr95
View Post
nooo, i am need oxygen to set, no HP
I don't think that is possible, the work around would be to keep their HP set to 100.


Re: Oxygen help :) - Mauzen - 06.08.2014

The oxygen isnt a synced value in samp. The server doesnt know about the players oxygen, so you cant get or set it.
Eventually the Samp+ plugin will allow to do that some time, but it will need a special client addon for every player.