SA-MP Forums Archive
[HELP] Hide TextDraw - 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: [HELP] Hide TextDraw (/showthread.php?tid=416067)



[HELP] Hide TextDraw - MiGu3X - 15.02.2013

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.


Respuesta: [HELP] Hide TextDraw - MiGu3X - 15.02.2013

any answer, sorry, but bump ..


Re: [HELP] Hide TextDraw - DaRk_RaiN - 15.02.2013

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;
}



Re: [HELP] Hide TextDraw - MP2 - 15.02.2013

Stop making new topics for the SAME problem...


Respuesta: Re: [HELP] Hide TextDraw - MiGu3X - 16.02.2013

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


Respuesta: [HELP] Hide TextDraw - MiGu3X - 17.02.2013

Doesn't work pls help :/


Re: [HELP] Hide TextDraw - MP2 - 17.02.2013

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.