Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(PlayerInfo[playerid][pInventoryKolvo][PickInvent[playerid]] >= 2)
- {
- fstd_p[playerid][6] = CreatePlayerTextDraw(playerid, 451.289215, 140.350006, "particle:shad_bike");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][6], 0.480000, 1.120000);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][6], 10.625000, 52.000000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][6], 0);
- PlayerTextDrawColor(playerid, fstd_p[playerid][6], 0x00000070);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][6], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][6], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][6], 2);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][6], 0);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][6], 0x000000FF);
- PlayerTextDrawFont(playerid, fstd_p[playerid][6], 4);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][6], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][6], 0);
- fstd_p[playerid][5] = CreatePlayerTextDraw(playerid, 493.789215, 140.350006, "particle:shad_bike");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][5], 0.480000, 1.120000);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][5], 10.625000, 52.000000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][5], 0);
- PlayerTextDrawColor(playerid, fstd_p[playerid][5], 0x00000070);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][5], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][5], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][5], 2);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][5], 0);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][5], 0x000000FF);
- PlayerTextDrawFont(playerid, fstd_p[playerid][5], 4);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][5], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][5], 0);
- fstd_p[playerid][4] = CreatePlayerTextDraw(playerid, 500.351715, 141.850006, "usebox");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][4], 0.000000, 5.439200);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][4], 455.101715, 0.000000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][4], 1);
- PlayerTextDrawColor(playerid, fstd_p[playerid][4], 0xE1E1E1FF);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][4], 1);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][4], 0x000000AA);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][4], 2);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][4], 0);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][4], 0x000000FF);
- PlayerTextDrawFont(playerid, fstd_p[playerid][4], 0);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][4], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][4], 0);
- fstd_p[playerid][3] = CreatePlayerTextDraw(playerid, 477.851715, 142.516678, "USE");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][3], 0.159033, 0.818733);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][3], 7.368598, 40.375000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][3], 2);
- PlayerTextDrawColor(playerid, fstd_p[playerid][3], 0xFFFFFFFF);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][3], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][3], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][3], 0);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][3], 1);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][3], 0x00000000);
- PlayerTextDrawFont(playerid, fstd_p[playerid][3], 1);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][3], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][3], 1);
- fstd_p[playerid][2] = CreatePlayerTextDraw(playerid, 477.851715, 155.516678, "SPLIT");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][2], 0.154033, 0.818733);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][2], 7.368598, 40.375000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][2], 2);
- PlayerTextDrawColor(playerid, fstd_p[playerid][2], 0xFFFFFFFF);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][2], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][2], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][2], 1);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][2], 0x00000000);
- PlayerTextDrawFont(playerid, fstd_p[playerid][2], 1);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][2], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][2], 1);
- fstd_p[playerid][1] = CreatePlayerTextDraw(playerid, 477.851715, 168.516678, "INFO");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][1], 0.154033, 0.818733);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][1], 7.368598, 40.375000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][1], 2);
- PlayerTextDrawColor(playerid, fstd_p[playerid][1], 0xFFFFFFFF);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][1], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][1], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][1], 1);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][1], 0x00000000);
- PlayerTextDrawFont(playerid, fstd_p[playerid][1], 1);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][1], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][1], 1);
- fstd_p[playerid][0] = CreatePlayerTextDraw(playerid, 477.851715, 181.516678, "CLOSE");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][0], 0.149033, 0.818733);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][0], 7.368598, 40.375000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][0], 2);
- PlayerTextDrawColor(playerid, fstd_p[playerid][0], 0xBE5555FF);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][0], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][0], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][0], 1);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][0], 0x00000000);
- PlayerTextDrawFont(playerid, fstd_p[playerid][0], 1);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][0], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][0], 1);
- PlayerPlaySound(playerid, 6801, 0.0, 0.0, 0.0), PlayerTextDrawShow(playerid, fstd_p[playerid][0]),PlayerTextDrawShow(playerid, fstd_p[playerid][2]), PlayerTextDrawShow(playerid, fstd_p[playerid][1]), PlayerTextDrawShow(playerid, fstd_p[playerid][3]); PlayerTextDrawShow(playerid, fstd_p[playerid][4]); PlayerTextDrawShow(playerid, fstd_p[playerid][5]); PlayerTextDrawShow(playerid, fstd_p[playerid][6]); // Воспроизводим звук.
- }
- else
- {
- fstd_p[playerid][5] = CreatePlayerTextDraw(playerid, 451.289215, 140.350006, "particle:shad_bike");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][5], 0.480000, 1.120000);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][5], 10.625000, 39.000000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][5], 0);
- PlayerTextDrawColor(playerid, fstd_p[playerid][5], 0x00000070);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][5], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][5], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][5], 2);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][5], 0);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][5], 0x000000FF);
- PlayerTextDrawFont(playerid, fstd_p[playerid][5], 4);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][5], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][5], 0);
- fstd_p[playerid][4] = CreatePlayerTextDraw(playerid, 493.789215, 140.350006, "particle:shad_bike");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][4], 0.480000, 1.120000);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][4], 10.625000, 39.000000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][4], 0);
- PlayerTextDrawColor(playerid, fstd_p[playerid][4], 0x00000070);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][4], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][4], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][4], 2);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][4], 0);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][4], 0x000000FF);
- PlayerTextDrawFont(playerid, fstd_p[playerid][4], 4);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][4], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][4], 0);
- fstd_p[playerid][3] = CreatePlayerTextDraw(playerid, 500.351715, 141.850006, "usebox");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][3], 0.000000, 3.998150);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][3], 455.101715, 0.000000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][3], 1);
- PlayerTextDrawColor(playerid, fstd_p[playerid][3], 0xE1E1E1FF);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][3], 1);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][3], 0x000000AA);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][3], 2);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][3], 0);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][3], 0x000000FF);
- PlayerTextDrawFont(playerid, fstd_p[playerid][3], 0);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][3], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][3], 0);
- fstd_p[playerid][2] = CreatePlayerTextDraw(playerid, 477.851715, 142.516678, "USE");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][2], 0.159033, 0.818733);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][2], 7.368598, 40.375000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][2], 2);
- PlayerTextDrawColor(playerid, fstd_p[playerid][2], 0xFFFFFFFF);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][2], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][2], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][2], 1);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][2], 0x00000000);
- PlayerTextDrawFont(playerid, fstd_p[playerid][2], 1);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][2], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][2], 1);
- fstd_p[playerid][1] = CreatePlayerTextDraw(playerid, 477.851715, 155.516678, "INFO");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][1], 0.154033, 0.818733);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][1], 7.368598, 40.375000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][1], 2);
- PlayerTextDrawColor(playerid, fstd_p[playerid][1], 0xFFFFFFFF);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][1], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][1], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][1], 1);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][1], 0x00000000);
- PlayerTextDrawFont(playerid, fstd_p[playerid][1], 1);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][1], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][1], 1);
- fstd_p[playerid][0] = CreatePlayerTextDraw(playerid, 477.851715, 168.516678, "CLOSE");
- PlayerTextDrawLetterSize(playerid, fstd_p[playerid][0], 0.149033, 0.818733);
- PlayerTextDrawTextSize(playerid, fstd_p[playerid][0], 7.368598, 40.375000);
- PlayerTextDrawAlignment(playerid, fstd_p[playerid][0], 2);
- PlayerTextDrawColor(playerid, fstd_p[playerid][0], 0xBE5555FF);
- PlayerTextDrawUseBox(playerid, fstd_p[playerid][0], 0);
- PlayerTextDrawBoxColor(playerid, fstd_p[playerid][0], 0x80808080);
- PlayerTextDrawSetShadow(playerid, fstd_p[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, fstd_p[playerid][0], 1);
- PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][0], 0x00000000);
- PlayerTextDrawFont(playerid, fstd_p[playerid][0], 1);
- PlayerTextDrawSetProportional(playerid, fstd_p[playerid][0], 1);
- PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][0], 1);
- PlayerPlaySound(playerid, 6801, 0.0, 0.0, 0.0), PlayerTextDrawShow(playerid, fstd_p[playerid][0]),PlayerTextDrawShow(playerid, fstd_p[playerid][2]), PlayerTextDrawShow(playerid, fstd_p[playerid][1]), PlayerTextDrawShow(playerid, fstd_p[playerid][3]); PlayerTextDrawShow(playerid, fstd_p[playerid][4]); PlayerTextDrawShow(playerid, fstd_p[playerid][5]); // Воспроизводим звук.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement