PHP код:
stock shkaf_menu_create(playerid)
{
#define Textdraw0 shkaf_menu_td[playerid][0]
#define Textdraw1 shkaf_menu_td[playerid][1]
#define Textdraw2 shkaf_menu_td[playerid][2]
#define Textdraw3 shkaf_menu_skin[playerid][0]
#define Textdraw4 shkaf_menu_skin[playerid][1]
#define Textdraw5 shkaf_menu_skin[playerid][2]
#define Textdraw6 shkaf_menu_skin[playerid][3]
#define Textdraw7 shkaf_menu_skin[playerid][4]
#define Textdraw8 shkaf_menu_skin[playerid][5]
#define Textdraw9 shkaf_menu_skin[playerid][6]
#define Textdraw10 shkaf_menu_skin[playerid][7]
#define Textdraw11 shkaf_menu_skin[playerid][8]
#define Textdraw12 shkaf_menu_skin[playerid][9]
#define Textdraw13 shkaf_menu_skin[playerid][10]
#define Textdraw14 shkaf_menu_skin[playerid][11]
#define Textdraw15 shkaf_menu_skin[playerid][12]
#define Textdraw16 shkaf_menu_skin[playerid][13]
Textdraw0 = CreatePlayerTextDraw(playerid,119.000000, 106.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Textdraw0, 255);
PlayerTextDrawFont(playerid,Textdraw0, 1);
PlayerTextDrawLetterSize(playerid,Textdraw0, 0.250000, 1.000000);
PlayerTextDrawColor(playerid,Textdraw0, -1);
PlayerTextDrawSetOutline(playerid,Textdraw0, 0);
PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
PlayerTextDrawSetShadow(playerid,Textdraw0, 1);
PlayerTextDrawUseBox(playerid,Textdraw0, 1);
PlayerTextDrawBoxColor(playerid,Textdraw0, -864607489);
PlayerTextDrawTextSize(playerid,Textdraw0, 496.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
Textdraw1 = CreatePlayerTextDraw(playerid,119.000000, 118.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Textdraw1, 255);
PlayerTextDrawFont(playerid,Textdraw1, 1);
PlayerTextDrawLetterSize(playerid,Textdraw1, 0.500000, 18.100000);
PlayerTextDrawColor(playerid,Textdraw1, -1);
PlayerTextDrawSetOutline(playerid,Textdraw1, 0);
PlayerTextDrawSetProportional(playerid,Textdraw1, 1);
PlayerTextDrawSetShadow(playerid,Textdraw1, 1);
PlayerTextDrawUseBox(playerid,Textdraw1, 1);
PlayerTextDrawBoxColor(playerid,Textdraw1, -1737075572);
PlayerTextDrawTextSize(playerid,Textdraw1, 496.000000, 3.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw1, 0);
Textdraw2 = CreatePlayerTextDraw(playerid,120.000000, 105.000000, "clothes");
PlayerTextDrawBackgroundColor(playerid,Textdraw2, 255);
PlayerTextDrawFont(playerid,Textdraw2, 2);
PlayerTextDrawLetterSize(playerid,Textdraw2, 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Textdraw2, -1);
PlayerTextDrawSetOutline(playerid,Textdraw2, 1);
PlayerTextDrawSetProportional(playerid,Textdraw2, 1);
PlayerTextDrawSetSelectable(playerid,Textdraw2, 0);
Textdraw3 = CreatePlayerTextDraw(playerid,118.000000, 117.000000, "_");
PlayerTextDrawAlignment(playerid,Textdraw3, 2);
PlayerTextDrawBackgroundColor(playerid,Textdraw3, -864607644);
PlayerTextDrawFont(playerid,Textdraw3, 5);
PlayerTextDrawLetterSize(playerid,Textdraw3, 1.809999, 7.699995);
PlayerTextDrawColor(playerid,Textdraw3, -1);
PlayerTextDrawSetOutline(playerid,Textdraw3, 1);
PlayerTextDrawSetProportional(playerid,Textdraw3, 1);
PlayerTextDrawUseBox(playerid,Textdraw3, 1);
PlayerTextDrawBoxColor(playerid,Textdraw3, 255);
PlayerTextDrawTextSize(playerid,Textdraw3, 94.000000, 72.000000);
PlayerTextDrawSetPreviewModel(playerid, Textdraw3, 1275);
PlayerTextDrawSetPreviewRot(playerid, Textdraw3, 0.000000, 0.000000, 0.000000, 1.399999);
PlayerTextDrawSetSelectable(playerid,Textdraw3, 1);
Textdraw4 = CreatePlayerTextDraw(playerid,213.000000, 117.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Textdraw4, -864607644);
PlayerTextDrawFont(playerid,Textdraw4, 5);
PlayerTextDrawLetterSize(playerid,Textdraw4, 0.759998, 2.699999);
PlayerTextDrawColor(playerid,Textdraw4, -1);
PlayerTextDrawSetOutline(playerid,Textdraw4, 1);
PlayerTextDrawSetProportional(playerid,Textdraw4, 1);
PlayerTextDrawUseBox(playerid,Textdraw4, 1);
PlayerTextDrawBoxColor(playerid,Textdraw4, 0);
PlayerTextDrawTextSize(playerid,Textdraw4, 94.000000, 72.000000);
PlayerTextDrawSetPreviewModel(playerid, Textdraw4, 1);
PlayerTextDrawSetPreviewRot(playerid, Textdraw4, 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw4, 1);
Textdraw5 = CreatePlayerTextDraw(playerid,308.000000, 117.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Textdraw5, -864607644);
PlayerTextDrawFont(playerid,Textdraw5, 5);
PlayerTextDrawLetterSize(playerid,Textdraw5, 0.759998, 2.699999);
PlayerTextDrawColor(playerid,Textdraw5, -1);
PlayerTextDrawSetOutline(playerid,Textdraw5, 1);
PlayerTextDrawSetProportional(playerid,Textdraw5, 1);
PlayerTextDrawUseBox(playerid,Textdraw5, 1);
PlayerTextDrawBoxColor(playerid,Textdraw5, 0);
PlayerTextDrawTextSize(playerid,Textdraw5, 94.000000, 72.000000);
PlayerTextDrawSetPreviewModel(playerid, Textdraw5, 299);
PlayerTextDrawSetPreviewRot(playerid, Textdraw5, 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw5, 1);
Textdraw6 = CreatePlayerTextDraw(playerid,403.000000, 117.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Textdraw6, -864607644);
PlayerTextDrawFont(playerid,Textdraw6, 5);
PlayerTextDrawLetterSize(playerid,Textdraw6, 0.759998, 2.699999);
PlayerTextDrawColor(playerid,Textdraw6, -1);
PlayerTextDrawSetOutline(playerid,Textdraw6, 1);
PlayerTextDrawSetProportional(playerid,Textdraw6, 1);
PlayerTextDrawUseBox(playerid,Textdraw6, 1);
PlayerTextDrawBoxColor(playerid,Textdraw6, 0);
PlayerTextDrawTextSize(playerid,Textdraw6, 94.000000, 72.000000);
PlayerTextDrawSetPreviewModel(playerid, Textdraw6, 21);
PlayerTextDrawSetPreviewRot(playerid, Textdraw6, 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw6, 1);
Textdraw7 = CreatePlayerTextDraw(playerid,118.000000, 190.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Textdraw7, -864607644);
PlayerTextDrawFont(playerid,Textdraw7, 5);
PlayerTextDrawLetterSize(playerid,Textdraw7, 0.759998, 2.699999);
PlayerTextDrawColor(playerid,Textdraw7, -1);
PlayerTextDrawSetOutline(playerid,Textdraw7, 1);
PlayerTextDrawSetProportional(playerid,Textdraw7, 1);
PlayerTextDrawUseBox(playerid,Textdraw7, 1);
PlayerTextDrawBoxColor(playerid,Textdraw7, 0);
PlayerTextDrawTextSize(playerid,Textdraw7, 94.000000, 72.000000);
PlayerTextDrawSetPreviewModel(playerid, Textdraw7, 100);
PlayerTextDrawSetPreviewRot(playerid, Textdraw7, 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw7, 1);
Textdraw8 = CreatePlayerTextDraw(playerid,213.000000, 190.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Textdraw8, -864607644);
PlayerTextDrawFont(playerid,Textdraw8, 5);
PlayerTextDrawLetterSize(playerid,Textdraw8, 0.759998, 2.699999);
PlayerTextDrawColor(playerid,Textdraw8, -1);
PlayerTextDrawSetOutline(playerid,Textdraw8, 1);
PlayerTextDrawSetProportional(playerid,Textdraw8, 1);
PlayerTextDrawUseBox(playerid,Textdraw8, 1);
PlayerTextDrawBoxColor(playerid,Textdraw8, 0);
PlayerTextDrawTextSize(playerid,Textdraw8, 94.000000, 72.000000);
PlayerTextDrawSetPreviewModel(playerid, Textdraw8, 19);
PlayerTextDrawSetPreviewRot(playerid, Textdraw8, 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw8, 1);
Textdraw9 = CreatePlayerTextDraw(playerid,308.000000, 190.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Textdraw9, -864607644);
PlayerTextDrawFont(playerid,Textdraw9, 5);
PlayerTextDrawLetterSize(playerid,Textdraw9, 0.759998, 2.699999);
PlayerTextDrawColor(playerid,Textdraw9, -1);
PlayerTextDrawSetOutline(playerid,Textdraw9, 1);
PlayerTextDrawSetProportional(playerid,Textdraw9, 1);
PlayerTextDrawUseBox(playerid,Textdraw9, 1);
PlayerTextDrawBoxColor(playerid,Textdraw9, 0);
PlayerTextDrawTextSize(playerid,Textdraw9, 94.000000, 72.000000);
PlayerTextDrawSetPreviewModel(playerid, Textdraw9, 0);
PlayerTextDrawSetPreviewRot(playerid, Textdraw9, 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw9, 1);
Textdraw10 = CreatePlayerTextDraw(playerid,403.000000, 190.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Textdraw10 , -864607644);
PlayerTextDrawColor(playerid,Textdraw10 , -1);
PlayerTextDrawFont(playerid,Textdraw10 , 5);
PlayerTextDrawLetterSize(playerid,Textdraw10 , 0.759998, 2.699999);
PlayerTextDrawSetOutline(playerid,Textdraw10, 1);
PlayerTextDrawSetProportional(playerid,Textdraw10 , 1);
PlayerTextDrawSetPreviewModel(playerid, Textdraw10 , 56);
PlayerTextDrawSetPreviewRot(playerid, Textdraw10 , 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawUseBox(playerid,Textdraw10 , 1);
PlayerTextDrawBoxColor(playerid,Textdraw10 , 0);
PlayerTextDrawTextSize(playerid,Textdraw10 , 94.000000, 72.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw10, 1);
Textdraw11 = CreatePlayerTextDraw(playerid,118.000000, 117.000000, "_");
PlayerTextDrawAlignment(playerid,Textdraw11, 2);
PlayerTextDrawBackgroundColor(playerid,Textdraw11, -864607644);
PlayerTextDrawFont(playerid,Textdraw11, 5);
PlayerTextDrawLetterSize(playerid,Textdraw11, 1.809999, 7.699995);
PlayerTextDrawColor(playerid,Textdraw11, -1);
PlayerTextDrawSetOutline(playerid,Textdraw11, 1);
PlayerTextDrawSetProportional(playerid,Textdraw11, 1);
PlayerTextDrawUseBox(playerid,Textdraw11, 1);
PlayerTextDrawBoxColor(playerid,Textdraw11, 255);
PlayerTextDrawTextSize(playerid,Textdraw11, 189.000000, 145.000000);
PlayerTextDrawSetPreviewModel(playerid, Textdraw11, 23);
PlayerTextDrawSetPreviewRot(playerid, Textdraw11, 0.000000, 0.000000, 0.000000, 1.399999);
PlayerTextDrawSetSelectable(playerid,Textdraw11, 0);
Textdraw12 = CreatePlayerTextDraw(playerid,313.000000, 118.000000, "USE");
PlayerTextDrawBackgroundColor(playerid,Textdraw12, 255);
PlayerTextDrawFont(playerid,Textdraw12, 2);
PlayerTextDrawLetterSize(playerid,Textdraw12, 0.500000, 1.100000);
PlayerTextDrawColor(playerid,Textdraw12, -1);
PlayerTextDrawSetOutline(playerid,Textdraw12, 0);
PlayerTextDrawSetProportional(playerid,Textdraw12, 1);
PlayerTextDrawSetShadow(playerid,Textdraw12, 1);
PlayerTextDrawUseBox(playerid,Textdraw12, 1);
PlayerTextDrawBoxColor(playerid,Textdraw12, 0);
PlayerTextDrawTextSize(playerid,Textdraw12, 350.000000, 10.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw12, 1);
Textdraw13 = CreatePlayerTextDraw(playerid,313.000000, 134.000000, "throw");
PlayerTextDrawBackgroundColor(playerid,Textdraw13, 255);
PlayerTextDrawFont(playerid,Textdraw13, 2);
PlayerTextDrawLetterSize(playerid,Textdraw13, 0.500000, 1.100000);
PlayerTextDrawColor(playerid,Textdraw13, -1);
PlayerTextDrawSetOutline(playerid,Textdraw13, 0);
PlayerTextDrawSetProportional(playerid,Textdraw13, 1);
PlayerTextDrawSetShadow(playerid,Textdraw13, 1);
PlayerTextDrawUseBox(playerid,Textdraw13, 1);
PlayerTextDrawBoxColor(playerid,Textdraw13, 0);
PlayerTextDrawTextSize(playerid,Textdraw13, 383.000000, 10.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw13, 1);
Textdraw14 = CreatePlayerTextDraw(playerid,313.000000, 148.000000, "back");
PlayerTextDrawBackgroundColor(playerid,Textdraw14, 255);
PlayerTextDrawFont(playerid,Textdraw14, 2);
PlayerTextDrawLetterSize(playerid,Textdraw14, 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Textdraw14, -1);
PlayerTextDrawSetOutline(playerid,Textdraw14, 0);
PlayerTextDrawSetProportional(playerid,Textdraw14, 1);
PlayerTextDrawSetShadow(playerid,Textdraw14, 1);
PlayerTextDrawUseBox(playerid,Textdraw14, 1);
PlayerTextDrawBoxColor(playerid,Textdraw14, 0);
PlayerTextDrawTextSize(playerid,Textdraw14, 365.000000, 10.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw14, 1);
Textdraw15 = CreatePlayerTextDraw(playerid,119.000000, 264.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Textdraw15, 255);
PlayerTextDrawFont(playerid,Textdraw15, 1);
PlayerTextDrawLetterSize(playerid,Textdraw15, 0.250000, 1.900000);
PlayerTextDrawColor(playerid,Textdraw15, -1);
PlayerTextDrawSetOutline(playerid,Textdraw15, 0);
PlayerTextDrawSetProportional(playerid,Textdraw15, 1);
PlayerTextDrawSetShadow(playerid,Textdraw15, 1);
PlayerTextDrawUseBox(playerid,Textdraw15, 1);
PlayerTextDrawBoxColor(playerid,Textdraw15, -864607489);
PlayerTextDrawTextSize(playerid,Textdraw15, 496.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw15, 0);
Textdraw16 = CreatePlayerTextDraw(playerid,450.000000, 105.000000, "exit");
PlayerTextDrawBackgroundColor(playerid,Textdraw16, 255);
PlayerTextDrawFont(playerid,Textdraw16, 2);
PlayerTextDrawLetterSize(playerid,Textdraw16, 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Textdraw16, -16776961);
PlayerTextDrawSetOutline(playerid,Textdraw16, 1);
PlayerTextDrawSetProportional(playerid,Textdraw16, 1);
PlayerTextDrawUseBox(playerid,Textdraw16, 1);
PlayerTextDrawBoxColor(playerid,Textdraw16, 0);
PlayerTextDrawTextSize(playerid,Textdraw16, 496.000000, 10.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw16, 1);
#undef Textdraw0
#undef Textdraw1
#undef Textdraw2
#undef Textdraw3
#undef Textdraw4
#undef Textdraw5
#undef Textdraw6
#undef Textdraw7
#undef Textdraw8
#undef Textdraw9
#undef Textdraw10
#undef Textdraw11
#undef Textdraw12
#undef Textdraw13
#undef Textdraw14
#undef Textdraw15
#undef Textdraw16
}
Щас создал еще такой ТД, он отображается нормально(11-ый TD, показываю и создаю так же)