01.08.2010, 06:24
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);
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);