SA-MP Forums Archive
killing section - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: killing section (/showthread.php?tid=178697)



killing section - FireCat - 23.09.2010

is there any way i can clear this where people kill and it appears here?
cause i dont have in my script so when someone dies it appears id 0 killed someone
O.o weired



Re: killing section - Mauzen - 23.09.2010

search for SendDeathMessage in your script. To remove the killer/killed player use INVALID_PLAYER_ID.
Probably you have something in OnPlayerDeath that sets the killerid to 0


Re: killing section - FireCat - 23.09.2010

Quote:

public OnPlayerDeath(playerid, killerid, reason)
{
dm[playerid] = 0;
return 1;
}

and check all my fs none in them


Re: killing section - Mauzen - 23.09.2010

Hmm, then it has to be gamemode-sided, otherwise there wouldnt be any death messages


Re: killing section - Hiddos - 23.09.2010

Send around 5 death messages with INVALID_PLAYER_ID ?