Question

Спойлер

E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(25977) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62745) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62746) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62747) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62748) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62749) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62750) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62751) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62752) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62753) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62754) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62755) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62756) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62757) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62758) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62759) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62761) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62762) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62763) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62764) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62765) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62766) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62767) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62768) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62769) : error 032: array index out of bounds (variable "inv_player")
E:\Users\Vadim\Desktop\техас рома\gamemodes\mode.pwn(62770) : error 032: array index out of bounds (variable "inv_player")
Спойлер


строчка (25977) - }
    if(newkeys == KEY_YES)// KEY_NO
	{
		for(new A; A != 15; A++)//15
    	{
        	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][59], GetPlayerSkin(playerid));//59
        	PlayerTextDrawShow(playerid, inv_player[playerid][A]);
    	}
		for(new i=0; i<16; i++) {
			TextDrawShowForPlayer(playerid, inv_global[i]);
		}
		for(new i; i < 60; i++) {
			PlayerTextDrawShow(playerid, inv_player[playerid][i]);
		}
		SelectTextDraw(playerid, 0xEA363FFF);
  		SetPVarInt(playerid, "inventory_td_check", 1);
  		return 1;


inv_player[playerid][59] = CreatePlayerTextDraw(playerid, 28.952316, 178.333298, "skin_model"); // эмиль
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][59], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][59], 127.000000, 160.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][59], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][59], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][59], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][59], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][59], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][59], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][59], 0x00000000);
	PlayerTextDrawFont(playerid, inv_player[playerid][59], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][59], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][59], 0);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][59], 7);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][59], 0.000000, 0.000000, 20.000000, 1.000000);

	inv_player[playerid][58] = CreatePlayerTextDraw(playerid, 33.000000, 351.500000, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][58], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][58], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][58], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][58], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][58], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][58], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][58], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][58], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][58], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][58], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][58], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][58], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][58], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][58], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][57] = CreatePlayerTextDraw(playerid, 60.893127, 373.749908, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][57], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][57], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][57], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][57], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][57], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][57], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][57], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][57], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][57], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][57], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][57], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][57], 0);

	inv_player[playerid][56] = CreatePlayerTextDraw(playerid, 162.341766, 325.933136, "ld_beat:chit");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][56], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][56], 9.000000, 9.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][56], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][56], 0xEA363FFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][56], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][56], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][56], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][56], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][56], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][56], 4);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][56], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][56], 1);

	inv_player[playerid][55] = CreatePlayerTextDraw(playerid, 62.599998, 351.500000, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][55], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][55], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][55], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][55], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][55], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][55], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][55], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][55], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][55], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][55], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][55], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][55], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][55], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][55], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][54] = CreatePlayerTextDraw(playerid, 90.409958, 373.749786, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][54], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][54], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][54], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][54], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][54], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][54], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][54], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][54], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][54], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][54], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][54], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][54], 0);

	inv_player[playerid][53] = CreatePlayerTextDraw(playerid, 170.775146, 325.933136, "ld_beat:chit");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][53], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][53], 9.000000, 9.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][53], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][53], 0x252A2FFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][53], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][53], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][53], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][53], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][53], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][53], 4);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][53], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][53], 1);

	inv_player[playerid][52] = CreatePlayerTextDraw(playerid, 92.199997, 351.500000, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][52], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][52], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][52], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][52], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][52], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][52], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][52], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][52], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][52], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][52], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][52], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][52], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][52], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][52], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][51] = CreatePlayerTextDraw(playerid, 119.926788, 373.749725, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][51], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][51], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][51], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][51], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][51], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][51], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][51], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][51], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][51], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][51], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][51], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][51], 0);

	inv_player[playerid][50] = CreatePlayerTextDraw(playerid, 179.208527, 325.933136, "ld_beat:chit");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][50], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][50], 9.000000, 9.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][50], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][50], 0x252A2FFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][50], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][50], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][50], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][50], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][50], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][50], 4);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][50], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][50], 0);

	inv_player[playerid][49] = CreatePlayerTextDraw(playerid, 121.599998, 351.500000, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][49], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][49], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][49], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][49], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][49], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][49], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][49], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][49], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][49], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][49], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][49], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][49], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][49], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][49], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][48] = CreatePlayerTextDraw(playerid, 149.443619, 373.749756, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][48], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][48], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][48], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][48], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][48], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][48], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][48], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][48], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][48], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][48], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][48], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][48], 0);

	inv_player[playerid][47] = CreatePlayerTextDraw(playerid, 107.295090, 416.916565, "ld_beat:chit");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][47], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][47], 9.000000, 9.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][47], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][47], 0xEA363FFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][47], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][47], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][47], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][47], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][47], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][47], 4);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][47], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][47], 1);

	inv_player[playerid][46] = CreatePlayerTextDraw(playerid, 151.099960, 351.500000, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][46], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][46], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][46], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][46], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][46], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][46], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][46], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][46], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][46], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][46], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][46], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][46], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][46], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][46], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][45] = CreatePlayerTextDraw(playerid, 178.491928, 373.749817, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][45], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][45], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][45], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][45], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][45], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][45], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][45], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][45], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][45], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][45], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][45], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][45], 0);

	inv_player[playerid][44] = CreatePlayerTextDraw(playerid, 115.728462, 416.916565, "ld_beat:chit");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][44], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][44], 9.000000, 9.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][44], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][44], 0x252A2FFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][44], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][44], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][44], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][44], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][44], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][44], 4);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][44], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][44], 1);

	inv_player[playerid][43] = CreatePlayerTextDraw(playerid, 180.699997, 351.500000, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][43], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][43], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][43], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][43], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][43], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][43], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][43], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][43], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][43], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][43], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][43], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][43], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][43], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][43], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][42] = CreatePlayerTextDraw(playerid, 207.541931, 373.749817, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][42], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][42], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][42], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][42], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][42], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][42], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][42], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][42], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][42], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][42], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][42], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][42], 0);

	inv_player[playerid][41] = CreatePlayerTextDraw(playerid, 124.161842, 416.916565, "ld_beat:chit");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][41], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][41], 9.000000, 9.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][41], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][41], 0x252A2FFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][41], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][41], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][41], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][41], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][41], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][41], 4);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][41], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][41], 1);

	inv_player[playerid][40] = CreatePlayerTextDraw(playerid, 33.000000, 382.049988, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][40], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][40], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][40], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][40], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][40], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][40], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][40], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][40], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][40], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][40], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][40], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][40], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][40], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][40], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][39] = CreatePlayerTextDraw(playerid, 60.893127, 404.666565, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][39], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][39], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][39], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][39], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][39], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][39], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][39], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][39], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][39], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][39], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][39], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][39], 0);

	inv_player[playerid][38] = CreatePlayerTextDraw(playerid, 42.099998, 203.416687, "100"); // эмиль - хп
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][38], 0.199937, 1.015830);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][38], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][38], 2);
	PlayerTextDrawColor(playerid, inv_player[playerid][38], 0xA52A2AFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][38], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][38], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][38], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][38], 1);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][38], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][38], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][38], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][38], 0);

	inv_player[playerid][37] = CreatePlayerTextDraw(playerid, 62.599998, 382.049988, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][37], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][37], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][37], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][37], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][37], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][37], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][37], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][37], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][37], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][37], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][37], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][37], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][37], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][37], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][36] = CreatePlayerTextDraw(playerid, 90.409958, 404.666443, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][36], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][36], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][36], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][36], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][36], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][36], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][36], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][36], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][36], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][36], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][36], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][36], 0);

	inv_player[playerid][35] = CreatePlayerTextDraw(playerid, 42.099998, 232.000000, "100"); // эмиль - голод
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][35], 0.199937, 1.015830);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][35], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][35], 2);
	PlayerTextDrawColor(playerid, inv_player[playerid][35], 0xFFFFFF9D);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][35], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][35], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][35], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][35], 1);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][35], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][35], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][35], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][35], 0);

	inv_player[playerid][34] = CreatePlayerTextDraw(playerid, 92.199997, 382.049988, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][34], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][34], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][34], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][34], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][34], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][34], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][34], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][34], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][34], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][34], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][34], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][34], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][34], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][34], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][33] = CreatePlayerTextDraw(playerid, 119.926788, 404.666382, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][33], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][33], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][33], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][33], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][33], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][33], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][33], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][33], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][33], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][33], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][33], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][33], 0);

	inv_player[playerid][32] = CreatePlayerTextDraw(playerid, 140.300476, 180.833359, "click_weapon1");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][32], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][32], 69.609917, 29.429985);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][32], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][32], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][32], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][32], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][32], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][32], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][32], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][32], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][32], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][32], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][32], 21);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][32], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][31] = CreatePlayerTextDraw(playerid, 121.599998, 382.049988, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][31], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][31], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][31], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][31], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][31], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][31], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][31], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][31], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][31], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][31], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][31], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][31], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][31], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][31], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][30] = CreatePlayerTextDraw(playerid, 149.443619, 404.666443, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][30], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][30], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][30], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][30], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][30], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][30], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][30], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][30], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][30], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][30], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][30], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][30], 0);

	inv_player[playerid][29] = CreatePlayerTextDraw(playerid, 140.300476, 214.766678, "click_weapon2");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][29], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][29], 69.609917, 29.429985);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][29], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][29], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][29], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][29], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][29], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][29], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][29], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][29], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][29], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][29], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][29], 21);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][29], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][28] = CreatePlayerTextDraw(playerid, 151.099899, 382.049988, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][28], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][28], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][28], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][28], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][28], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][28], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][28], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][28], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][28], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][28], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][28], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][28], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][28], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][28], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][27] = CreatePlayerTextDraw(playerid, 178.960434, 404.666534, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][27], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][27], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][27], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][27], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][27], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][27], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][27], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][27], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][27], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][27], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][27], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][27], 0);

	inv_player[playerid][26] = CreatePlayerTextDraw(playerid, 143.131317, 151.400024, "view_weapon1");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][26], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][26], 90.000000, 90.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][26], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][26], 0x00000098);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][26], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][26], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][26], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][26], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][26], 0x00000000);
	PlayerTextDrawFont(playerid, inv_player[playerid][26], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][26], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][26], 0);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][26], 355);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][26], 0.000000, 0.000000, 0.000000, 2.851906);

	inv_player[playerid][25] = CreatePlayerTextDraw(playerid, 180.699997, 382.049988, "slot");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][25], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][25], 29.000000, 30.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][25], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][25], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][25], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][25], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][25], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][25], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][25], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][25], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][25], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][25], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][25], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][25], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][24] = CreatePlayerTextDraw(playerid, 207.541916, 404.666534, " ");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][24], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][24], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][24], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][24], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][24], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][24], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][24], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][24], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][24], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][24], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][24], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][24], 0);

	inv_player[playerid][23] = CreatePlayerTextDraw(playerid, 117.361496, 163.066788, "view_weapon2");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][23], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][23], 144.000000, 131.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][23], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][23], 0x00000098);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][23], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][23], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][23], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][23], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][23], 0x00000000);
	PlayerTextDrawFont(playerid, inv_player[playerid][23], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][23], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][23], 0);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][23], 346);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][23], 0.000000, 0.000000, 0.000000, 2.851906);

	inv_player[playerid][22] = CreatePlayerTextDraw(playerid, 140.500488, 259.899994, "slot_use");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][22], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][22], 35.000000, 31.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][22], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][22], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][22], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][22], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][22], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][22], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][22], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][22], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][22], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][22], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][22], 1212);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][22], 339.000000, 0.000000, 211.000000, 0.989736);

	inv_player[playerid][21] = CreatePlayerTextDraw(playerid, 173.754684, 282.750092, "~g~~h~$200"); // эмиль $200
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][21], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][21], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][21], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][21], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][21], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][21], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][21], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][21], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][21], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][21], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][21], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][21], 0);

	inv_player[playerid][20] = CreatePlayerTextDraw(playerid, 209.000000, 201.949997, "~r~0");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][20], 0.141376, 0.882498);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][20], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][20], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][20], 0xC0C0C0C2);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][20], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][20], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][20], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][20], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][20], 0x000000A5);
	PlayerTextDrawFont(playerid, inv_player[playerid][20], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][20], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][20], 0);

	inv_player[playerid][19] = CreatePlayerTextDraw(playerid, 176.401886, 259.899994, "slot_use");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][19], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][19], 33.619896, 31.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][19], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][19], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][19], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][19], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][19], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][19], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][19], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][19], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][19], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][19], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][19], 330);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][19], 0.000000, 0.000000, 37.000000, 0.718473);

	inv_player[playerid][18] = CreatePlayerTextDraw(playerid, 209.362183, 282.750122, "_");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][18], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][18], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][18], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][18], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][18], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][18], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][18], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][18], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][18], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][18], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][18], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][18], 0);

	inv_player[playerid][17] = CreatePlayerTextDraw(playerid, 209.000000, 236.466660, "~r~0");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][17], 0.141376, 0.882498);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][17], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][17], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][17], 0xC0C0C0C2);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][17], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][17], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][17], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][17], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][17], 0x000000A5);
	PlayerTextDrawFont(playerid, inv_player[playerid][17], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][17], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][17], 0);

	inv_player[playerid][16] = CreatePlayerTextDraw(playerid, 140.500488, 291.899994, "slot_use");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][16], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][16], 35.000000, 31.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][16], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][16], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][16], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][16], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][16], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][16], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][16], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][16], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][16], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][16], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][16], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][16], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][15] = CreatePlayerTextDraw(playerid, 173.286148, 314.866791, "_");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][15], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][15], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][15], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][15], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][15], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][15], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][15], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][15], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][15], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][15], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][15], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][15], 0);

	inv_player[playerid][14] = CreatePlayerTextDraw(playerid, 175.201874, 249.983337, "FAST ACCESS");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][14], 0.144187, 0.719165);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][14], 0.000000, 67.540283);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][14], 2);
	PlayerTextDrawColor(playerid, inv_player[playerid][14], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][14], 1);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][14], 0x000000CD);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][14], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][14], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][14], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][14], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][14], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][14], 0);

	inv_player[playerid][13] = CreatePlayerTextDraw(playerid, 176.401886, 291.899994, "slot_use");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][13], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][13], 33.619896, 31.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][13], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][13], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][13], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][13], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][13], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][13], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][13], 0x141414FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][13], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][13], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][13], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][13], 0);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][13], 0.000000, 0.000000, 0.000000, 100.000000);

	inv_player[playerid][12] = CreatePlayerTextDraw(playerid, 209.362274, 314.866699, "_");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][12], 0.140907, 0.777499);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][12], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][12], 3);
	PlayerTextDrawColor(playerid, inv_player[playerid][12], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][12], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][12], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][12], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][12], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][12], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][12], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][12], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][12], 0);

	inv_player[playerid][11] = CreatePlayerTextDraw(playerid, 141.399994, 260.000000, "MONEY");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][11], 0.115607, 0.684166);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][11], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][11], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][11], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][11], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][11], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][11], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][11], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][11], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][11], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][11], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][11], 0);

	inv_player[playerid][10] = CreatePlayerTextDraw(playerid, 177.399994, 260.000000, "PHONE");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][10], 0.115607, 0.684166);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][10], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][10], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][10], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][10], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][10], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][10], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][10], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][10], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][10], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][10], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][10], 0);

	inv_player[playerid][9] = CreatePlayerTextDraw(playerid, 141.399994, 292.000000, "BACKPACK");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][9], 0.115607, 0.684166);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][9], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][9], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][9], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][9], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][9], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][9], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][9], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][9], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][9], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][9], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][9], 0);

	inv_player[playerid][8] = CreatePlayerTextDraw(playerid, 177.399994, 292.000000, "ARMOUR");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][8], 0.115607, 0.684166);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][8], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][8], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][8], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][8], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][8], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][8], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][8], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][8], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][8], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][8], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][8], 0);

	inv_player[playerid][7] = CreatePlayerTextDraw(playerid, 120.899986, 434.299866, "0.00 / 30.00KG");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][7], 0.156044, 0.824163);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][7], 0.000000, 198.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][7], 2);
	PlayerTextDrawColor(playerid, inv_player[playerid][7], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][7], 1);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][7], 0x00000098);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][7], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][7], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][7], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][7], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][7], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][7], 0);

	inv_player[playerid][6] = CreatePlayerTextDraw(playerid, 140.399994, 195.500000, "ammo1");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][6], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][6], 15.000000, 15.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][6], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][6], 0x000000FF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][6], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][6], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][6], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][6], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][6], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][6], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][6], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][6], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][6], 2061);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][6], 0.000000, 0.000000, 0.000000, 1.000000);

	inv_player[playerid][5] = CreatePlayerTextDraw(playerid, 140.399994, 228.899963, "ammo2");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][5], 0.480000, 1.120000);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][5], 15.000000, 15.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][5], 1);
	PlayerTextDrawColor(playerid, inv_player[playerid][5], 0x000000FF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][5], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][5], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][5], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][5], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][5], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][5], 5);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][5], 0);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][5], 1);
	PlayerTextDrawSetPreviewModel(playerid, inv_player[playerid][5], 2061);
	PlayerTextDrawSetPreviewRot(playerid, inv_player[playerid][5], 0.000000, 0.000000, 0.000000, 1.000000);

	inv_player[playerid][4] = CreatePlayerTextDraw(playerid, 152.670837, 180.566833, "H.WEAPON");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][4], 0.115607, 0.684166);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][4], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][4], 2);
	PlayerTextDrawColor(playerid, inv_player[playerid][4], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][4], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][4], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][4], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][4], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][4], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][4], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][4], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][4], 0);

	inv_player[playerid][3] = CreatePlayerTextDraw(playerid, 152.670837, 214.400162, "L.WEAPON");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][3], 0.115607, 0.684166);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][3], 1280.000000, 1280.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][3], 2);
	PlayerTextDrawColor(playerid, inv_player[playerid][3], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][3], 0);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][3], 0x80808080);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][3], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][3], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][3], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][3], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][3], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][3], 0);

	inv_player[playerid][2] = CreatePlayerTextDraw(playerid, 55.657249, 434.299866, "ENG");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][2], 0.186969, 0.824163);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][2], 10.000000, 20.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][2], 2);
	PlayerTextDrawColor(playerid, inv_player[playerid][2], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][2], 1);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][2], 0x0080007C);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][2], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][2], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][2], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][2], 1);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][2], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][2], 1);

	inv_player[playerid][1] = CreatePlayerTextDraw(playerid, 32.255810, 434.299866, "RUS");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][1], 0.186969, 0.810833);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][1], 10.000000, 20.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][1], 2);
	PlayerTextDrawColor(playerid, inv_player[playerid][1], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][1], 1);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][1], 0x000000FF);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][1], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][1], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][1], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][1], 1);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][1], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][1], 1);

	inv_player[playerid][0] = CreatePlayerTextDraw(playerid, 120.999985, 157.849747, "YOUR CHARACTER");
	PlayerTextDrawLetterSize(playerid, inv_player[playerid][0], 0.260378, 1.500830);
	PlayerTextDrawTextSize(playerid, inv_player[playerid][0], -0.289999, 198.000000);
	PlayerTextDrawAlignment(playerid, inv_player[playerid][0], 2);
	PlayerTextDrawColor(playerid, inv_player[playerid][0], 0xFFFFFFFF);
	PlayerTextDrawUseBox(playerid, inv_player[playerid][0], 1);
	PlayerTextDrawBoxColor(playerid, inv_player[playerid][0], 0xA52A43B8);
	PlayerTextDrawSetShadow(playerid, inv_player[playerid][0], 0);
	PlayerTextDrawSetOutline(playerid, inv_player[playerid][0], 0);
	PlayerTextDrawBackgroundColor(playerid, inv_player[playerid][0], 0x000000FF);
	PlayerTextDrawFont(playerid, inv_player[playerid][0], 2);
	PlayerTextDrawSetProportional(playerid, inv_player[playerid][0], 1);
	PlayerTextDrawSetSelectable(playerid, inv_player[playerid][0], 0);

 

 

 

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

