Перейти к содержанию
Авторизация  
Na'Vi

TextDraw - Магазина

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

Na'Vi

Доброе утро друзья!


 


Выкладываю для вас TextDraw магазина - иконки замените на свои



new PlayerText:Shop[51][MAX_PLAYERS];

Shop[0][playerid] = CreatePlayerTextDraw(playerid,580.000000, 150.000000, "_");
PlayerTextDrawBackgroundColor(playerid,Shop[0][playerid], 255);
PlayerTextDrawFont(playerid,Shop[0][playerid], 1);
PlayerTextDrawLetterSize(playerid,Shop[0][playerid], 0.500000, 27.099996);
PlayerTextDrawColor(playerid,Shop[0][playerid], -1);
PlayerTextDrawSetOutline(playerid,Shop[0][playerid], 0);
PlayerTextDrawSetProportional(playerid,Shop[0][playerid], 1);
PlayerTextDrawSetShadow(playerid,Shop[0][playerid], 1);
PlayerTextDrawUseBox(playerid,Shop[0][playerid], 1);
PlayerTextDrawBoxColor(playerid,Shop[0][playerid], -424540161);
PlayerTextDrawTextSize(playerid,Shop[0][playerid], 52.000000, 51.000000);
PlayerTextDrawSetSelectable(playerid,Shop[0][playerid], 0);


Shop[1][playerid] = CreatePlayerTextDraw(playerid,125.000000, 149.000000, "shop_background");
PlayerTextDrawBackgroundColor(playerid,Shop[1][playerid], 0);
PlayerTextDrawFont(playerid,Shop[1][playerid], 5);
PlayerTextDrawLetterSize(playerid,Shop[1][playerid], 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Shop[1][playerid], 983295);
PlayerTextDrawSetOutline(playerid,Shop[1][playerid], 1);
PlayerTextDrawSetProportional(playerid,Shop[1][playerid], 1);
PlayerTextDrawUseBox(playerid,Shop[1][playerid], 1);
PlayerTextDrawBoxColor(playerid,Shop[1][playerid], 0);
PlayerTextDrawTextSize(playerid,Shop[1][playerid], 451.000000, 246.000000);
PlayerTextDrawSetPreviewModel(playerid,Shop[1][playerid], 19376);
PlayerTextDrawSetPreviewRot(playerid,Shop[1][playerid], 0.000000, 0.000000, 90.000000, 0.400000);
PlayerTextDrawSetSelectable(playerid,Shop[1][playerid], 0);


