SA-MP Forums Archive
Wondering.. - 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: Wondering.. (/showthread.php?tid=569151)



Wondering.. - iFiras - 28.03.2015

Hello, I've been wondering if there's a way I can clear the death log.

pawn Код:
CMD:cleardl(playerid, params[])
{
      for(new i = 0; i < 5; i++)
      {
            SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, /* What should I put here? */);
      }
      return 1;
}
I couldn't find any icon/reason ID, something like a transperent icon.
I hope you understood what I mean.


Re: Wondering.. - ahmedkoki - 28.03.2015

Nope you can but you can use this instead and it will clear it from player names but no there is no transparent icon or anything

pawn Код:
CMD:cleardl(playerid, params[])
{
      for(new i = 0; i < 5; i++)
      {
            SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 200);
      }
      return 1;
}



Re: Wondering.. - Karan007 - 28.03.2015

Код:
CMD:cleardl(playerid, params[])
{
      for(new i = 0; i < 5; i++)
      {
            SendDeathMessage(10001,10001,0);
      }
      return 1;
}



Re : Re: Wondering.. - iFiras - 28.03.2015

Quote:
Originally Posted by ahmedkoki
Посмотреть сообщение
Nope you can but you can use this instead and it will clear it from player names but no there is no transparent icon or anything

pawn Код:
CMD:cleardl(playerid, params[])
{
      for(new i = 0; i < 5; i++)
      {
            SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 200);
      }
      return 1;
}
Yeah, I did that already, it looked kinda ugly.
Thank you for your response anyway.