TextDraw Problem
#5

In you GameModeInit you dont need foreach because it textdraw already showed for everyone.

pawn Код:
new PlayerText:Stats[10][MAX_PLAYERS]; //On to top under includes
public OnGameModeInit()
{
    Stats[0] = (playerid,118.000000, 122.000000, "~l~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~N~~N~~N~~N~~N~~N~");
    PlayerTextDrawAlignment(playerid,Stats[0], 2);
    PlayerTextDrawBackgroundColor(playerid,Stats[0], 255);
    PlayerTextDrawFont(playerid,Stats[0], 1);
    PlayerTextDrawLetterSize(playerid,Stats[0], 0.500000, 1.000000);
    PlayerTextDrawColor(playerid,Stats[0], -1);
    PlayerTextDrawSetOutline(playerid,Stats[0], 0);
    PlayerTextDrawSetProportional(playerid,Stats[0], 1);
    PlayerTextDrawSetShadow(playerid,Stats[0], 1);
    PlayerTextDrawUseBox(playerid,Stats[0], 1);
    PlayerTextDrawBoxColor(playerid,Stats[0], 110);
    PlayerTextDrawTextSize(playerid,Stats[0], -1.000000, 212.000000);
    PlayerTextDrawSetSelectable(playerid,Stats[0], 0);
    return 1;
    }

public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Stats[0]);
return 1;
}
Reply


Messages In This Thread
TextDraw Problem - by AroseKhanNiazi - 18.05.2014, 07:11
Re: TextDraw Problem - by JFF - 18.05.2014, 07:14
Re: TextDraw Problem - by AroseKhanNiazi - 18.05.2014, 07:36
Re: TextDraw Problem - by JFF - 18.05.2014, 07:44
Re: TextDraw Problem - by MacT - 18.05.2014, 07:53
Re: TextDraw Problem - by JFF - 18.05.2014, 07:59
Re: TextDraw Problem - by MacT - 18.05.2014, 08:01
Re: TextDraw Problem - by JFF - 18.05.2014, 08:17
Re: TextDraw Problem - by AroseKhanNiazi - 18.05.2014, 08:39
Re: TextDraw Problem - by JFF - 18.05.2014, 08:51

Forum Jump:


Users browsing this thread: 1 Guest(s)