SA-MP Forums Archive
[Include] Oxygen Controller (Control player oxygen status) - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Oxygen Controller (Control player oxygen status) (/showthread.php?tid=606323)

Pages: 1 2


Oxygen Controller (Control player oxygen status) - Ivan_Ino - 02.05.2016

Hey everyone, I give you my first release include, I hope that will come in handy and you will be satisfied..

Short
-- This is include which giving you permission to controll player's oxygen bar.
Code:
#include <OxygenController>
New Callbackshttps://github.com/Ino42O/OxygenCont...wiki/Callbacks


Functionshttps://github.com/Ino42O/OxygenCont...wiki/Functions


Status
Requests
Credits
Changes
v1.1 v2.0
Bugs
v1.1 v2.0
Video
https://www.youtube.com/watch?v=Fqy0...ature=*********


Download
(Version 2.0) Include + Example FS - GitHub ( https://github.com/Ino42O/OxygenController )


Re: Oxygen Controller (Control player oxygen status) - JustMe.77 - 02.05.2016

I was already able to test this a few months ago out already, great system & work !


Re: Oxygen Controller (Control player oxygen status) - Ivan_Ino - 02.05.2016

Thank you man, I hope you enjoy..

also soon video work.


Re: Oxygen Controller (Control player oxygen status) - Kyle - 02.05.2016

Any screenshots?


Re: Oxygen Controller (Control player oxygen status) - Ivan_Ino - 02.05.2016

Ye, http://i.imgur.com/3dbNFMX.jpg
controlling that progress up to heal, and this down is from example FS, that is removable ofc..


Re: Oxygen Controller (Control player oxygen status) - Max_Andolini - 02.05.2016

Nice work


Re: Oxygen Controller (Control player oxygen status) - Crayder - 02.05.2016

What is the point of IgnoreCordinates? It looks like you are using it to ignore water in the quarry and at the BB farm. There is no water at either, so it's useless. ColAndreas doesn't detect water at either of those. ColAndreas is 3D, it doesn't stop at 0 like MapAndreas.


Re: Oxygen Controller (Control player oxygen status) - Ivan_Ino - 02.05.2016

Quote:
Originally Posted by eco1999
View Post
Nice work
Thanks man



__


Quote:

What is the point of IgnoreCordinates? It looks like you are using it to ignore water in the quarry and at the BB farm. There is no water at either, so it's useless. ColAndreas doesn't detect water at either of those. ColAndreas is 3D, it doesn't stop at 0 like MapAndreas.

There is a problem with water object, try, when i test that i was WTF rly , then i fix it with that code..


Re: Oxygen Controller (Control player oxygen status) - Crayder - 03.05.2016

Quote:
Originally Posted by Ivan_Ino
View Post
There is a problem with water object, try, when i test that i was WTF rly , then i fix it with that code..
No, how about you try it. Update your CA and try it.


Re: Oxygen Controller (Control player oxygen status) - Ivan_Ino - 03.05.2016

Ur right, after i updated it now problem gone, i go make video and update include.. Thanks


Re: Oxygen Controller (Control player oxygen status) - N0FeaR - 03.05.2016

Great job dude, i like it rep!


Re: Oxygen Controller (Control player oxygen status) - Ivan_Ino - 03.05.2016

Quote:
Originally Posted by N0FeaR
View Post
Great job dude, i like it rep!
Thank you!!


____

Update 1.1 + Video tomorrow.


Re: Oxygen Controller (Control player oxygen status) - Ivan_Ino - 04.05.2016

Here is a video - https://www.youtube.com/watch?v=Fqy0...ature=youtu.be


Re: Oxygen Controller (Control player oxygen status) - Max_Andolini - 04.05.2016

Swimming pools?


Re: Oxygen Controller (Control player oxygen status) - Crayder - 04.05.2016

Quote:
Originally Posted by eco1999
View Post
Swimming pools?
Not all swimming pools are real water. In fact, most of them are just water objects. But why would it matter? You can't swim in those pools.


Re: Oxygen Controller (Control player oxygen status) - Kar - 04.05.2016

Sooo

SetPlayerHealth(playerid, 800000.0);

that disables the GTA oxygen system?


Re: Oxygen Controller (Control player oxygen status) - Wolfe - 04.05.2016

Nice job this could be used for a lot more then just oxygen


Re: Oxygen Controller (Control player oxygen status) - Ivan_Ino - 04.05.2016

yea, Thanks guys


Re: Oxygen Controller (Control player oxygen status) - Mark_Samp - 07.05.2016

I just added
Code:
#include <OxygenController>
without any further changes but when I tried to compile?
Code:
pawno\include\progress2.inc(434) : error 017: undefined symbol "playerid"
Although My script didn't even reach 434 Code Line.


Re: Oxygen Controller (Control player oxygen status) - Mark_Samp - 07.05.2016

Quote:
Originally Posted by Ivan_Ino
Посмотреть сообщение
EDIT: Line 434 in progress2.inc change to, try that..
Worked , when I edited the progress2.inc. Thanks