What's wrong!?
#1

What 's wrong with this code?
PHP код:
OnPlayerTakeDamage(playeridissueridFloat:amount)
{
if(
playerid is a zombie)
{
new 
Float:hp;
GetPlayerHealth(issueridhp);
SetPlayerHealth(issueridhp amount);
}
// ...

if players kill any zombie on spawn point..set human health to 0
I want to make a code for this if anyone can make all code ty
Reply


Messages In This Thread
What's wrong!? - by AhmedElGaml - 12.09.2015, 17:18
Re: What's wrong!? - by Sellize - 12.09.2015, 17:19
Re: What's wrong!? - by AhmedElGaml - 12.09.2015, 17:20
Re: What's wrong!? - by AhmedElGaml - 13.09.2015, 14:45
Re: What's wrong!? - by Threshold - 13.09.2015, 15:11
Re: What's wrong!? - by sanamalik400 - 09.10.2015, 15:50
Re: What's wrong!? - by sanamalik400 - 09.10.2015, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)