Thread
:
Health System
View Single Post
#
9
02-11-2008, 10:01 AM
xAndrewx
Registered User
Join Date: Sep 2004
Posts: 5,260
PHP Code:
if (
min
(
clientr
.
hp
- [
temp
.
damage
]) =<
0
) {
//Is dead
} else {
clientr
.
hp
-=
temp
.
damage
;
}
You shouldn't use a timeout either...
__________________
email:
[email protected]
xAndrewx
View Public Profile
View GraalOnline Profile
Find all posts by xAndrewx