Problema textdraw
#1

Am urmatoarele:
Code:
new Text:TextdrawSuspect[MAX_PLAYERS];
Code:
for(new i=0; i<MAX_PLAYERS; i++)
	{
                 TextdrawSuspect[i] = TextDrawCreate(606.000000, 160.000000, "");
		TextDrawAlignment(TextdrawSuspect[i], 3);
		TextDrawBackgroundColor(TextdrawSuspect[i], 255);
		TextDrawFont(TextdrawSuspect[i], 1);
		TextDrawLetterSize(TextdrawSuspect[i], 0.260000, 1.700000);
		TextDrawColor(TextdrawSuspect[i], 0xFFFFFFFF);
		TextDrawSetOutline(TextdrawSuspect[i], 0);
		TextDrawSetProportional(TextdrawSuspect[i], 1);
		TextDrawSetShadow(TextdrawSuspect[i], 1);
         }
Code:
PUBLIC: TimerPerSecond()
{
        for(new i = 0; i < MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    {
                    if(WantedLevel[i] > 0)
  			{
  			    new wstring[256];
  	    		format(wstring, sizeof(wstring), "[ID:%d] %s - [W%d]~n~", i,PlayerName(i),WantedLevel[i]);
    	    	        TextDrawSetString(TextdrawSuspect[i],wstring);
			}
              }
          }
}
Problema este ca nu imi afiseaza unu sub altu, unul peste altul. Ce as putea face ?
Reply


Messages In This Thread
Problema textdraw - by jamal1992 - 17.07.2014, 18:14
Re: Problema textdraw - by DyduShxD - 17.07.2014, 19:31
Re: Problema textdraw - by Mihaitza97 - 18.07.2014, 11:41
Re: Problema textdraw - by jamal1992 - 18.07.2014, 11:57
Re: Problema textdraw - by Psyhophatic - 18.07.2014, 13:10

Forum Jump:


Users browsing this thread: 1 Guest(s)