De ez nem tilt semmit, csak kibannolja azt, aki DB-zett, azt is csak akkor, ha már meghalt az áldozat.
Ez tilt:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
new pstate = GetPlayerState(playerid);
if(pstate == PLAYER_STATE_DRIVER)
{
if(weaponid != 0)
{
new Float:h;
GetPlayerHealth(damagedid,h);
SetPlayerHealth(damagedid,h+amount);
// Kick(playerid);
}
return 1;
}
return 1;
}