14.08.2015, 22:09
Код:
new PlayerText:TextDraw_Rob[MAX_PLAYERS];
Код:
new string[140]; TextDraw_Rob[playerid] = CreatePlayerTextDraw(153.000000, 149.000000, ""); format(string, sizeof(string), "%s.", RPName(playerid)); PlayerTextDrawSetString(TextDraw_Rob[playerid],string); PlayerTextDrawFont(TextDraw_Rob[playerid], 0); PlayerTextDrawLetterSize(TextDraw_Rob[playerid], 5.1, 5.1); PlayerTextDrawFontColor(TextDraw_Rob[playerid], 0xFFFFFFFF); PlayerTextDrawSetOutline(TextDraw_Rob[playerid], 1); PlayerTextDrawSetProportional(TextDraw_Rob[playerid], true); PlayerTextDrawSetShadow(TextDraw_Rob[playerid], 1); PlayerTextDrawUseBox(TextDraw_Rob[playerid], true); PlayerTextDrawBoxColor(TextDraw_Rob[playerid], 0x0D0D0DFF); PlayerTextDrawTextSize(TextDraw_Rob[playerid], 100, 50);
Код:
public OnPlayerConnect(playerid)
Код:
public OnPlayerSpawn(playerid) { PlayerTextDrawShow(playerid, TextDraw_Rob[playerid]); }