Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkHealth()
- {
- global $npcHealth, $pHealth;
- if($pHealth < 1)
- {
- print("$pName has been DEFEATED!");
- }
- elseif($npcHealth < 1)
- {
- return(true);
- }
- else
- {
- return("You Dumb Kid!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement