[NEED] OnPlayerDeath Messages
#5

pawn Код:
COMMAND:kill(playerid, params[])
{
    new Name[MAX_PLAYER_NAME], Message[128];
    GetPlayerName(playerid, Name, sizeof(Name));
    format(Message, sizeof(Message), "%s(%d) didnt like his life. So he did /kill", Name, playerid);
    SendClientMessageToAll(0xFF8000FF, Message);
    SetPlayerHealth(playerid, 0);
    return 1;
}
Like that?

Im to lazy but you could try the include OnPlayerShootPlayer to get the weapons. There is another way but I can be asked to do it all.
Reply


Messages In This Thread
[NEED] OnPlayerDeath Messages - by Yaszine - 10.08.2011, 14:22
Re: [NEED] OnPlayerDeath Messages - by Riddick94 - 10.08.2011, 14:25
Re : Re: [NEED] OnPlayerDeath Messages - by Yaszine - 10.08.2011, 14:31
Re: [NEED] OnPlayerDeath Messages - by Riddick94 - 10.08.2011, 14:34
Re: [NEED] OnPlayerDeath Messages - by Odyssey - 10.08.2011, 14:34
Re : [NEED] OnPlayerDeath Messages - by Yaszine - 10.08.2011, 14:38
Re: [NEED] OnPlayerDeath Messages - by Riddick94 - 10.08.2011, 14:39
Re: [NEED] OnPlayerDeath Messages - by Riddick94 - 10.08.2011, 14:49
Re: [NEED] OnPlayerDeath Messages - by MadeMan - 10.08.2011, 14:59
Re : [NEED] OnPlayerDeath Messages - by Yaszine - 10.08.2011, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)