Showing multiple textdraws in one command
#4

Quote:
Originally Posted by Ciandlah
Посмотреть сообщение
Maybe create something like this
Код:
  new PlayerText:SHOWINFO[MAX_PLAYERS][MAX_TEXTDRAWS];
Then just generate a Stock for it I guess
Код:
stock CreatePlayerTextdraws(playerid)
{
    for(new i=0; i<MAX_TEXTDRAWS; i++)
    {
        SHOWINFO[playerid][i] = create your textdraws here if you want
    }
}
stock DestroyPlayerTextdraws(playerid)
{
    for(new i=0; i<MAX_TEXTDRAWS; i++)
    {
        DestroyPlayerTextdraw(playerid, SHOWINFO[playerid][i]);
    }
}
oh, i was trying to say that i already fixed the problem. but thanks anyway =D
Reply


Messages In This Thread
Showing multiple textdraws in one command - by NealPeteros - 14.09.2018, 05:06
Re: Showing multiple textdraws in one command - by NealPeteros - 14.09.2018, 05:17
Re: Showing multiple textdraws in one command - by Ciandlah - 14.09.2018, 05:19
Re: Showing multiple textdraws in one command - by NealPeteros - 14.09.2018, 05:43

Forum Jump:


Users browsing this thread: 1 Guest(s)