SA-MP Forums Archive
is it possible?? +rep!! - 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)
+--- Thread: is it possible?? +rep!! (/showthread.php?tid=332172)



is it possible?? +rep!! - PawnoQ - 07.04.2012

hi,

is it possible to clear the death messages?

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);
    return 1;
}



Re: is it possible?? +rep!! - Marco_Valentine - 07.04.2012

if you dont want death messages simply remove SendDeathMessage from onplayerdeath

If you want to clear it. I don't think there is a possible way. But maybe

Код:
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);
might need to send it a few times depending on how many messages there are. Im still not sure if it would work