- if(playerid != INVALID_PLAYER_ID && killerid != INVALID_PLAYER_ID)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "Du hast ein Verbrechen begangen (Mord an %s) ", pName);
SendClientMessage(killerid, ROT, string);
}
if(playerid != INVALID_PLAYER_ID && killerid != INVALID_PLAYER_ID)
{
if(isPlayerAnAdmin(playerid,3))
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "Von: %s ",pName, playerid);
SendClientMessage(killerid, ROT, string);
}
}
beim zweiten soll stehen wer getötet hat also für Admins.