Something
public text v1 · immutable// AutoKick Operation Code
public OnPlayerDeath(playerid, killerid, reason)
{
if (killerid == INVALID_PLAYER_ID) {
ResetPlayerMoney(playerid);
}
else {
SendClientMessage(killerid, COLOR_YELLOW, "You have been kicked for killing");
SendClientMessage(killerid, COLOR_YELLOW, "You will not receive messages or be able to interact until rejoining.");
Kick(killerid);
ResetPlayerMoney(playerid);
}
return 1;
}