04.09.2010, 12:35
I did this just for not abusing the /kill command there
Everything works fine don't worry
Edit:
OMG Thanks dude. The Syntax wasn't right, was it?
pawn Код:
dcmd_kill(playerid,params[])
#pragma unused params
{
new Float:health;
GetPlayerHealth(playerid,health);
if (health > 0.1)
SetPlayerHealth(playerid, 0.0);
return 1;
}
Edit:
OMG Thanks dude. The Syntax wasn't right, was it?