Sign in to follow this  
Followers 0
Aurum

Textdraw - Регистрация

6 posts in this topic

Здравствуйте.

Выкладываю свою работу.

Форма регистрации. 

    Скриншот

 

Спойлер


//Player Textdraws:

new PlayerText:Textdraw0[MAX_PLAYERS];
new PlayerText:Textdraw1[MAX_PLAYERS];
new PlayerText:Textdraw2[MAX_PLAYERS];
new PlayerText:Textdraw3[MAX_PLAYERS];
new PlayerText:Textdraw4[MAX_PLAYERS];
new PlayerText:Textdraw5[MAX_PLAYERS];
new PlayerText:Textdraw6[MAX_PLAYERS];
new PlayerText:Textdraw7[MAX_PLAYERS];
new PlayerText:Textdraw8[MAX_PLAYERS];
new PlayerText:Textdraw9[MAX_PLAYERS];
new PlayerText:Textdraw10[MAX_PLAYERS];


Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 408.000000, -187.288940, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, Textdraw0[playerid], 150.500000, 698.754882);
PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw0[playerid], 16711935);
PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw0[playerid], 4);

Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 410.500000, -80.266685, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, Textdraw1[playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, Textdraw1[playerid], 145.500000, 589.243957);
PlayerTextDrawAlignment(playerid, Textdraw1[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw1[playerid], -1061109505);
PlayerTextDrawSetShadow(playerid, Textdraw1[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw1[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw1[playerid], 4);

Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 557.000000, 128.433334, "usebox");
PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 0.000000, 13.208024);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 409.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw2[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw2[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw2[playerid], 102);
PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw2[playerid], 0);

Textdraw3[playerid] = CreatePlayerTextDraw(playerid, 557.500000, 415.277893, "usebox");
PlayerTextDrawLetterSize(playerid, Textdraw3[playerid], 0.000000, 5.559872);
PlayerTextDrawTextSize(playerid, Textdraw3[playerid], 409.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw3[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw3[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw3[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw3[playerid], 102);
PlayerTextDrawSetShadow(playerid, Textdraw3[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw3[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw3[playerid], 0);

Textdraw4[playerid] = CreatePlayerTextDraw(playerid, 420.000000, 133.155502, "РЕГИСТРАЦИЯ");
PlayerTextDrawLetterSize(playerid, Textdraw4[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw4[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw4[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw4[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw4[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw4[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw4[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw4[playerid], 1);

Textdraw5[playerid] = CreatePlayerTextDraw(playerid, -154.500000, 157.422210, "New Textdraw");
PlayerTextDrawLetterSize(playerid, Textdraw5[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw5[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw5[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw5[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw5[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw5[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw5[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw5[playerid], 1);

Textdraw6[playerid] = CreatePlayerTextDraw(playerid, 420.000000, 175.466674, "АВТОРИЗАЦИЯ");
PlayerTextDrawLetterSize(playerid, Textdraw6[playerid], 0.400499, 1.624889);
PlayerTextDrawAlignment(playerid, Textdraw6[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw6[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw6[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw6[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw6[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw6[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw6[playerid], 1);

Textdraw7[playerid] = CreatePlayerTextDraw(playerid, 445.000000, 219.644470, "ПРАВИЛА");
PlayerTextDrawLetterSize(playerid, Textdraw7[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw7[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw7[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw7[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw7[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw7[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw7[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw7[playerid], 1);

Textdraw8[playerid] = CreatePlayerTextDraw(playerid, 458.500000, 94.577751, "NAME");
PlayerTextDrawLetterSize(playerid, Textdraw8[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw8[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw8[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw8[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw8[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw8[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw8[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw8[playerid], 1);

Textdraw9[playerid] = CreatePlayerTextDraw(playerid, 437.500000, 110.133300, "ROLEPLAY");
PlayerTextDrawLetterSize(playerid, Textdraw9[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw9[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw9[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw9[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw9[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw9[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw9[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw9[playerid], 1);

Textdraw10[playerid] = CreatePlayerTextDraw(playerid, 431.000000, 422.488952, "ОТКЛЮЧИТСЯ");
PlayerTextDrawLetterSize(playerid, Textdraw10[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw10[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw10[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw10[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw10[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw10[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw10[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw10[playerid], 1);
 

Строго не судится.

В общем-то все.

Share this post


Link to post
Share on other sites
1 час назад, Daniil Roslyakov сказал:

@Aurum если первый раз рисовал, то сайдет :)

 

Регу - первый. До этого только спидометры и лого :$

Share this post


Link to post
Share on other sites

Не открывает споилер!!!

Помогите установить на сервер

Edited by DDOX
Причина: Другая проблема

Share this post


Link to post
Share on other sites

@DDOX Данная проблема может возникнут из-за устаревшего браузера. Рекомендуем его обновить. Рекомендуемый браузер для работы: Chrome (и все остальные, основанные на нем: Opera, Yandex Browser, Amigo и пр.). 

Скачайте данный файл, если спойлер по-прежнему не открывается: 

текстдрав-регистрация.txt

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   You have pasted content with formatting.   Remove formatting

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

Loading...
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Смородина РП
      By Смородина РП
      Я писал систему регистрации с 0, и когда я почти дописал её и зашол на сервер окно не появилось. Помогите починить.
      Вот мод - 
       
      smorodinarp.amx
      smorodinarp.pwn
    • rediska
      By rediska
      Помогите исправить, выдаёт ошибку: error 002: only a single statement (or expression) can follow each "case"
       
    • Вадим1234
      By Вадим1234
      CMD:vips(playerid) {     if(GetPVarInt(playerid, "logged") == 0) return 1;     if(player_info[playerid][ADMIN] < 2)        return Send(playerid, COLOR_WHITE, "Команда не обнаружена! Используйте {ffcc00}/menu {FFFFFF}для просмотра команд");     foreach(new i: Player)     {         if(player_info[playerid][VIP] != -1)         {             new fmt_msg[85];             format             (                 fmt_msg, sizeof fmt_msg,                 "%s[%d] (%d DAYS)",                 player_info[NAME],                 i,                 player_info[VIP]             );             Send(playerid, COLOR_YELLOW, fmt_msg);         }     }     return 1; }  
    • Senya Kolymbijskij
      By Senya Kolymbijskij
       
      такие ошибки что делать???
      @mr_sasha087 @DEST Помогите!!
      Это строки  там где  SendClientMessage есть @mr_sasha087 @DEST Помогите!!
      @odosenok
    • Keynig
      By Keynig
      Все приветствую! Столкнулся с  такой проблемой .Захотелось сделать что бы на сервере было 2 логотипа, один был тогда когда игрок играет без модпака.А второй когда игрок подключает мод пак и у него пропадает стандартный логотип, и появляется 3д.
       
      ПОМОГИТЕ  ПОЖАЛУЙСТА. Желательно в кратчайшей срок.
      Заранее СПАСИБО!