[FilterScript] Textdraw Rule Box
#9

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
True but what's the purpose of Showing array? I don't quite follow your question
pawn Код:
Showing[ MAX_PLAYERS ];
Talking about this ^, I haven't seen any usage for this and its been used only in 1 function which is the HideTextdraws, or he forgot to finish the code xD

pawn Код:
ShowPlayerRulesTextdraw(playerid)
{
    if(Showing[playerid] == false)
    {
        for(new i = 0; i != sizeof(Textdraw); ++i )
        {
            PlayerTextDrawShow(playerid, Textdraw[i]);
        }
    }
    Showing[ playerid ] = true;
    return true;
}


HidePlayerRulesTextdraw(playerid)
{
    if(Showing[playerid] == true)
    {
        for(new i = 0; i != sizeof(Textdraw); ++i )
        {
            PlayerTextDrawHide(playerid, Textdraw[i]);
        }
    }
    Showing[ playerid ] = false;
    return true;
}
Reply


Messages In This Thread
Removed - by ShaneOvSina - 29.04.2014, 19:58
Re: Textdraw Rule Box - by Patrick - 29.04.2014, 20:15
Re: Textdraw Rule Box - by ShaneOvSina - 29.04.2014, 20:22
Re: Textdraw Rule Box - by Patrick - 29.04.2014, 20:24
Re: Textdraw Rule Box - by Yves - 29.04.2014, 20:30
Re: Textdraw Rule Box - by Pottus - 29.04.2014, 20:41
Re: Textdraw Rule Box - by Patrick - 29.04.2014, 20:51
Re: Textdraw Rule Box - by Pottus - 29.04.2014, 20:57
Re: Textdraw Rule Box - by Patrick - 29.04.2014, 21:02
Re: Textdraw Rule Box - by Pottus - 29.04.2014, 21:07

Forum Jump:


Users browsing this thread: 2 Guest(s)