SA-MP Forums Archive
GetPlayerHealth Question - 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: GetPlayerHealth Question (/showthread.php?tid=348654)



GetPlayerHealth Question - cloudysky - 06.06.2012

Hey guys quick Q,

This is my current code
pawn Код:
if (health2 > 90.0)
What I'm unsure of is how do I set it that it is = 90, Great than 90 but less than 100. Let me show you with an example filled with errors.

pawn Код:
if (health2 => 90.0 && < 100)



Re: GetPlayerHealth Question - Vince - 06.06.2012

pawn Код:
if(90.0 <= health2 < 100.0)



Re: GetPlayerHealth Question - cloudysky - 06.06.2012

Thank you