Рекомендованные сообщения



2 posts in this topic

Спойлер

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

@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

    • youngblaste
      By youngblaste
      Привет. Не нужно писать что команда заезженная - просто выйди с темы.
      И так, постараюсь объяснить как всё работает в этой команде
      Погнали, хлопци!:
      CMD:makeadmin(playerid, params[]){ /* Здесь начинается наша команда */ if(p_info[playerid][pAdmin] < 7) /* Идёт проверка на админку, если наш уровень администратора ниже 7 то ничего не произойдёт (можно сменить на свой уровень) */ return true; /* возвращаем 1 - или же не на ельфийском, то просто ничего не пройзойдёт и команда не продолжит работу */ new name[MAX_PLAYER_NAME], player[MAX_PLAYER_NAME], targetid, admlvl, string[250]; /* Создаем переменные для команды (targetid - кому выдавать будем админку, admlvl - это какой лвл админки будем выдавать), string - ну это стринг :D */ if(sscanf(params, "ud", targetid, admlvl)) /* Делаем проверку на правильное написание команды */ return SendClientMessage(playerid, -1, "{84cd5c}[Подсказка] {ffffff} Используйте команду: /makeadmin [id игрока] [lvl админ-прав]"); /* Если мы ввели не верно команду, то нам возвращает сообщение в чат с подсказкой как ввести команду */ GetPlayerName(playerid, name, MAX_PLAYER_NAME); /* Тут мы получаем наш ник */ GetPlayerName(targetid, player, MAX_PLAYER_NAME); /* А тут мы получаем ник игрока которому выдаем админку */ if(!IsPlayerConnected(targetid)) /* Делаем проверку на то находится ли игрок на сервере, вообще у меня в команде здесь есть проверка на Авторизован ли игрок и она вместе с проверкой на есть ли такой игрок на сервере, но увы, я убрал потому что скорее всего не у всех есть такая фича, это не очень важно но если ты хоть немного шаришь то и сам добавишь проверку */ return SendClientMessage(playerid, -1, "{c23838}[Ошибка] {ffffff} Игрок ещё не вступил в игру"); /* Возвращаем сообщение о том что игрок ещё не вступил в игру - ну вообще должно быть "Игрока с таким ID нету на сервере", но если ты решишь добавить проверку на авторизацию то это будет немного лучше */ if(admlvl < 0 || admlvl > 6) /* Делаем проверку на какой лвл мы хотим поставить игрока, то есть мы не можем выдать лвл адм ниже 0 или выше 6, меняйте на своё если так нужно))) */ return SendClientMessage(playerid, -1, "{c23838}[Ошибка] {ffffff} Увы, нельзя выдавать меньше 0 или выше 6 уровня администратора"); /* Возвращаем сообщение о том что мы не можем выдавать меньше 0 или выше 6 лвл адм */ p_info[targetid][pAdmin] = admlvl; /* И так... p_info у вас может быть разное: PlayerInfo, pInfo, PI, PlayerInformation, p_Info, P_I и т.п., pAdmin так же может быть другим, хотя обычно такое, например: Admin, PlayerAdmin, Player_Admin, Adminka и т.п. */ format(string, sizeof(string), "{b33d3d}{A} Администратор %s[%d] назначил администратором игрока %s[%d]", name, playerid, player, targetid); /* И так, тут мы форматируем string и после отпрам в админ чат))) */ AdmChat(-1, string); /* Ниже вы увидите сток с AdmChat, крч просто отправляем в адм чат */ format(string, sizeof(string), "{ffffff}Администратор %s[%d] назначил Вас администратором %d-го уровня.", name, playerid, admlvl); /* Форматируем опять стринг и потом игроку отправим */ SendClientMessage(targetid, -1, string); /* Устал описовать команду, ну да ладно... Теперь отправляем игроку string */ return true; /* Возвращаем 1, чтобы небыло еррора))) */ } /* Здесь заканчивается наша команда */ /* vk.com/youngblaste - люbлю сkpuптuнг */ А теперь сток AdmChat, добавьте возле своих стоков ну или под командой:
      stock AdmChat(color, const text[]) /* тут не буду много объяснять */ { foreach(new i: Player) if(p_info[i][pAdmin] > 0) SendClientMessage(i, color, text); /* Обычно используют для админ чата... Ну и как всегда... p_info у вас может быть разное: PlayerInfo, pInfo, PI, PlayerInformation, p_Info, P_I и т.п., pAdmin так же может быть другим, хотя обычно такое, например: Admin, PlayerAdmin, Player_Admin, Adminka и т.п. */ } Если Вы заметили какую-то ошибку, пожалуйста отпишите. Надеюсь Вам понравился этот мини-урок, ну а точнее команда /makeadmin.
      Удачи, юные скриптеры