[Help:] How do I check between things?
#1

pawn Код:
if(GetPlayerHealth(playerid) >= 10 || GetPlayerHealth(playerid) <= 20)
{
How do I identify a player with 10health through 20health?
Reply
#2

Guys if you are getting the "number of arguments does not match denition"

Check how the function works: GetPlayerHealth - CLICK ME
Reply
#3

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
Guys if you are getting the "number of arguments does not match denition"

Check how the function works: GetPlayerHealth - CLICK ME
-_-

This isn't about the function, this is about math.
Reply
#4

Quote:
Originally Posted by Venturas
Посмотреть сообщение
-_-

This isn't about the function, this is about math.
Its my fault if I understood this wrong but you still use GetPlayerHealth wrong -_-

And do you rly call that maths ^^"

pawn Код:
new Float:health;
GetPlayerHealth(playerid, health);
if(10 <= health && health <= 20) {}
Reply
#5

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
Its my fault if I understood this wrong but you still use GetPlayerHealth wrong -_-

And do you rly call that maths ^^"

pawn Код:
new Float:health;
GetPlayerHealth(playerid, health);
if(10 <= health && health <= 20) {}
Bro, it's just an example, relax. And it is math.
Reply
#6

Quote:
Originally Posted by Venturas
Посмотреть сообщение
Bro, it's just an example, relax. And it is math.
Whatsoever hope you are satisfied now
Reply
#7

My code didn't work, but you've already fixed it. Whatever.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)