@Drummer1993 Разобравшись, решили. была не правильно объявлена переменная. 

Было так:

new PlayerText: inv_player [60] [MAX_PLAYERS];

Нужно вот так, т.к. сначала ид игрока, потом ид текст драва.

new PlayerText: inv_player [MAX_PLAYERS] [60];

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Chopick
      By Chopick
      Всем здравствуйте! Делаю систему домов/бизнесов по туториалу knox know с плагином GoodArea. Есть проблема, если заходишь в интерьер бизнеса, то когда выходишь спавнит почему-то на пикап дома.

      Вот енумы:
       
      #define MAX_HOUSES 1000 #define MAX_BIZS 1000 enum house {         hID,         STREAMER_TAG_PICKUP:hPICKUP,         STREAMER_TAG_AREA:hAREA,         hOWNER[MAX_PLAYER_NAME],         STREAMER_TAG_3D_TEXT_LABEL:hTEXT[256],         STREAMER_TAG_MAP_ICON:hICON,         hPRICE,         hCLASS,         hINTERIOR,         Float:hX,         Float:hY,         Float:hZ,         Float:hA,         hCONDITION // Закрыт/Открыт } new House[MAX_HOUSES][house]; new Houses; new HouseGroup; enum biz {         bID,         STREAMER_TAG_PICKUP:bPICKUP,         STREAMER_TAG_AREA:bAREA,         bOWNER[MAX_PLAYER_NAME],         STREAMER_TAG_3D_TEXT_LABEL:bTEXT[256],         STREAMER_TAG_MAP_ICON:bICON,         bNAME[25],         bPRICE,         bTYPE,         bINTERIOR,         Float:bX,         Float:bY,         Float:bZ,         Float:bA } new Biz[MAX_BIZS][biz]; new Bizs; new BizGroup; enum interior_info {         intID,         intNAME[41],         intINTERIOR,         Float:intX,         Float:intY,         Float:intZ,         Float:intA,         STREAMER_TAG_AREA:intAREA } new Interior[MAX_INTERIORS][interior_info]; new Interiors; new InteriorGroup; Вот что у меня в OnGameModeInit:
      HouseGroup = CreateGroupGoodAreas(GoodArea:HouseEnter); InteriorGroup = CreateGroupGoodAreas(GoodArea:InteriorExit); BizGroup = CreateGroupGoodAreas(GoodArea:BizArea);  
      Вот стоки:
      GAResponse:HouseEnter(playerid, response, key, index) {         switch(response)         {             case GA_RESPONSE_PRESS_KEY:             {                 if(key & KEY_WALK)                 {                 if(House[index][hCONDITION] > 0 && House[index][hOWNER] == player_info[playerid][NAME] || House[index][hCONDITION] == 0)                 {                                         GoToInterior(playerid, House[index][hINTERIOR]);                                         SetPlayerVirtualWorld(playerid, index);                                 }                                 else if(House[index][hCONDITION] > 0 && House[index][hOWNER] != player_info[playerid][NAME]) return SCM(playerid, COLOR_RED, "[Ошибка]{ffffff}Этот дом закрыт на ключ!");                         }                 }                 case GA_RESPONSE_ENTER:                 {                     if(House[index][hOWNER] == 0)                     {                         CreateNoOwnerHouseTD(playerid);                         for(new i = 0; i < sizeof NoOwnerTextDraw_PTD[]; i++)                         {                             PlayerTextDrawShow(playerid, NoOwnerTextDraw_PTD[playerid][i]);                                 }                                 new price[8];                                 format(price, sizeof(price), "%d$", House[index][hPRICE]);                                 PlayerTextDrawSetString(playerid, NoOwnerTextDraw_PTD[playerid][2], price);                                 new id[9];                                 format(id, sizeof(id), "%d", House[index][hID]);                                 PlayerTextDrawSetString(playerid, NoOwnerTextDraw_PTD[playerid][0], id);                                 switch(House[index][hCLASS])                                 {                                     case 1: PlayerTextDrawSetString(playerid, NoOwnerTextDraw_PTD[playerid][1], "A");                                     case 2: PlayerTextDrawSetString(playerid, NoOwnerTextDraw_PTD[playerid][1], "B");                                     case 3: PlayerTextDrawSetString(playerid, NoOwnerTextDraw_PTD[playerid][1], "C");                                 }                                 for(new i = 0; i < sizeof NoOwnerTextDraw_TD; i++)                         {                             TextDrawShowForPlayer(playerid, NoOwnerTextDraw_TD[i]);                                 }                         }                 }                 case GA_RESPONSE_LEAVE:                 {                 for(new i = 0; i < sizeof NoOwnerTextDraw_PTD[]; i++)                 {                     PlayerTextDrawHide(playerid, NoOwnerTextDraw_PTD[playerid][i]);                         }                         for(new i = 0; i < sizeof NoOwnerTextDraw_TD; i++)                 {                     TextDrawHideForPlayer(playerid, NoOwnerTextDraw_TD[i]);                         }                 }         }         return 1; } GAResponse:BizArea(playerid, response, key, index) {         switch(response)         {             case GA_RESPONSE_PRESS_KEY:             {                 if(key & KEY_WALK)                 {                     GoToInteriorBiz(playerid, Biz[index][bINTERIOR]);                                 SetPlayerVirtualWorld(playerid, index);                 }                 }         }         return 1; } GAResponse:InteriorExit(playerid, response, key, index) {         switch(response)         {             case GA_RESPONSE_PRESS_KEY:             {                 new world = GetPlayerVirtualWorld(playerid);                 if(key & KEY_WALK)                 {                     if(world < MAX_HOUSES)                     {                         SetPlayerInterior(playerid, 0);                             SetPlayerVirtualWorld(playerid, 0);                             SetPlayerPos(playerid, House[world][hX], House[world][hY], House[world][hZ]);                             SetPlayerFacingAngle(playerid, House[world][hA]);                                 }                                 else if(world < MAX_HOUSES + MAX_BIZS)                     {                         world -= MAX_HOUSES;                                         printf("%d index world", world);                         SetPlayerInterior(playerid, 0);                             SetPlayerVirtualWorld(playerid, 0);                             SetPlayerPos(playerid, Biz[world][bX], Biz[world][bY], Biz[world][bZ]);                             SetPlayerFacingAngle(playerid, Biz[world][bA]);                                 }                         }                         if(key & KEY_CTRL_BACK)                         {                             if(player_info[playerid][HOUSE] != House[world][hID]) return SCM(playerid, COLOR_RED, "[Ошибка]{ffffff}Вы не владелец данного дома!");                             new dialog[256];                                 format(dialog, sizeof(dialog),                                         "{ffd900}[1]{ffffff}Информация о доме\n\                                         {ffd900}[2]{ffffff}%s дом",                                 (House[world][hCONDITION] == 1) ? ("{00ff00}Открыть") : ("{ff0000}Закрыть"));                             SPD(playerid, DLG_HMENU, DIALOG_STYLE_LIST, "{ffd900}Меню дома", dialog, "Выбрать", "Закрыть");                             return 1;                         }                 }         }         return 1; } stock GoToInterior(playerid, interior) {     for(new i = 0; i < Interiors; i++)         {             if(Interior[i][intID] != interior) continue;             SetPlayerInterior(playerid, Interior[i][intINTERIOR]);             SetPlayerPos(playerid, Interior[i][intX], Interior[i][intY], Interior[i][intZ]);             SetPlayerFacingAngle(playerid, Interior[i][intA]);             SetPlayerCheckpoint(playerid, Interior[i][intX], Interior[i][intY], Interior[i][intZ], 1.0);             new str[128];             format(str, sizeof(str),                         "Нажмите \"ALT\" для выхода\n\                         Нажмите \"H\", чтобы открыть меню дома");             Create3DTextLabel(str, -1, Interior[i][intX], Interior[i][intY], Interior[i][intZ], 15.0, 0, 1);             return 1;         }         return 0; } stock GoToInteriorBiz(playerid, interior) {     for(new i = 0; i < Interiors; i++)         {             if(Interior[i][intID] != interior) continue;             SetPlayerInterior(playerid, Interior[i][intINTERIOR]);             SetPlayerPos(playerid, Interior[i][intX], Interior[i][intY], Interior[i][intZ]);             SetPlayerFacingAngle(playerid, Interior[i][intA]);             SetPlayerCheckpoint(playerid, Interior[i][intX], Interior[i][intY], Interior[i][intZ], 1.0);             new str[128];             format(str, sizeof(str),                         "Нажмите \"ALT\" для выхода");             Create3DTextLabel(str, -1, Interior[i][intX], Interior[i][intY], Interior[i][intZ], 15.0, 0, 1);             return 1;         }         return 0; }  
       
      Что мне делать, подскажите пожалуйста?