Problem: /kill cmd player on kill list
#4

Quote:
Originally Posted by Davz*|*Criss
View Post
Try this instead of that :-

pawn Code:
SendDeathMessage(killerid, playerid, reason);
Also have a look at https://sampwiki.blast.hk/wiki/SendDeathMessage
this actualy make more sense... but still doesnt work, SendDeathMessage doesnt show..

and Sascha, i did what you said, except that it read only "killed" variable when somebody died, to test if there was a problem in INVALID_PLAYER_ID

EDITED:
I made a test:
pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid==INVALID_PLAYER_ID)
    {
    SendClientMessage(playerid,red,"rofl");
    SendDeathMessage(INVALID_PLAYER_ID, playerid, 47);
    }
return 1;
}
When you die, "rofl" doesnt appear in chat..
Reply


Messages In This Thread
Problem: /kill cmd player on kill list - by nejc001 - 23.03.2011, 16:23
Re: Problem: /kill cmd player on kill list - by Davz*|*Criss - 23.03.2011, 16:37
Re: Problem: /kill cmd player on kill list - by Sascha - 23.03.2011, 16:41
Re: Problem: /kill cmd player on kill list - by nejc001 - 23.03.2011, 17:06
Re: Problem: /kill cmd player on kill list - by grand.Theft.Otto - 23.03.2011, 19:29
Re: Problem: /kill cmd player on kill list - by nejc001 - 23.03.2011, 19:51
Re: Problem: /kill cmd player on kill list - by grand.Theft.Otto - 23.03.2011, 20:00
Re: Problem: /kill cmd player on kill list - by nejc001 - 23.03.2011, 22:09

Forum Jump:


Users browsing this thread: 1 Guest(s)