Posts: 42
Threads: 11
Joined: Oct 2009
Reputation:
0
Hey man.
I tried out doing a thing that comes up, so admin can see when people kill eachother.
Example: (Player) killed (Player) - (Weapon)
Posts: 42
Threads: 11
Joined: Oct 2009
Reputation:
0
So only admins can see it?
Posts: 3,488
Threads: 16
Joined: Jun 2007
Reputation:
0
You can't use SendDeathMessage for admins only. You can make a client message for that.
Posts: 1,506
Threads: 69
Joined: Feb 2008
pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
for(new i=0; i<MAX_PLAYERS; i++){
if(IsPlayerAdmin(i)){
SendDeathMessage(killerid, playerid, reason);
}}
return 1;
}
Untested though.