23.03.2016, 15:47
Quote:
https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage
And I can create it for you! : PHP код:
|
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
{
if(damagedid != INVALID_PLAYER_ID)
{
Kick(playerid);
}
return 1;
}
// OR
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID)
{
Kick(issuerid);
}
return 1;
}