death list - 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: death list (
/showthread.php?tid=175268)
death list -
stix - 09.09.2010
Is there anyway to disable it, and only make it viewable for admins.
I only wants admin to see it and that players can't enable it not even with F9.
thanks.
Re: death list -
iggy1 - 09.09.2010
Iv never seen it done where only admins can see it before but if you wana get rid of em remove this from your script.
pawn Код:
SendDeathMessage(killerid, playerid, reason);
Re: death list -
stix - 10.09.2010
so? can anyone help me?
Re: death list -
Steven82 - 10.09.2010
Impossible, you could make an alternative that everytime someons dies it displays a SendClientMessage to all the admins?
Re: death list -
PinkFloydLover - 10.09.2010
would this work?
pawn Код:
stock SendDeathMessageToAdmins(killerid,playerid,reason)
{
for(new i = 0; i<GetMaxPlayers(); i++)
if(IsPlayerConnected(i))
{
if (IsPlayerAdmin(i))
{
SendDeathMessage(killerid,playerid,reason);
}
}
}
Re: death list -
stix - 10.09.2010
i will try it, if it works thanks alot
Re: death list -
Arrows73 - 10.09.2010
No, it wouldnt, that would send the message as often as the number of admins online is