Talk:IsThePedDead: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


Using math.floor should fix this I guess, players die when their health becomes (under) 0.
Using math.floor should fix this I guess, players die when their health becomes (under) 0.
--[[User:UniOnDennis|UniOnDennis]] 22:03, 13 May 2013 (UTC)

Revision as of 20:03, 13 May 2013

Doubt this would work. Health is a floating point variable and thus comparing it to 0 may not always work as it might return 0.000001

--Arran Fortuna 16:53, 13 May 2013 (UTC)

Using math.floor should fix this I guess, players die when their health becomes (under) 0.

--UniOnDennis 22:03, 13 May 2013 (UTC)