How can i know in the script when the player kills someone..?
#3

Quote:
Originally Posted by Ihsan_Cingisiz
Посмотреть сообщение
I have this script for if you die, but i want to know how i can know who i have killed and whith which weapon..

new kname[128];
new string[128];
GetPlayerName(killerid, kname, sizeof(kname));
format(string, sizeof(string), ">> %s has killed you.", kname);
SendDeathMessage(killerid, playerid, reason);
PlayerInfo[playerid][Deaths] += 1;
SendClientMessage(playerid, COLOR_DARKRED, string);
I'm %100 percent sure you copyed that because if you made it you would no what these things do.
Reply


Messages In This Thread
How can i know in the script when the player kills someone..? - by Ihsan_Cingisiz - 01.08.2010, 06:24
Re: How can i know in the script when the player kills someone..? - by Ash. - 01.08.2010, 08:40
Re: How can i know in the script when the player kills someone..? - by Jay. - 01.08.2010, 08:43
Re: How can i know in the script when the player kills someone..? - by Ash. - 01.08.2010, 08:45
Re: How can i know in the script when the player kills someone..? - by Dolph - 01.08.2010, 08:55

Forum Jump:


Users browsing this thread: 1 Guest(s)