Доступ к готовым решениям

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info
  • Новые темы в этом разделе публикуются автоматически при добавлении файла в менеджер ресурсов.
    Ручное создание новых тем невозможно.

Инвентарь

Статус
В этой теме нельзя размещать новые ответы.

Expert

Умник
Доброго времени суток пользовалите P-I.RU.
Делал инвентарь для сервера с жанром выживание, разработка заморозилась и инвентарь валяется без надобности.
Выкладывать систему не буду т.к. слишком много кода, отдаю TD , вдруг понадобятся будущим разработчикам своих проектов, к тому же
система инвентаря есть в паблике и подставить TD не доставит особого труда.


Сами TD:

Ко всем переменным:

PHP:
#define MAX_INVENTORE_SLOT			40
new Text: GlobalInventory[14]; //14
new PlayerText: LeftInventory[MAX_PLAYERS][MAX_INVENTORE_SLOT];
new PlayerText: OtherInventory[MAX_PLAYERS][4];
new PlayerText: RightInventory[MAX_PLAYERS][MAX_INVENTORE_SLOT];
В OnGameModeInit:

PHP:
	// INVENTORY
	GlobalInventory[0] = TextDrawCreate(218.799926, 114.246665, "usebox");
	TextDrawLetterSize(GlobalInventory[0], 0.000000, 28.800369);
	TextDrawTextSize(GlobalInventory[0], 59.599876, 0.000000);
	TextDrawAlignment(GlobalInventory[0], 1);
	TextDrawColor(GlobalInventory[0], 0);
	TextDrawUseBox(GlobalInventory[0], true);
	TextDrawBoxColor(GlobalInventory[0], 48);
	TextDrawSetShadow(GlobalInventory[0], 0);
	TextDrawSetOutline(GlobalInventory[0], 0);
	TextDrawFont(GlobalInventory[0], 0);

	GlobalInventory[1] = TextDrawCreate(218.799987, 114.246665, "usebox");
	TextDrawLetterSize(GlobalInventory[1], 0.000000, 1.342592);
	TextDrawTextSize(GlobalInventory[1], 59.599967, 0.000000);
	TextDrawAlignment(GlobalInventory[1], 1);
	TextDrawColor(GlobalInventory[1], 0);
	TextDrawUseBox(GlobalInventory[1], true);
	TextDrawBoxColor(GlobalInventory[1], 102);
	TextDrawSetShadow(GlobalInventory[1], 0);
	TextDrawSetOutline(GlobalInventory[1], 0);
	TextDrawFont(GlobalInventory[1], 0);

	GlobalInventory[2] = TextDrawCreate(385.399871, 114.500000, "usebox");
	TextDrawLetterSize(GlobalInventory[2], 0.000000, 18.480379);
	TextDrawTextSize(GlobalInventory[2], 220.399963, 0.000000);
	TextDrawAlignment(GlobalInventory[2], 1);
	TextDrawColor(GlobalInventory[2], 0);
	TextDrawUseBox(GlobalInventory[2], true);
	TextDrawBoxColor(GlobalInventory[2], 96);
	TextDrawSetShadow(GlobalInventory[2], 0);
	TextDrawSetOutline(GlobalInventory[2], 0);
	TextDrawFont(GlobalInventory[2], 0);

	GlobalInventory[3] = TextDrawCreate(385.399749, 114.500000, "usebox");
	TextDrawLetterSize(GlobalInventory[3], 0.000000, 1.342592);
	TextDrawTextSize(GlobalInventory[3], 221.200057, 0.000000);
	TextDrawAlignment(GlobalInventory[3], 1);
	TextDrawColor(GlobalInventory[3], 0);
	TextDrawUseBox(GlobalInventory[3], true);
	TextDrawBoxColor(GlobalInventory[3], 102);
	TextDrawSetShadow(GlobalInventory[3], 0);
	TextDrawSetOutline(GlobalInventory[3], 0);
	TextDrawFont(GlobalInventory[3], 0);

	GlobalInventory[4] = TextDrawCreate(546.199462, 114.500190, "usebox");
	TextDrawLetterSize(GlobalInventory[4], 0.000000, 28.800369);
	TextDrawTextSize(GlobalInventory[4], 386.799713, 0.000000);
	TextDrawAlignment(GlobalInventory[4], 1);
	TextDrawColor(GlobalInventory[4], 0);
	TextDrawUseBox(GlobalInventory[4], true);
	TextDrawBoxColor(GlobalInventory[4], 48);
	TextDrawSetShadow(GlobalInventory[4], 0);
	TextDrawSetOutline(GlobalInventory[4], 0);
	TextDrawFont(GlobalInventory[4], 0);

	GlobalInventory[5] = TextDrawCreate(546.199462, 114.499870, "usebox");
	TextDrawLetterSize(GlobalInventory[5], 0.000000, 1.342592);
	TextDrawTextSize(GlobalInventory[5], 386.800018, 0.000000);
	TextDrawAlignment(GlobalInventory[5], 1);
	TextDrawColor(GlobalInventory[5], 0);
	TextDrawUseBox(GlobalInventory[5], true);
	TextDrawBoxColor(GlobalInventory[5], 102);
	TextDrawSetShadow(GlobalInventory[5], 0);
	TextDrawSetOutline(GlobalInventory[5], 0);
	TextDrawFont(GlobalInventory[5], 0);

	GlobalInventory[6] = TextDrawCreate(398.600097, 113.746688, RussianTDText("инвентарь"));// инвентарь
	TextDrawLetterSize(GlobalInventory[6], 0.213999, 1.293866);
	TextDrawAlignment(GlobalInventory[6], 1);
	TextDrawColor(GlobalInventory[6], -1);
	TextDrawSetShadow(GlobalInventory[6], 0);
	TextDrawSetOutline(GlobalInventory[6], 1);
	TextDrawBackgroundColor(GlobalInventory[6], 51);
	TextDrawFont(GlobalInventory[6], 2);
	TextDrawSetProportional(GlobalInventory[6], 1);

	GlobalInventory[7] = TextDrawCreate(385.599456, 287.233123, "usebox");
	TextDrawLetterSize(GlobalInventory[7], 0.000000, 1.342592);
	TextDrawTextSize(GlobalInventory[7], 220.399932, 0.000000);
	TextDrawAlignment(GlobalInventory[7], 1);
	TextDrawColor(GlobalInventory[7], 0);
	TextDrawUseBox(GlobalInventory[7], true);
	TextDrawBoxColor(GlobalInventory[7], 144);
	TextDrawSetShadow(GlobalInventory[7], 0);
	TextDrawSetOutline(GlobalInventory[7], 0);
	TextDrawFont(GlobalInventory[7], 0);

	GlobalInventory[8] = TextDrawCreate(231.600036, 286.479919, RussianTDText("в руках")); // в руках
	TextDrawLetterSize(GlobalInventory[8], 0.213999, 1.293866);
	TextDrawAlignment(GlobalInventory[8], 1);
	TextDrawColor(GlobalInventory[8], -1);
	TextDrawSetShadow(GlobalInventory[8], 0);
	TextDrawSetOutline(GlobalInventory[8], 1);
	TextDrawBackgroundColor(GlobalInventory[8], 51);
	TextDrawFont(GlobalInventory[8], 2);
	TextDrawSetProportional(GlobalInventory[8], 1);

	GlobalInventory[9] = TextDrawCreate(385.399963, 304.900115, "usebox");
	TextDrawLetterSize(GlobalInventory[9], 0.000000, 7.680377);
	TextDrawTextSize(GlobalInventory[9], 220.400024, 0.000000);
	TextDrawAlignment(GlobalInventory[9], 1);
	TextDrawColor(GlobalInventory[9], 0);
	TextDrawUseBox(GlobalInventory[9], true);
	TextDrawBoxColor(GlobalInventory[9], 48);
	TextDrawSetShadow(GlobalInventory[9], 0);
	TextDrawSetOutline(GlobalInventory[9], 0);
	TextDrawFont(GlobalInventory[9], 0);

	GlobalInventory[10] = TextDrawCreate(545.999755, 114.246658, "usebox");
	TextDrawLetterSize(GlobalInventory[10], 0.000000, 1.336667);
	TextDrawTextSize(GlobalInventory[10], 524.399841, 0.000000);
	TextDrawAlignment(GlobalInventory[10], 1);
	TextDrawColor(GlobalInventory[10], 0);
	TextDrawUseBox(GlobalInventory[10], true);
	TextDrawBoxColor(GlobalInventory[10], -1523963137);
	TextDrawSetShadow(GlobalInventory[10], 0);
	TextDrawSetOutline(GlobalInventory[10], 0);
	TextDrawFont(GlobalInventory[10], 0);

	GlobalInventory[11] = TextDrawCreate(529.599731, 112.746673, "X");
	TextDrawLetterSize(GlobalInventory[11], 0.449999, 1.600000);
	TextDrawTextSize(GlobalInventory[11], 540.800231, 26.879997);
	TextDrawAlignment(GlobalInventory[11], 1);
	TextDrawColor(GlobalInventory[11], -1061109505);
	TextDrawSetShadow(GlobalInventory[11], 0);
	TextDrawSetOutline(GlobalInventory[11], 1);
	TextDrawBackgroundColor(GlobalInventory[11], 51);
	TextDrawFont(GlobalInventory[11], 2);
	TextDrawSetProportional(GlobalInventory[11], 1);
	TextDrawSetSelectable(GlobalInventory[11], true);

	GlobalInventory[12] = TextDrawCreate(526.000915, 114.246665, "usebox");
	TextDrawLetterSize(GlobalInventory[12], 0.000000, 1.375184);
	TextDrawTextSize(GlobalInventory[12], 504.400787, 0.000000);
	TextDrawAlignment(GlobalInventory[12], 1);
	TextDrawColor(GlobalInventory[12], 0);
	TextDrawUseBox(GlobalInventory[12], true);
	TextDrawBoxColor(GlobalInventory[12], 1166767274);
	TextDrawSetShadow(GlobalInventory[12], 0);
	TextDrawSetOutline(GlobalInventory[12], 0);
	TextDrawFont(GlobalInventory[12], 0);

	GlobalInventory[13] = TextDrawCreate(513.600036, 112.746688, "i");
	TextDrawLetterSize(GlobalInventory[13], 0.449999, 1.600000);
	TextDrawTextSize(GlobalInventory[13], 519.199951, 12.693331);
	TextDrawAlignment(GlobalInventory[13], 1);
	TextDrawColor(GlobalInventory[13], -1061109505);
	TextDrawUseBox(GlobalInventory[13], true);
	TextDrawBoxColor(GlobalInventory[13], 0);
	TextDrawSetShadow(GlobalInventory[13], 0);
	TextDrawSetOutline(GlobalInventory[13], 1);
	TextDrawBackgroundColor(GlobalInventory[13], 51);
	TextDrawFont(GlobalInventory[13], 1);
	TextDrawSetProportional(GlobalInventory[13], 1);
	TextDrawSetSelectable(GlobalInventory[13], true);