Shop[2][playerid] = CreatePlayerTextDraw(playerid,56.000000, 149.000000, "category_1_skins"),PlayerTextDrawSetPreviewRot(playerid, Shop[2][playerid], -10.000000, 0.000000, 0.000000, 1.000000);
Shop[3][playerid] = CreatePlayerTextDraw(playerid,56.000000, 190.000000, "category_2_head"),PlayerTextDrawSetPreviewRot(playerid, Shop[3][playerid],-10.000000, 0.000000, 130.000000, 1.000000);
Shop[4][playerid] = CreatePlayerTextDraw(playerid,56.000000, 231.000000, "category_3_glass"),PlayerTextDrawSetPreviewRot(playerid, Shop[4][playerid], -15.000000, 0.000000, 120.000000, 1.000000);
Shop[5][playerid] = CreatePlayerTextDraw(playerid,56.000000, 272.000000, "category_4_car"),PlayerTextDrawSetPreviewRot(playerid, Shop[5][playerid], -15.000000, 0.000000, 40.000000, 1.000000);
Shop[6][playerid] = CreatePlayerTextDraw(playerid,56.000000, 313.000000, "category_5_features(vip,double score etc)"),PlayerTextDrawSetPreviewRot(playerid, Shop[6][playerid], -90.000000, 180.000000, 0.000000, 1.000000);
Shop[7][playerid] = CreatePlayerTextDraw(playerid,56.000000, 354.000000, "category_6_mask"),PlayerTextDrawSetPreviewRot(playerid, Shop[7][playerid], 0.000000, 0.000000, 50.000000, 1.000000);
for(new i = 2,models[6] = {299,18963,19011,411,19792,19038}; i {
PlayerTextDrawBackgroundColor(playerid,Shop[i][playerid], 68032255);
PlayerTextDrawFont(playerid,Shop[i][playerid], 5);
PlayerTextDrawLetterSize(playerid,Shop[i][playerid], 0.050000, 1.099900);
PlayerTextDrawColor(playerid,Shop[i][playerid], -1);
PlayerTextDrawSetOutline(playerid,Shop[i][playerid], 1);
PlayerTextDrawSetProportional(playerid,Shop[i][playerid], 1);
PlayerTextDrawUseBox(playerid,Shop[i][playerid], 1);
PlayerTextDrawBoxColor(playerid,Shop[i][playerid], 0);
PlayerTextDrawTextSize(playerid,Shop[i][playerid], 68.000000, 42.000000);
PlayerTextDrawSetPreviewModel(playerid,Shop[i][playerid], models[i-2]);
PlayerTextDrawSetSelectable(playerid,Shop[i][playerid], 1);
}


Shop[8][playerid] = CreatePlayerTextDraw(playerid,187.000000, 173.000000, "_");
Shop[9][playerid] = CreatePlayerTextDraw(playerid,296.000000, 173.000000, "_");
Shop[10][playerid] = CreatePlayerTextDraw(playerid,405.000000, 173.000000, "_");
Shop[11][playerid] = CreatePlayerTextDraw(playerid,514.000000, 173.000000, "_");
Shop[12][playerid] = CreatePlayerTextDraw(playerid,187.000000, 276.000000, "_");
Shop[13][playerid] = CreatePlayerTextDraw(playerid,296.000000, 276.000000, "_");
Shop[14][playerid] = CreatePlayerTextDraw(playerid,405.000000, 276.000000, "_");
Shop[15][playerid] = CreatePlayerTextDraw(playerid,514.000000, 276.000000, "_");
for(new i = 8; i {
PlayerTextDrawAlignment(playerid,Shop[i][playerid], 2);
PlayerTextDrawBackgroundColor(playerid,Shop[i][playerid], 255);
PlayerTextDrawFont(playerid,Shop[i][playerid], 1);
PlayerTextDrawLetterSize(playerid,Shop[i][playerid], 0.500000, 10.400005);
PlayerTextDrawColor(playerid,Shop[i][playerid], -1);
PlayerTextDrawSetOutline(playerid,Shop[i][playerid], 0);
PlayerTextDrawSetProportional(playerid,Shop[i][playerid], 1);
PlayerTextDrawSetShadow(playerid,Shop[i][playerid], 1);
PlayerTextDrawUseBox(playerid,Shop[i][playerid], 1);
PlayerTextDrawBoxColor(playerid,Shop[i][playerid], 623059967);
PlayerTextDrawTextSize(playerid,Shop[i][playerid], 136.000000, 100.000000);
PlayerTextDrawSetSelectable(playerid,Shop[i][playerid], 0);
}


Shop[16][playerid] = CreatePlayerTextDraw(playerid,137.000000, 173.000000, "item_1");
Shop[17][playerid] = CreatePlayerTextDraw(playerid,246.000000, 173.000000, "item_2");
Shop[18][playerid] = CreatePlayerTextDraw(playerid,355.000000, 173.000000, "item_3");
Shop[19][playerid] = CreatePlayerTextDraw(playerid,464.000000, 173.000000, "item_4");
Shop[20][playerid] = CreatePlayerTextDraw(playerid,137.000000, 276.000000, "item_5");
Shop[21][playerid] = CreatePlayerTextDraw(playerid,246.000000, 276.000000, "item_6");
Shop[22][playerid] = CreatePlayerTextDraw(playerid,355.000000, 276.000000, "item_7");
Shop[23][playerid] = CreatePlayerTextDraw(playerid,464.000000, 276.000000, "item_8");
for(new i = 16; i {
PlayerTextDrawBackgroundColor(playerid,Shop[i][playerid], 235802623);
PlayerTextDrawFont(playerid,Shop[i][playerid], 5);
PlayerTextDrawLetterSize(playerid,Shop[i][playerid], 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Shop[i][playerid], -1);
PlayerTextDrawSetOutline(playerid,Shop[i][playerid], 0);
PlayerTextDrawSetProportional(playerid,Shop[i][playerid], 1);
PlayerTextDrawSetShadow(playerid,Shop[i][playerid], 1);
PlayerTextDrawUseBox(playerid,Shop[i][playerid], 1);
PlayerTextDrawBoxColor(playerid,Shop[i][playerid], 255);
PlayerTextDrawTextSize(playerid,Shop[i][playerid], 100.000000, 80.000000);
PlayerTextDrawSetPreviewModel(playerid,Shop[i][playerid], 18631);//default: question mark
PlayerTextDrawSetPreviewRot(playerid,Shop[i][playerid], -16.000000, 0.000000, -55.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Shop[i][playerid], 1);
}


Shop[24][playerid] = CreatePlayerTextDraw(playerid,185.000000, 176.000000, "item 1");//shark
Shop[25][playerid] = CreatePlayerTextDraw(playerid,294.000000, 176.000000, "item 2");//dolphin
Shop[26][playerid] = CreatePlayerTextDraw(playerid,403.000000, 176.000000, "item 3");//sword
Shop[27][playerid] = CreatePlayerTextDraw(playerid,513.000000, 176.000000, "item 4");//fan
Shop[28][playerid] = CreatePlayerTextDraw(playerid,185.000000, 278.000000, "item 5");//skate
Shop[29][playerid] = CreatePlayerTextDraw(playerid,293.000000, 278.000000, "item 6");//parrot
Shop[30][playerid] = CreatePlayerTextDraw(playerid,406.000000, 278.000000, "item 7");//police shield
Shop[31][playerid] = CreatePlayerTextDraw(playerid,513.000000, 278.000000, "item 8");//vest
for(new i = 24; i {
PlayerTextDrawAlignment(playerid,Shop[i][playerid], 2);
PlayerTextDrawBackgroundColor(playerid,Shop[i][playerid], 255);
PlayerTextDrawFont(playerid,Shop[i][playerid], 2);
PlayerTextDrawLetterSize(playerid,Shop[i][playerid], 0.300000, 1.899999);
PlayerTextDrawColor(playerid,Shop[i][playerid], -1462501377);
PlayerTextDrawSetOutline(playerid,Shop[i][playerid], 0);
PlayerTextDrawSetProportional(playerid,Shop[i][playerid], 1);
PlayerTextDrawSetShadow(playerid,Shop[i][playerid], 0);
PlayerTextDrawSetSelectable(playerid,Shop[i][playerid], 0);
}


Shop[32][playerid] = CreatePlayerTextDraw(playerid,129.000000, 253.000000, "cost_1");
Shop[33][playerid] = CreatePlayerTextDraw(playerid,238.000000, 253.000000, "cost_2");
Shop[34][playerid] = CreatePlayerTextDraw(playerid,348.000000, 253.000000, "cost_3");
Shop[35][playerid] = CreatePlayerTextDraw(playerid,458.000000, 253.000000, "cost_4");
Shop[36][playerid] = CreatePlayerTextDraw(playerid,129.000000, 356.000000, "cost_5");
Shop[37][playerid] = CreatePlayerTextDraw(playerid,238.000000, 356.000000, "cost_6");
Shop[38][playerid] = CreatePlayerTextDraw(playerid,348.000000, 356.000000, "cost_7");
Shop[39][playerid] = CreatePlayerTextDraw(playerid,458.000000, 356.000000, "cost_8");
for(new i = 32; i {
PlayerTextDrawBackgroundColor(playerid,Shop[i][playerid], 0);
PlayerTextDrawFont(playerid,Shop[i][playerid], 5);
PlayerTextDrawLetterSize(playerid,Shop[i][playerid], 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Shop[i][playerid], -1);
PlayerTextDrawSetOutline(playerid,Shop[i][playerid], 0);
PlayerTextDrawSetProportional(playerid,Shop[i][playerid], 1);
PlayerTextDrawSetShadow(playerid,Shop[i][playerid], 1);
PlayerTextDrawUseBox(playerid,Shop[i][playerid], 1);
PlayerTextDrawBoxColor(playerid,Shop[i][playerid], 0);
PlayerTextDrawTextSize(playerid,Shop[i][playerid], 33.000000, 15.000000);
PlayerTextDrawSetPreviewModel(playerid, Shop[i][playerid], 1274);
PlayerTextDrawSetPreviewRot(playerid, Shop[i][playerid], 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Shop[i][playerid], 0);
}


Shop[40][playerid] = CreatePlayerTextDraw(playerid,181.000000, 254.000000, "2,000");//item cost 1
Shop[41][playerid] = CreatePlayerTextDraw(playerid,289.000000, 254.000000, "4,650");//item cost 2
Shop[42][playerid] = CreatePlayerTextDraw(playerid,400.000000, 254.000000, "21,200");//item cost 3
Shop[43][playerid] = CreatePlayerTextDraw(playerid,510.000000, 254.000000, "14,390");//item cost 4
Shop[44][playerid] = CreatePlayerTextDraw(playerid,181.000000, 357.000000, "7,100");//item cost 5
Shop[45][playerid] = CreatePlayerTextDraw(playerid,291.000000, 357.000000, "8,400");//item cost 6
Shop[46][playerid] = CreatePlayerTextDraw(playerid,399.000000, 357.000000, "16,650");//item cost 7
Shop[47][playerid] = CreatePlayerTextDraw(playerid,510.000000, 357.000000, "19,090");//item cost 8
for(new i = 40; i {
PlayerTextDrawAlignment(playerid,Shop[i][playerid], 2);
PlayerTextDrawBackgroundColor(playerid,Shop[i][playerid], 102);
PlayerTextDrawFont(playerid,Shop[i][playerid], 3);
PlayerTextDrawLetterSize(playerid,Shop[i][playerid], 0.449999, 1.399999);
PlayerTextDrawColor(playerid,Shop[i][playerid], -1);
PlayerTextDrawSetOutline(playerid,Shop[i][playerid], 1);
PlayerTextDrawSetProportional(playerid,Shop[i][playerid], 1);
PlayerTextDrawSetSelectable(playerid,Shop[i][playerid], 0);
}


Shop[48][playerid] = CreatePlayerTextDraw(playerid,300.000000, 375.000000, "~ PlayerTextDrawBackgroundColor(playerid,Shop[48][playerid], 255);
PlayerTextDrawFont(playerid,Shop[48][playerid], 1);
PlayerTextDrawLetterSize(playerid,Shop[48][playerid], 0.559998, 1.700000);
PlayerTextDrawColor(playerid,Shop[48][playerid], -1);
PlayerTextDrawSetOutline(playerid,Shop[48][playerid], 0);
PlayerTextDrawSetProportional(playerid,Shop[48][playerid], 1);
PlayerTextDrawSetShadow(playerid,Shop[48][playerid], 1);
PlayerTextDrawSetSelectable(playerid,Shop[48][playerid], 1);


Shop[49][playerid] = CreatePlayerTextDraw(playerid,369.000000, 375.000000, "~>~");
PlayerTextDrawBackgroundColor(playerid,Shop[49][playerid], 255);
PlayerTextDrawFont(playerid,Shop[49][playerid], 1);
PlayerTextDrawLetterSize(playerid,Shop[49][playerid], 0.559998, 1.700000);
PlayerTextDrawColor(playerid,Shop[49][playerid], -1);
PlayerTextDrawSetOutline(playerid,Shop[49][playerid], 0);
PlayerTextDrawSetProportional(playerid,Shop[49][playerid], 1);
PlayerTextDrawSetShadow(playerid,Shop[49][playerid], 1);
PlayerTextDrawSetSelectable(playerid,Shop[49][playerid], 1);


Shop[50][playerid] = CreatePlayerTextDraw(playerid,342.000000, 377.000000, "1/7");
PlayerTextDrawAlignment(playerid,Shop[50][playerid], 2);
PlayerTextDrawBackgroundColor(playerid,Shop[50][playerid], 255);
PlayerTextDrawFont(playerid,Shop[50][playerid], 2);
PlayerTextDrawLetterSize(playerid,Shop[50][playerid], 0.469999, 1.399999);
PlayerTextDrawColor(playerid,Shop[50][playerid], -1);
PlayerTextDrawSetOutline(playerid,Shop[50][playerid], 1);
PlayerTextDrawSetProportional(playerid,Shop[50][playerid], 1);
PlayerTextDrawSetSelectable(playerid,Shop[50][playerid], 0);

Скриншёт


 


Посмотреть изображение


 


Автор: ziponz


Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
Daniil_Gold

@Na'Vi,Скриншот,а не скриншет. 

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!

Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.

Войти
Авторизация  

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

×

Важная информация

Мы разместили cookie-файлы на ваше устройство, чтобы помочь сделать этот сайт лучше. Вы можете изменить свои настройки cookie-файлов, или продолжить без изменения настроек.