26.07.2016, 10:30
Код:
Textdraw0 = CreatePlayerTextDraw(playerid,564.000000, 10.000000, "ROLEPLAY"); PlayerTextDrawBackgroundColor(playerid,Textdraw0, 255); PlayerTextDrawFont(playerid,Textdraw0, 1); PlayerTextDrawLetterSize(playerid,Textdraw0, 0.500000, 1.000000); PlayerTextDrawColor(playerid,Textdraw0, 16711935); PlayerTextDrawSetOutline(playerid,Textdraw0, 0); PlayerTextDrawSetProportional(playerid,Textdraw0, 1); PlayerTextDrawSetShadow(playerid,Textdraw0, 1); PlayerTextDrawSetSelectable(playerid,Textdraw0, 0); Textdraw1 = CreatePlayerTextDraw(playerid,490.000000, 11.000000, "ANGELES"); PlayerTextDrawBackgroundColor(playerid,Textdraw1, 255); PlayerTextDrawFont(playerid,Textdraw1, 1); PlayerTextDrawLetterSize(playerid,Textdraw1, 0.500000, 1.000000); PlayerTextDrawColor(playerid,Textdraw1, -16776961); PlayerTextDrawSetOutline(playerid,Textdraw1, 0); PlayerTextDrawSetProportional(playerid,Textdraw1, 1); PlayerTextDrawSetShadow(playerid,Textdraw1, 1); PlayerTextDrawSetSelectable(playerid,Textdraw1, 0); Textdraw2 = CreatePlayerTextDraw(playerid,436.000000, 11.000000, "BLACK"); PlayerTextDrawBackgroundColor(playerid,Textdraw2, 255); PlayerTextDrawFont(playerid,Textdraw2, 1); PlayerTextDrawLetterSize(playerid,Textdraw2, 0.500000, 1.000000); PlayerTextDrawColor(playerid,Textdraw2, 16777215); PlayerTextDrawSetOutline(playerid,Textdraw2, 0); PlayerTextDrawSetProportional(playerid,Textdraw2, 1); PlayerTextDrawSetShadow(playerid,Textdraw2, 1); PlayerTextDrawSetSelectable(playerid,Textdraw2, 0); // You can now use PlayerTextDrawShow, PlayerTextDrawHide and // PlayerTextDrawDestroy functions to show, hide, and destroy the textdraw.