30.09.2014, 15:21
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new weaponid=GetPlayerWeapon(killerid);//Line 11191
new weapname[64];//Line 11192
GetWeaponName(weaponid, weapname,sizeof(weapname));
SetPVarString(playerid, "gotkilledby",PlayerRPName(killerid));
SetPVarString(playerid, "gotkilledbygun",weapname);
return 1;
}