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



SendDeathMessage - Tony1337 - 10.02.2010

Hey mates i was wondering, is it possible to show SendDeathMessage to only certain players.

For example iґd like to show it to only on duty admins


right now i have this:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
//bla bla bla bla


    for(new i=0; i<MAX_PLAYERS; i++)
  {
      if(AdminDuty[i] == 1)
    {
      SendDeathMessage(killerid, playerid, reason);
      return 1;
      }
  }



Re: SendDeathMessage - Sergei - 10.02.2010

Nope it's not.


Re: SendDeathMessage - Tony1337 - 10.02.2010

ok thanks, i was affraid it wasnt, just thought to ask here just incase :P