В OnPlayerConnect:

PHP:
	LeftInventory[playerid][0] = CreatePlayerTextDraw(playerid, 64.000061, 131.413162, "LD_SPAC:white");
	LeftInventory[playerid][1] = CreatePlayerTextDraw(playerid, 93.800071, 130.919815, "LD_SPAC:white");
	LeftInventory[playerid][2] = CreatePlayerTextDraw(playerid, 124.400054, 131.173141, "LD_SPAC:white");
	LeftInventory[playerid][3] = CreatePlayerTextDraw(playerid, 155.000076, 130.679794, "LD_SPAC:white");
	LeftInventory[playerid][4] = CreatePlayerTextDraw(playerid, 185.600051, 130.933105, "LD_SPAC:white");
	LeftInventory[playerid][5] = CreatePlayerTextDraw(playerid, 63.400058, 161.533203, "LD_SPAC:white");
	LeftInventory[playerid][6] = CreatePlayerTextDraw(playerid, 94.000068, 161.786529, "LD_SPAC:white");
	LeftInventory[playerid][7] = CreatePlayerTextDraw(playerid, 124.600090, 161.293182, "LD_SPAC:white");
	LeftInventory[playerid][8] = CreatePlayerTextDraw(playerid, 155.200134, 161.546508, "LD_SPAC:white");
	LeftInventory[playerid][9] = CreatePlayerTextDraw(playerid, 185.000167, 161.799835, "LD_SPAC:white");
	LeftInventory[playerid][10] = CreatePlayerTextDraw(playerid, 63.600154, 191.919815, "LD_SPAC:white");
	LeftInventory[playerid][11] = CreatePlayerTextDraw(playerid, 94.200180, 192.173141, "LD_SPAC:white");
	LeftInventory[playerid][12] = CreatePlayerTextDraw(playerid, 124.800170, 192.426467, "LD_SPAC:white");
	LeftInventory[playerid][13] = CreatePlayerTextDraw(playerid, 154.600204, 191.933120, "LD_SPAC:white");
	LeftInventory[playerid][14] = CreatePlayerTextDraw(playerid, 185.200210, 192.186447, "LD_SPAC:white");
	LeftInventory[playerid][15] = CreatePlayerTextDraw(playerid, 63.800167, 223.053146, "LD_SPAC:white");
	LeftInventory[playerid][16] = CreatePlayerTextDraw(playerid, 94.400169, 222.559768, "LD_SPAC:white");
	LeftInventory[playerid][17] = CreatePlayerTextDraw(playerid, 124.200172, 222.813095, "LD_SPAC:white");
	LeftInventory[playerid][18] = CreatePlayerTextDraw(playerid, 154.800201, 223.066421, "LD_SPAC:white");
	LeftInventory[playerid][19] = CreatePlayerTextDraw(playerid, 185.400222, 222.573074, "LD_SPAC:white");
	LeftInventory[playerid][20] = CreatePlayerTextDraw(playerid, 64.000213, 253.439758, "LD_SPAC:white");
	LeftInventory[playerid][21] = CreatePlayerTextDraw(playerid, 93.800224, 253.693084, "LD_SPAC:white");
	LeftInventory[playerid][22] = CreatePlayerTextDraw(playerid, 124.400245, 253.199737, "LD_SPAC:white");
	LeftInventory[playerid][23] = CreatePlayerTextDraw(playerid, 155.000274, 253.453063, "LD_SPAC:white");
	LeftInventory[playerid][24] = CreatePlayerTextDraw(playerid, 185.600311, 253.706390, "LD_SPAC:white");
	LeftInventory[playerid][25] = CreatePlayerTextDraw(playerid, 63.400279, 283.826477, "LD_SPAC:white");
	LeftInventory[playerid][26] = CreatePlayerTextDraw(playerid, 94.000289, 284.079803, "LD_SPAC:white");
	LeftInventory[playerid][27] = CreatePlayerTextDraw(playerid, 124.600296, 284.333129, "LD_SPAC:white");
	LeftInventory[playerid][28] = CreatePlayerTextDraw(playerid, 155.200317, 283.839782, "LD_SPAC:white");
	LeftInventory[playerid][29] = CreatePlayerTextDraw(playerid, 185.000366, 284.093109, "LD_SPAC:white");
	LeftInventory[playerid][30] = CreatePlayerTextDraw(playerid, 63.600353, 314.959838, "LD_SPAC:white");
	LeftInventory[playerid][31] = CreatePlayerTextDraw(playerid, 94.200378, 314.466491, "LD_SPAC:white");
	LeftInventory[playerid][32] = CreatePlayerTextDraw(playerid, 124.800361, 314.719818, "LD_SPAC:white");
	LeftInventory[playerid][33] = CreatePlayerTextDraw(playerid, 154.600372, 314.973144, "LD_SPAC:white");
	LeftInventory[playerid][34] = CreatePlayerTextDraw(playerid, 185.200393, 314.479797, "LD_SPAC:white");
	LeftInventory[playerid][35] = CreatePlayerTextDraw(playerid, 63.800388, 345.346466, "LD_SPAC:white");
	LeftInventory[playerid][36] = CreatePlayerTextDraw(playerid, 94.400413, 345.599792, "LD_SPAC:white");
	LeftInventory[playerid][37] = CreatePlayerTextDraw(playerid, 124.200439, 345.106445, "LD_SPAC:white");
	LeftInventory[playerid][38] = CreatePlayerTextDraw(playerid, 154.800491, 345.359771, "LD_SPAC:white");
	LeftInventory[playerid][39] = CreatePlayerTextDraw(playerid, 185.400512, 345.613098, "LD_SPAC:white");
	
 	for(new i; i < MAX_INVENTORE_SLOT; i++)
	{
		PlayerTextDrawLetterSize(playerid, LeftInventory[playerid][i], 0.000000, 0.000000);
		PlayerTextDrawTextSize(playerid, LeftInventory[playerid][i], 29.600036, 29.866653);
		PlayerTextDrawAlignment(playerid, LeftInventory[playerid][i], 1);
		PlayerTextDrawColor(playerid, LeftInventory[playerid][i], -1);
		PlayerTextDrawSetShadow(playerid, LeftInventory[playerid][i], 0);
		PlayerTextDrawSetOutline(playerid, LeftInventory[playerid][i], 0);
		PlayerTextDrawFont(playerid, LeftInventory[playerid][i], 5);
		PlayerTextDrawSetSelectable(playerid, LeftInventory[playerid][i], true);
	}

	////////
	OtherInventory[playerid][0] = CreatePlayerTextDraw(playerid, 227.999938, 133.653274, "LD_SPAC:white"); // neei
	PlayerTextDrawLetterSize(playerid, OtherInventory[playerid][0], 0.000000, 0.000000);
	PlayerTextDrawTextSize(playerid, OtherInventory[playerid][0], 149.599945, 135.146682);
	PlayerTextDrawAlignment(playerid, OtherInventory[playerid][0], 1);
	PlayerTextDrawColor(playerid, OtherInventory[playerid][0], -1);
	PlayerTextDrawSetShadow(playerid, OtherInventory[playerid][0], 0);
	PlayerTextDrawSetOutline(playerid, OtherInventory[playerid][0], 0);
	PlayerTextDrawFont(playerid, OtherInventory[playerid][0], 5);
	PlayerTextDrawBackgroundColor(playerid,OtherInventory[playerid][0], 0);
	PlayerTextDrawSetSelectable(playerid, OtherInventory[playerid][0], true);

	OtherInventory[playerid][1] = CreatePlayerTextDraw(playerid, 230.799942, 309.119934, "LD_SPAC:white"); // a ?oeao
	PlayerTextDrawLetterSize(playerid, OtherInventory[playerid][1], 0.000000, -16.319999);
	PlayerTextDrawTextSize(playerid, OtherInventory[playerid][1], 143.199966, 61.973327);
	PlayerTextDrawAlignment(playerid, OtherInventory[playerid][1], 1);
	PlayerTextDrawColor(playerid, OtherInventory[playerid][1], -1);
	PlayerTextDrawSetShadow(playerid, OtherInventory[playerid][1], 0);
	PlayerTextDrawSetOutline(playerid, OtherInventory[playerid][1], 0);
	PlayerTextDrawFont(playerid, OtherInventory[playerid][1], 5);
	PlayerTextDrawBackgroundColor(playerid,OtherInventory[playerid][1], 0);
	PlayerTextDrawSetSelectable(playerid, OtherInventory[playerid][1], true);

	OtherInventory[playerid][2] = CreatePlayerTextDraw(playerid, 69.599945, 113.493347, "_"); // iiaeecinoe
	PlayerTextDrawLetterSize(playerid, OtherInventory[playerid][2], 0.213999, 1.293866);
	PlayerTextDrawAlignment(playerid,OtherInventory[playerid][2], 1);
	PlayerTextDrawColor(playerid,OtherInventory[playerid][2], -1);
	PlayerTextDrawSetShadow(playerid,OtherInventory[playerid][2], 0);
	PlayerTextDrawSetOutline(playerid,OtherInventory[playerid][2], 1);
	PlayerTextDrawBackgroundColor(playerid, OtherInventory[playerid][2], 51);
	PlayerTextDrawFont(playerid, OtherInventory[playerid][2], 2);
	PlayerTextDrawSetProportional(playerid, OtherInventory[playerid][2], 1);


	OtherInventory[playerid][3] = CreatePlayerTextDraw(playerid, 231.399963, 113.746681, "_"); // iiaeecinoe
	PlayerTextDrawLetterSize(playerid, OtherInventory[playerid][3],  0.213999, 1.293866);
	PlayerTextDrawAlignment(playerid,OtherInventory[playerid][3], 1);
	PlayerTextDrawColor(playerid,OtherInventory[playerid][3], -1);
	PlayerTextDrawSetShadow(playerid,OtherInventory[playerid][3], 0);
	PlayerTextDrawSetOutline(playerid,OtherInventory[playerid][3], 1);
	PlayerTextDrawBackgroundColor(playerid, OtherInventory[playerid][3], 51);
	PlayerTextDrawFont(playerid, OtherInventory[playerid][3], 2);
	PlayerTextDrawSetProportional(playerid, OtherInventory[playerid][3], 1);


	// RIGHT
	RightInventory[playerid][0] = CreatePlayerTextDraw(playerid, 390.800109, 130.959411, "LD_SPAC:white");
	RightInventory[playerid][1] = CreatePlayerTextDraw(playerid, 421.400054, 131.212738, "LD_SPAC:white");
	RightInventory[playerid][2] = CreatePlayerTextDraw(playerid, 452.000000, 130.719390, "LD_SPAC:white");
	RightInventory[playerid][3] = CreatePlayerTextDraw(playerid, 481.799987, 130.972717, "LD_SPAC:white");
	RightInventory[playerid][4] = CreatePlayerTextDraw(playerid, 512.399841, 131.226043, "LD_SPAC:white");
	RightInventory[playerid][5] = CreatePlayerTextDraw(playerid, 390.999908, 161.345977, "LD_SPAC:white");
	RightInventory[playerid][6] = CreatePlayerTextDraw(playerid, 421.599822, 161.599304, "LD_SPAC:white");
	RightInventory[playerid][7] = CreatePlayerTextDraw(playerid, 451.399688, 161.852645, "LD_SPAC:white");
	RightInventory[playerid][8] = CreatePlayerTextDraw(playerid, 481.999633, 161.359298, "LD_SPAC:white");
	RightInventory[playerid][9] = CreatePlayerTextDraw(playerid, 512.599487, 161.612625, "LD_SPAC:white");
	RightInventory[playerid][10] = CreatePlayerTextDraw(playerid, 391.199554, 192.479248, "LD_SPAC:white");
	RightInventory[playerid][11] = CreatePlayerTextDraw(playerid, 420.999542, 191.985900, "LD_SPAC:white");
	RightInventory[playerid][12] = CreatePlayerTextDraw(playerid, 451.599456, 192.239227, "LD_SPAC:white");
	RightInventory[playerid][13] = CreatePlayerTextDraw(playerid, 482.199401, 192.492553, "LD_SPAC:white");
	RightInventory[playerid][14] = CreatePlayerTextDraw(playerid, 512.799316, 191.999206, "LD_SPAC:white");
	RightInventory[playerid][15] = CreatePlayerTextDraw(playerid, 390.599334, 222.865875, "LD_SPAC:white");
	RightInventory[playerid][16] = CreatePlayerTextDraw(playerid, 421.199279, 223.119201, "LD_SPAC:white");
	RightInventory[playerid][17] = CreatePlayerTextDraw(playerid, 451.799255, 222.625854, "LD_SPAC:white");
	RightInventory[playerid][18] = CreatePlayerTextDraw(playerid, 482.399230, 222.879180, "LD_SPAC:white");
	RightInventory[playerid][19] = CreatePlayerTextDraw(playerid, 512.199157, 223.132507, "LD_SPAC:white");
	RightInventory[playerid][20] = CreatePlayerTextDraw(playerid, 390.799224, 253.252563, "LD_SPAC:white");
	RightInventory[playerid][21] = CreatePlayerTextDraw(playerid, 421.399322, 253.505905, "LD_SPAC:white");
	RightInventory[playerid][22] = CreatePlayerTextDraw(playerid, 451.999237, 253.759231, "LD_SPAC:white");
	RightInventory[playerid][23] = CreatePlayerTextDraw(playerid, 481.799133, 253.265869, "LD_SPAC:white");
	RightInventory[playerid][24] = CreatePlayerTextDraw(playerid, 512.399047, 253.519195, "LD_SPAC:white");
	RightInventory[playerid][25] = CreatePlayerTextDraw(playerid, 390.999053, 284.385894, "LD_SPAC:white");
	RightInventory[playerid][26] = CreatePlayerTextDraw(playerid, 421.599090, 283.892547, "LD_SPAC:white");
	RightInventory[playerid][27] = CreatePlayerTextDraw(playerid, 451.399047, 284.145874, "LD_SPAC:white");
	RightInventory[playerid][28] = CreatePlayerTextDraw(playerid, 481.998992, 284.399200, "LD_SPAC:white");
	RightInventory[playerid][29] = CreatePlayerTextDraw(playerid, 512.598876, 283.905853, "LD_SPAC:white");
	RightInventory[playerid][30] = CreatePlayerTextDraw(playerid, 391.198944, 314.772644, "LD_SPAC:white");
	RightInventory[playerid][31] = CreatePlayerTextDraw(playerid, 420.998870, 315.025970, "LD_SPAC:white");
	RightInventory[playerid][32] = CreatePlayerTextDraw(playerid, 451.598876, 314.532623, "LD_SPAC:white");
	RightInventory[playerid][33] = CreatePlayerTextDraw(playerid, 482.198791, 314.785949, "LD_SPAC:white");
	RightInventory[playerid][34] = CreatePlayerTextDraw(playerid, 512.798706, 315.039276, "LD_SPAC:white");
	RightInventory[playerid][35] = CreatePlayerTextDraw(playerid, 390.598724, 345.159301, "LD_SPAC:white");
	RightInventory[playerid][36] = CreatePlayerTextDraw(playerid, 421.198669, 345.412628, "LD_SPAC:white");
	RightInventory[playerid][37] = CreatePlayerTextDraw(playerid, 451.798583, 345.665954, "LD_SPAC:white");
	RightInventory[playerid][38] = CreatePlayerTextDraw(playerid, 482.398559, 345.172607, "LD_SPAC:white");
	RightInventory[playerid][39] = CreatePlayerTextDraw(playerid, 512.198669, 345.425933, "LD_SPAC:white");
	
 	for(new i; i < MAX_INVENTORE_SLOT; i++)
	{
		PlayerTextDrawLetterSize(playerid, RightInventory[playerid][i], 0.000000, 0.000000);
		PlayerTextDrawTextSize(playerid, RightInventory[playerid][i], 29.600036, 29.866653);
		PlayerTextDrawAlignment(playerid, RightInventory[playerid][i], 1);
		PlayerTextDrawColor(playerid, RightInventory[playerid][i], -1);
		PlayerTextDrawSetShadow(playerid, RightInventory[playerid][i], 0);
		PlayerTextDrawSetOutline(playerid, RightInventory[playerid][i], 0);
		PlayerTextDrawFont(playerid, RightInventory[playerid][i], 5);
		PlayerTextDrawSetSelectable(playerid, RightInventory[playerid][i], true);
	}
