10.08.2011, 14:34
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;
}
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.