15.12.2014, 04:36
I got small problem with small function
This system is stopped working after defined
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(GetPlayerTeam(issuerid) != GetPlayerTeam(playerid))
{
if(weaponid == 34 && bodypart == 9)
{
SetPlayerHealth(playerid, 0.0);
}
}
return 1;
}
pawn Код:
#include <YSI\y_ini>