Float Issues.
#2

pawn Код:
new Float:armour = GetPlayerArmour(playerid, armour);
Doesn't that seem redundant? GetPlayerAmour (and by extension GetPlayerHealth) itself only returns 1 or 0 depending on whether the player is connected. The actual armour value is stored in the variable that is passed by reference (that is: the variable between the brackets).

I just tested this statement and I find it rather odd that it does not give a tag mismatch warning, even though it probably should.
Reply


Messages In This Thread
Float Issues. - by Prokill911 - 29.05.2015, 12:14
Re: Float Issues. - by Vince - 29.05.2015, 12:19
Re: Float Issues. - by Prokill911 - 29.05.2015, 12:31
Re: Float Issues. - by rappy93 - 29.05.2015, 14:23
Re: Float Issues. - by Prokill911 - 29.05.2015, 15:08

Forum Jump:


Users browsing this thread: 2 Guest(s)