[HELP] Hide TextDraw
#1

I got a problem, when a player is on spree spree thing appears, but when player on spree dies, it doesn't dissapear.

I got this

pawn Код:
if(KillSpree[killerid] >=3)
    {
        TextDrawHideForAll(Textdraw0);
        KillTimer(aaa);
        aaa = SetTimer("textdrawkiller", 5000, false);
        TextDrawShowForAll(Textdraw0);
        return 1;
    }
    if(KillSpree[playerid] >=3)
    {
        new string[128];
        KillTimer(aaa);
        aaa = SetTimer("textdrawkiller", 5000, false);
        TextDrawShowForAll(Textdraw0);
        format(string, sizeof(string), "~r~%s ~y~- Killing Spree ended", kname, KillSpree[killerid]);
        TextDrawSetString(Textdraw0, string);
        TextDrawHideForAll(Textdraw0);
        return 1;
    }
    return 1;
}
If someone could help me it'll help alot, since i need this urgently.

Thnx in advance, MIGu3X.
Reply
#2

any answer, sorry, but bump ..
Reply
#3

Try
pawn Код:
if(KillSpree[killerid] ==3)
    {
        TextDrawHideForAll(Textdraw0);
        KillTimer(aaa);
        aaa = SetTimer("textdrawkiller", 5000, false);
        TextDrawShowForAll(Textdraw0);
        return 1;
    }
    if(KillSpree[playerid] >=3)
    {
        new string[128];
        KillTimer(aaa);
        aaa = SetTimer("textdrawkiller", 5000, false);
        TextDrawShowForAll(Textdraw0);
        format(string, sizeof(string), "~r~%s ~y~- Killing Spree ended", kname, KillSpree[killerid]);
        TextDrawSetString(Textdraw0, string);
        TextDrawHideForAll(Textdraw0);
        return 1;
    }
    return 1;
}
Reply
#4

Stop making new topics for the SAME problem...
Reply
#5

Quote:
Originally Posted by MP2
Посмотреть сообщение
Stop making new topics for the SAME problem...
Sorry. Im new on scripting and i need allot of help + u on the other topic just said that im noob on scripting in 10 ways
Reply
#6

Doesn't work pls help :/
Reply
#7

Two topics, bumping, double-posting, what else are you going to do to make people NOT want to help you? I answered your question(s) in the other topic.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)