24.09.2014, 10:06
Код:
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);