Textdraw not working.
#4

Код:
new Text:ScoreTextdraw;





    new str[20];
    format(str,sizeof(str),"Score: %d",Player[playerid][pScore]);
    PlayerTextDrawSetString(playerid,ScoreTextdraw, str);
    ScoreTextdraw = CreatePlayerTextDraw(playerid, 515.199829, 385.280242, "Score ");
    PlayerTextDrawLetterSize(playerid, ScoreTextdraw, 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, ScoreTextdraw, 1);
    PlayerTextDrawColor(playerid, ScoreTextdraw, -1);
    PlayerTextDrawSetShadow(playerid, ScoreTextdraw, 0);
    PlayerTextDrawSetOutline(playerid, ScoreTextdraw, 1);
    PlayerTextDrawBackgroundColor(playerid, ScoreTextdraw, 51);
    PlayerTextDrawFont(playerid, ScoreTextdraw, 2);
    PlayerTextDrawSetProportional(playerid, ScoreTextdraw, 1);
    
public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid, ScoreTextdraw);
Reply


Messages In This Thread
Textdraw not working. - by Gogeta101 - 23.09.2014, 19:05
Re: Textdraw not working. - by HazardouS - 23.09.2014, 19:36
Re: Textdraw not working. - by Gogeta101 - 23.09.2014, 19:42
Re: Textdraw not working. - by SWGamer - 24.09.2014, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)