PHP:
			PlayerTextDrawSetString(playerid, OtherInventory[playerid][2], RussianTDText("Поблизости"));
			PlayerTextDrawSetString(playerid, OtherInventory[playerid][3], RussianTDText("Игрок"));
			PlayerTextDrawSetPreviewModel(playerid, OtherInventory[playerid][0], GetPlayerSkin(playerid));
			PlayerTextDrawSetPreviewRot(playerid,OtherInventory[playerid][0], 0.000000, 0.000000, 0.000000, 1.100000);
			
			for(new i; i < 14; i++) TextDrawShowForPlayer(playerid,GlobalInventory[i]);
		   	PlayerTextDrawSetPreviewModel(playerid,OtherInventory[playerid][1], 19461);
		   	PlayerTextDrawSetPreviewRot(playerid, OtherInventory[playerid][1], 0.000000, 0.000000, 90.000000, 0.100000);
		    for(new i; i < 4; i++) PlayerTextDrawShow(playerid,OtherInventory[playerid][i]);
		    
		    for(new i; i < MAX_INVENTORE_SLOT; i++)
			{
				PlayerTextDrawSetPreviewModel(playerid,RightInventory[playerid][i], 19461);
				PlayerTextDrawSetPreviewRot(playerid, RightInventory[playerid][i], 0.000000, 0.000000, 90.000000, 0.100000);
				PlayerTextDrawShow(playerid,RightInventory[playerid][i]);
				
				PlayerTextDrawSetPreviewModel(playerid,LeftInventory[playerid][i], 19461);
				PlayerTextDrawSetPreviewRot(playerid, LeftInventory[playerid][i], 0.000000, 0.000000, 90.000000, 0.100000);
				PlayerTextDrawShow(playerid,LeftInventory[playerid][i]);
			}
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу