Is it possible to NOT show a death message?
#1

When I admin kill someone with my minigun, I don't want it to show which admin killed the player. Is it possible? (I'm talking about SendDeathMessage)
Reply
#2

yes it is possible
Reply
#3

yeh it is
Reply
#4

And how would I make it impossible...?
Reply
#5

pawn Код:
if(PlayerInfo[playerid][Level] >= 1)
Reply
#6

How would I use it like that?
Reply
#7

i hate to be explaining so yea.. just add those under the OnPlayerDeath callbacks then just send like...
pawn Код:
format(str, sizeof(str), "Has Died Killed By An Admin"); SendClientMessageToAll(color, str);
Reply
#8

Nooo, sorry, I meant in the death list, not using SendClientMessage.

So if I shot Player 2 with my minigun, how can I make it not show in the death list. Sorry if you misunderstood.
Reply
#9

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(!IsPlayerAdmin(killerid) && reason != 38) SendDeathMessage(killerid, playerid, reason);
    return 1;
}
Replace 'IsPlayerAdmin(killerid)' with a variable for example if you have admin levels, otherwise that won't show death messages if an RCON admin kills a player with a minigun.
Reply
#10

Yeah. I have an OnDuty[playerid] variable. Would I replace [playerid] with [killerid] ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)