[Help] Death Message Fading
#6

Well, you can't hide them. What you can do is send a blank message 5 times to get rid of the current death messages. If you want something like this, then give this a try:
pawn Код:
public OnPlayerDeath(..)
{
    SendDeathMessage(killerid, playerid, reason), SetTimer("cleardm", 120000, false); // You can either do it this way or set a global timer that repeats
    return 1;
}

forward cleardm();
public cleardm()
{
    for(new g = 0; g < 5; g++)
        SendDeathMessage(255, 24, 255);
    return 1;
}
Reply


Messages In This Thread
[Help] Death Message Fading - by 0Z3ro0 - 02.11.2013, 23:21
Re: [Help] Death Message Fading - by 0Z3ro0 - 03.11.2013, 01:19
Re: [Help] Death Message Fading - by 0Z3ro0 - 03.11.2013, 01:20
Re: [Help] Death Message Fading - by Unte99 - 03.11.2013, 01:31
Re: [Help] Death Message Fading - by 0Z3ro0 - 03.11.2013, 01:38
Re: [Help] Death Message Fading - by -Prodigy- - 03.11.2013, 01:50

Forum Jump:


Users browsing this thread: 1 Guest(s)