Добро пожаловать на Pro Pawn - Портал о PAWN-скриптинге.
Страница 2 из 2 ПерваяПервая 1 2
Показано с 11 по 15 из 15
  1. #11
    Аватар для Kenny_Dalglish
    Заблокирован

    Статус
    Оффлайн
    Регистрация
    24.02.2014
    Сообщений
    179
    Репутация:
    -1 ±
    Цитата Сообщение от DeimoS Посмотреть сообщение
    И где данный код используется (подсчёт)?
    В OnGameModeInit. А если вы про то что как выводить сколько территорий то вот:
    PHP код:
        CMD:gzinfo(playeridparams[])
        {
           new 
    string[330];
           if(
    pData[playerid][pAdmin] < 2) return true;
           
    format(string,sizeof(string),
           
    "{FF6347}Количество территорий у {009900}Grove Street: {FF6347}%d\
           \n{FF6347}Количество территорий у {CC00FF}The Ballas: {FF6347}%d\
           \n{FF6347}Количество территорий у {6666FF}The Rifa: {FF6347}%d\
           \n{FF6347}Количество территорий у {00CCFF}Varios Los Aztecas: {FF6347}%d\
           \n{FF6347}Количество территорий у {ffff00}Los Santos Vagos: {FF6347}%d"
    ,GZGroveGZBallasGZRifaGZAztecasGZVagos);
           
    SPD(playerid,22000,DIALOG_STYLE_MSGBOX,"{FFAA00}Количество территорий",string"Ок","");
           return 
    true;
        } 

  2. #12
    Аватар для DeimoS
    Модератор?

    Статус
    Оффлайн
    Регистрация
    27.01.2014
    Адрес
    Восточный Мордор
    Сообщений
    5,588
    Репутация:
    1984 ±
    Цитата Сообщение от Kenny_Dalglish Посмотреть сообщение
    В OnGameModeInit. А если вы про то что как выводить сколько территорий то вот:
    PHP код:
        CMD:gzinfo(playeridparams[])
        {
           new 
    string[330];
           if(
    pData[playerid][pAdmin] < 2) return true;
           
    format(string,sizeof(string),
           
    "{FF6347}Количество территорий у {009900}Grove Street: {FF6347}%d\
           \n{FF6347}Количество территорий у {CC00FF}The Ballas: {FF6347}%d\
           \n{FF6347}Количество территорий у {6666FF}The Rifa: {FF6347}%d\
           \n{FF6347}Количество территорий у {00CCFF}Varios Los Aztecas: {FF6347}%d\
           \n{FF6347}Количество территорий у {ffff00}Los Santos Vagos: {FF6347}%d"
    ,GZGroveGZBallasGZRifaGZAztecasGZVagos);
           
    SPD(playerid,22000,DIALOG_STYLE_MSGBOX,"{FFAA00}Количество территорий",string"Ок","");
           return 
    true;
        } 
    А до загрузки гангзон или после?
    Связаться со мной в VK можно через личные сообщения этой группы
    Заказы не принимаю

    Широко известно, что идеи стоят 0.8333 цента каждая (исходя из рыночной цены 10 центов за дюжину).
    Великих идей полно, на них нет спроса.
    Воплощение идеи в законченную игру требует долгой работы,
    таланта, терпения и креативности, не говоря уж о затратах денег, времени и ресурсов.
    Предложить идею просто, воплотить – вот в чём проблема

    Steve Pavlina

  3. #13
    Аватар для Kenny_Dalglish
    Заблокирован

    Статус
    Оффлайн
    Регистрация
    24.02.2014
    Сообщений
    179
    Репутация:
    -1 ±
    Цитата Сообщение от DeimoS Посмотреть сообщение
    А до загрузки гангзон или после?
    После.

  4. #14
    Аватар для DeimoS
    Модератор?

    Статус
    Оффлайн
    Регистрация
    27.01.2014
    Адрес
    Восточный Мордор
    Сообщений
    5,588
    Репутация:
    1984 ±
    Цитата Сообщение от Kenny_Dalglish Посмотреть сообщение
    После.
    Скиньте код паблика
    Связаться со мной в VK можно через личные сообщения этой группы
    Заказы не принимаю

    Широко известно, что идеи стоят 0.8333 цента каждая (исходя из рыночной цены 10 центов за дюжину).
    Великих идей полно, на них нет спроса.
    Воплощение идеи в законченную игру требует долгой работы,
    таланта, терпения и креативности, не говоря уж о затратах денег, времени и ресурсов.
    Предложить идею просто, воплотить – вот в чём проблема

    Steve Pavlina

  5. #15
    Аватар для Kenny_Dalglish
    Заблокирован

    Статус
    Оффлайн
    Регистрация
    24.02.2014
    Сообщений
    179
    Репутация:
    -1 ±
    PHP код:
     public OnPlayerConnect(playerid)
    {
        new 
    IP[16];
        
    GetPlayerIp(playeridIP16);
        
    mysql_format(MYSQL_ARGasd90"SELECT * FROM `BanIP` WHERE `IP` = '%s' LIMIT 1"IP);
        
    mysql_function_query(MYSQL_ARGasdtrue"CheckPlayerBanIP""i"playerid);
        
    PlayerTimerID[playerid] = SetTimerEx("PlayerUpdate"2501"d"playerid);
        
    //TextDrawShowForPlayer(playerid,gState99Text);
        
    ckills[playerid] = 0;
        
    PI[playerid][pLogged] = 0PI[playerid][pBanned] = 0PI[playerid][pKill] = 0PI[playerid][pSmerti] = 0PI[playerid][pAdmin] = 0PI[playerid][pMuted] = 0PI[playerid][pJailed] = 0PI[playerid][pBonusParkour] = 0;
        
    GetPlayerName(playeridPI[playerid][pName], 24);//Óçíà¸ì íèê èãðîêà è çàïèñûâàåì â ïåðåìåííóþ PI[playerid][pName]
     /*   mysql_format(MYSQL_ARG, asd, 90, "SELECT `Name` FROM `"Baza"` WHERE `Name` = '%e'", PI[playerid][pName]);//Ôîðìàòèðóåì ñòðîêó è çàïèñûâàåì ëîãèí
        mysql_function_query(MYSQL_ARG, asd, true, "Start_R_A","d", playerid);//Îòïðàâëÿåì çàïðîñ è óçíà¸ì åñòü ëè â áä íèê èãðîêà */

        
    for(new 047i++)
        {
            
    WeaponInfo[playerid][i] = false;
            
    AmmoInfo[playerid][i] = 0;
        }
        for(new 
    013i++) AmmoSlot[playerid][i] = 0;

        
    AdminText3D Create3DTextLabel("Àäìèíèñòðàòîð",0xFFFFFF30.040.050.040.00);
        
    damange[playerid][0] = TextDrawCreate(636.399963298.175537"usebox");
        
    TextDrawLetterSize(damange[playerid][0], 0.0000002.448768);
        
    TextDrawTextSize(damange[playerid][0], 504.0000000.000000);
        
    TextDrawAlignment(damange[playerid][0], 1);
        
    TextDrawColor(damange[playerid][0], 0);
        
    TextDrawUseBox(damange[playerid][0], true);
        
    TextDrawBoxColor(damange[playerid][0], COLOR_BOX);
        
    TextDrawSetShadow(damange[playerid][0], 0);
        
    TextDrawSetOutline(damange[playerid][0], 0);
        
    TextDrawFont(damange[playerid][0], 0);



        
    Textdraw0[playerid] = TextDrawCreate(626.399963257.357757"usebox");
        
    TextDrawLetterSize(Textdraw0[playerid], 0.00000010.523828);
        
    TextDrawTextSize(Textdraw0[playerid], 460.0000000.000000);
        
    TextDrawAlignment(Textdraw0[playerid], 1);
        
    TextDrawColor(Textdraw0[playerid], 0);
        
    TextDrawUseBox(Textdraw0[playerid], true);
        
    TextDrawBoxColor(Textdraw0[playerid], 102);
        
    TextDrawSetShadow(Textdraw0[playerid], 0);
        
    TextDrawSetOutline(Textdraw0[playerid], 0);
        
    TextDrawFont(Textdraw0[playerid], 1);

        
    Textdraw1[playerid] = TextDrawCreate(485.199981266.808868"New Textdraw");
        
    TextDrawLetterSize(Textdraw1[playerid], 0.4499991.600000);
        
    TextDrawAlignment(Textdraw1[playerid], 1);
        
    TextDrawColor(Textdraw1[playerid], -1);
        
    TextDrawSetShadow(Textdraw1[playerid], 0);
        
    TextDrawSetOutline(Textdraw1[playerid], 1);
        
    TextDrawBackgroundColor(Textdraw1[playerid], 51);
        
    TextDrawFont(Textdraw1[playerid], 1);
        
    TextDrawSetProportional(Textdraw1[playerid], 1);
        
    TextDrawSetSelectable(Textdraw1[playerid], true);

        
    Textdraw2[playerid] = TextDrawCreate(487.200012299.662109"New Textdraw");
        
    TextDrawLetterSize(Textdraw2[playerid], 0.4499991.600000);
        
    TextDrawAlignment(Textdraw2[playerid], 1);
        
    TextDrawColor(Textdraw2[playerid], -1);
        
    TextDrawSetShadow(Textdraw2[playerid], 0);
        
    TextDrawSetOutline(Textdraw2[playerid], 1);
        
    TextDrawBackgroundColor(Textdraw2[playerid], 51);
        
    TextDrawFont(Textdraw2[playerid], 1);
        
    TextDrawSetProportional(Textdraw2[playerid], 1);
        
    TextDrawSetSelectable(Textdraw2[playerid], true);


        
    damange[playerid][1] = TextDrawCreate(511.999969301.155639"DAMAGE:");
        
    TextDrawLetterSize(damange[playerid][1], 0.4499991.600000);
        
    TextDrawAlignment(damange[playerid][1], 1);
        
    TextDrawColor(damange[playerid][1], -5963521);
        
    TextDrawSetShadow(damange[playerid][1], 0);
        
    TextDrawSetOutline(damange[playerid][1], 1);
        
    TextDrawBackgroundColor(damange[playerid][1], 51);
        
    TextDrawFont(damange[playerid][1], 3);
        
    TextDrawSetProportional(damange[playerid][1], 1);

        
    damange[playerid][2] = TextDrawCreate(579.200256301.155578"%d HP");
        
    TextDrawLetterSize(damange[playerid][2], 0.4499991.600000);
        
    TextDrawAlignment(damange[playerid][2], 1);
        
    TextDrawColor(damange[playerid][2], -5963521);
        
    TextDrawSetShadow(damange[playerid][2], 0);
        
    TextDrawSetOutline(damange[playerid][2], 1);
        
    TextDrawBackgroundColor(damange[playerid][2], 51);
           
    TextDrawFont(damange[playerid][2], 3);
           
    TextDrawSetProportional(damange[playerid][2], 1);

        
    KILLEDINFORMER[playerid][0] = TextDrawCreate(641.599975123.953338"usebox");
        
    TextDrawLetterSize(KILLEDINFORMER[playerid][0], 0.0000005.048270);
        
    TextDrawTextSize(KILLEDINFORMER[playerid][0], -2.0000000.000000);
        
    TextDrawAlignment(KILLEDINFORMER[playerid][0], 1);
        
    TextDrawColor(KILLEDINFORMER[playerid][0], 0);
        
    TextDrawUseBox(KILLEDINFORMER[playerid][0], true);
        
    TextDrawBoxColor(KILLEDINFORMER[playerid][0], COLOR_BOX);
        
    TextDrawSetShadow(KILLEDINFORMER[playerid][0], 0);
        
    TextDrawSetOutline(KILLEDINFORMER[playerid][0], 0);
        
    TextDrawFont(KILLEDINFORMER[playerid][0], 0);

        
    KILLEDINFORMER[playerid][1] = TextDrawCreate(393.200012139.377746"KILLED BY");
        
    TextDrawLetterSize(KILLEDINFORMER[playerid][1], 0.9299971.759289);
        
    TextDrawTextSize(KILLEDINFORMER[playerid][1], 10635.5976562726.330810);
        
    TextDrawAlignment(KILLEDINFORMER[playerid][1], 3);
        
    TextDrawColor(KILLEDINFORMER[playerid][1], -5963521);
        
    TextDrawSetShadow(KILLEDINFORMER[playerid][1], 0);
        
    TextDrawSetOutline(KILLEDINFORMER[playerid][1], 0);
        
    TextDrawBackgroundColor(KILLEDINFORMER[playerid][1], 51);
        
    TextDrawFont(KILLEDINFORMER[playerid][1], 1);
        
    TextDrawSetProportional(KILLEDINFORMER[playerid][1], 1);


        
    KILLEDINFORMER[playerid][2] = TextDrawCreate(402.800048140.871170"%s");
        
    TextDrawLetterSize(KILLEDINFORMER[playerid][2], 0.4499991.600000);
        
    TextDrawAlignment(KILLEDINFORMER[playerid][2], 1);
        
    TextDrawColor(KILLEDINFORMER[playerid][2], -5963521);
        
    TextDrawSetShadow(KILLEDINFORMER[playerid][2], 1);
        
    TextDrawSetOutline(KILLEDINFORMER[playerid][2], 0);
        
    TextDrawBackgroundColor(KILLEDINFORMER[playerid][2], 51);
        
    TextDrawFont(KILLEDINFORMER[playerid][2], 3);
        
    TextDrawSetProportional(KILLEDINFORMER[playerid][2], 1);

        
    killssmerti[playerid][0] = TextDrawCreate(137.199966192.646667"usebox");
        
    TextDrawLetterSize(killssmerti[playerid][0], 0.0000005.435430);
        
    TextDrawTextSize(killssmerti[playerid][0], 5.2000000.000000);
        
    TextDrawAlignment(killssmerti[playerid][0], 1);
        
    TextDrawColor(killssmerti[playerid][0], 0);
        
    TextDrawUseBox(killssmerti[playerid][0], true);
        
    TextDrawBoxColor(killssmerti[playerid][0], 102);
        
    TextDrawSetShadow(killssmerti[playerid][0], 0);
        
    TextDrawSetOutline(killssmerti[playerid][0], 0);
        
    TextDrawFont(killssmerti[playerid][0], 0);

        
    killssmerti[playerid][1] = TextDrawCreate(9.600003198.115554"Kills:");
        
    TextDrawLetterSize(killssmerti[playerid][1], 0.5868001.639821);
        
    TextDrawAlignment(killssmerti[playerid][1], 1);
        
    TextDrawColor(killssmerti[playerid][1], 16777215);
        
    TextDrawSetShadow(killssmerti[playerid][1], 0);
        
    TextDrawSetOutline(killssmerti[playerid][1], 1);
        
    TextDrawBackgroundColor(killssmerti[playerid][1], 51);
        
    TextDrawFont(killssmerti[playerid][1], 2);
        
    TextDrawSetProportional(killssmerti[playerid][1], 1);

        
    killssmerti[playerid][2] = TextDrawCreate(9.600032223.004425"DEATH:");
        
    TextDrawLetterSize(killssmerti[playerid][2], 0.4912001.689600);
        
    TextDrawAlignment(killssmerti[playerid][2], 1);
        
    TextDrawColor(killssmerti[playerid][2], 16777215);
        
    TextDrawSetShadow(killssmerti[playerid][2], 0);
        
    TextDrawSetOutline(killssmerti[playerid][2], 1);
        
    TextDrawBackgroundColor(killssmerti[playerid][2], 51);
        
    TextDrawFont(killssmerti[playerid][2], 2);
        
    TextDrawSetProportional(killssmerti[playerid][2], 1);

        
    killssmerti[playerid][3] = TextDrawCreate(90.000015199.608901"%d");
        
    TextDrawLetterSize(killssmerti[playerid][3], 0.4499991.600000);
        
    TextDrawAlignment(killssmerti[playerid][3], 1);
        
    TextDrawColor(killssmerti[playerid][3], -16711681);
        
    TextDrawSetShadow(killssmerti[playerid][3], 0);
        
    TextDrawSetOutline(killssmerti[playerid][3], 1);
        
    TextDrawBackgroundColor(killssmerti[playerid][3], 51);
        
    TextDrawFont(killssmerti[playerid][3], 2);
        
    TextDrawSetProportional(killssmerti[playerid][3], 1);


        
    killssmerti[playerid][4] = TextDrawCreate(89.200035224.000061"%D");
        
    TextDrawLetterSize(killssmerti[playerid][4], 0.4499991.600000);
        
    TextDrawAlignment(killssmerti[playerid][4], 1);
        
    TextDrawColor(killssmerti[playerid][4], -16711681);
        
    TextDrawSetShadow(killssmerti[playerid][4], 0);
        
    TextDrawSetOutline(killssmerti[playerid][4], 1);
        
    TextDrawBackgroundColor(killssmerti[playerid][4], 51);
        
    TextDrawFont(killssmerti[playerid][4], 2);
        
    TextDrawSetProportional(killssmerti[playerid][4], 1);


        
    SPECEPT[playerid][0] = CreatePlayerTextDraw(playerid637.600036166.762222"usebox");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][0], 0.0000001.619135);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][0], 473.6000060.000000);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][0], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][0], 0);
        
    PlayerTextDrawUseBox(playeridSPECEPT[playerid][0], true);
        
    PlayerTextDrawBoxColor(playeridSPECEPT[playerid][0], 102);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][0], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][0], 0);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][0], 0);

        
    SPECEPT[playerid][1] = CreatePlayerTextDraw(playerid476.399841165.760025"Name:");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][1], 0.4499991.600000);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][1], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][1], -5963521);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][1], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][1], 1);
        
    PlayerTextDrawBackgroundColor(playeridSPECEPT[playerid][1], 51);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][1], 1);
        
    PlayerTextDrawSetProportional(playeridSPECEPT[playerid][1], 1);

        
    SPECEPT[playerid][2] = CreatePlayerTextDraw(playerid637.600036189.659988"usebox");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][2], 0.0000001.619135);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][2], 473.6000060.000000);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][2], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][2], 0);
        
    PlayerTextDrawUseBox(playeridSPECEPT[playerid][2], true);
        
    PlayerTextDrawBoxColor(playeridSPECEPT[playerid][2], 102);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][2], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][2], 0);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][2], 0);

        
    SPECEPT[playerid][3] = CreatePlayerTextDraw(playerid477.999938187.662216"Ping:");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][3], 0.4499991.600000);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][3], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][3], -5963521);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][3], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][3], 1);
        
    PlayerTextDrawBackgroundColor(playeridSPECEPT[playerid][3], 51);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][3], 1);
        
    PlayerTextDrawSetProportional(playeridSPECEPT[playerid][3], 1);

        
    SPECEPT[playerid][4] = CreatePlayerTextDraw(playerid637.600036211.562225"usebox");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][4], 0.0000001.619133);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][4], 473.2000120.000000);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][4], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][4], 0);
        
    PlayerTextDrawUseBox(playeridSPECEPT[playerid][4], true);
        
    PlayerTextDrawBoxColor(playeridSPECEPT[playerid][4], 102);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][4], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][4], 0);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][4], 0);

        
    SPECEPT[playerid][5] = CreatePlayerTextDraw(playerid478.399963210.062225"FPS:");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][5], 0.4499991.600000);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][5], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][5], -5963521);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][5], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][5], 1);
        
    PlayerTextDrawBackgroundColor(playeridSPECEPT[playerid][5], 51);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][5], 1);
        
    PlayerTextDrawSetProportional(playeridSPECEPT[playerid][5], 1);

        
    SPECEPT[playerid][6] = CreatePlayerTextDraw(playerid513.200012242.915588"UPDATE");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][6], 0.4503991.704532);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][6], 574.40045129.866670);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][6], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][6], -16711681);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][6], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][6], 1);
        
    PlayerTextDrawBackgroundColor(playeridSPECEPT[playerid][6], 51);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][6], 1);
        
    PlayerTextDrawSetProportional(playeridSPECEPT[playerid][6], 1);
        
    PlayerTextDrawSetSelectable(playeridSPECEPT[playerid][6], true);

        
    SPECEPT[playerid][7] = CreatePlayerTextDraw(playerid511.599822270.293334"GM TEST");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][7], 0.4659991.664710);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][7], 583.60003626.382228);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][7], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][7], 16711935);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][7], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][7], 1);
        
    PlayerTextDrawBackgroundColor(playeridSPECEPT[playerid][7], 51);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][7], 1);
        
    PlayerTextDrawSetProportional(playeridSPECEPT[playerid][7], 1);
        
    PlayerTextDrawSetSelectable(playeridSPECEPT[playerid][7], true);


        
    SPECEPT[playerid][8] = CreatePlayerTextDraw(playerid525.199768298.666625"MUTE");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][8], 0.4711991.595021);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][8], 574.40002417.422222);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][8], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][8], 16711935);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][8], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][8], 1);
        
    PlayerTextDrawBackgroundColor(playeridSPECEPT[playerid][8], 51);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][8], 1);
        
    PlayerTextDrawSetProportional(playeridSPECEPT[playerid][8], 1);
        
    PlayerTextDrawSetSelectable(playeridSPECEPT[playerid][8], true);

        
    SPECEPT[playerid][9] = CreatePlayerTextDraw(playerid530.399658325.546600"KICK");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][9], 0.4724001.600000);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][9], 568.0001835.475556);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][9], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][9], 16711935);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][9], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][9], 1);
        
    PlayerTextDrawBackgroundColor(playeridSPECEPT[playerid][9], 51);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][9], 1);
        
    PlayerTextDrawSetProportional(playeridSPECEPT[playerid][9], 1);
        
    PlayerTextDrawSetSelectable(playeridSPECEPT[playerid][9], true);

        
    SPECEPT[playerid][10] = CreatePlayerTextDraw(playerid533.599792348.444274"BAN");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][10], 0.4656001.624889);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][10], 566.40039011.946663);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][10], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][10], 16711935);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][10], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][10], 1);
        
    PlayerTextDrawBackgroundColor(playeridSPECEPT[playerid][10], 51);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][10], 1);
        
    PlayerTextDrawSetProportional(playeridSPECEPT[playerid][10], 1);
        
    PlayerTextDrawSetSelectable(playeridSPECEPT[playerid][10], true);

        
    SPECEPT[playerid][11] = CreatePlayerTextDraw(playerid532.400024371.342163"SLAP");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][11], 0.4611991.664710);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][11], 571.2001344.480000);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][11], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][11], 16711935);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][11], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][11], 1);
        
    PlayerTextDrawBackgroundColor(playeridSPECEPT[playerid][11], 51);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][11], 1);
        
    PlayerTextDrawSetProportional(playeridSPECEPT[playerid][11], 1);
        
    PlayerTextDrawSetSelectable(playeridSPECEPT[playerid][11], true);

        
    SPECEPT[playerid][12] = CreatePlayerTextDraw(playerid534.400024395.733276"EXIT");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][12], 0.4603991.595021);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][12], 570.00000013.937771);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][12], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][12], -16711681);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][12], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][12], 1);
        
    PlayerTextDrawBackgroundColor(playeridSPECEPT[playerid][12], 51);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][12], 1);
        
    PlayerTextDrawSetProportional(playeridSPECEPT[playerid][12], 1);
        
    PlayerTextDrawSetSelectable(playeridSPECEPT[playerid][12], true);

        
    SPECEPT[playerid][13] = CreatePlayerTextDraw(playerid637.600036236.451110"usebox");
        
    PlayerTextDrawLetterSize(playeridSPECEPT[playerid][13], 0.00000020.092222);
        
    PlayerTextDrawTextSize(playeridSPECEPT[playerid][13], 473.6000060.000000);
        
    PlayerTextDrawAlignment(playeridSPECEPT[playerid][13], 1);
        
    PlayerTextDrawColor(playeridSPECEPT[playerid][13], 0);
        
    PlayerTextDrawUseBox(playeridSPECEPT[playerid][13], true);
        
    PlayerTextDrawBoxColor(playeridSPECEPT[playerid][13], 102);
        
    PlayerTextDrawSetShadow(playeridSPECEPT[playerid][13], 0);
        
    PlayerTextDrawSetOutline(playeridSPECEPT[playerid][13], 0);
        
    PlayerTextDrawFont(playeridSPECEPT[playerid][13], 0);



        
    TD_BADGE[playerid] = TextDrawCreate(34.799976308.124755"BADGE ON");
        
    TextDrawLetterSize(TD_BADGE[playerid], 0.4680002.316802);
        
    TextDrawTextSize(TD_BADGE[playerid], 608.3999632063.291259);
        
    TextDrawAlignment(TD_BADGE[playerid], 1);
        
    TextDrawColor(TD_BADGE[playerid], -5963521);
        
    TextDrawSetShadow(TD_BADGE[playerid], 0);
        
    TextDrawSetOutline(TD_BADGE[playerid], 1);
        
    TextDrawBackgroundColor(TD_BADGE[playerid], 51);
        
    TextDrawFont(TD_BADGE[playerid], 0);
        
    TextDrawSetProportional(TD_BADGE[playerid], 1);

         
    Speedo[0] = CreatePlayerTextDraw(playerid630.000000350.000000"_");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[0], 255);
        
    PlayerTextDrawFont(playeridSpeedo[0], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[0], 0.5000003.299998);
        
    PlayerTextDrawColor(playeridSpeedo[0], -1);
        
    PlayerTextDrawSetOutline(playeridSpeedo[0], 0);
        
    PlayerTextDrawSetProportional(playeridSpeedo[0], 1);
        
    PlayerTextDrawSetShadow(playeridSpeedo[0], 1);
        
    PlayerTextDrawUseBox(playeridSpeedo[0], 1);
        
    PlayerTextDrawBoxColor(playeridSpeedo[0], 16843108);
        
    PlayerTextDrawTextSize(playeridSpeedo[0], 405.00000030.000000);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[0], 0);

        
    Speedo[1] = CreatePlayerTextDraw(playerid412.000000350.000000"Speed:");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[1], 255);
        
    PlayerTextDrawFont(playeridSpeedo[1], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[1], 0.4099991.399999);
        
    PlayerTextDrawColor(playeridSpeedo[1], -1718252289);
        
    PlayerTextDrawSetOutline(playeridSpeedo[1], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[1], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[1], 0);

        
    Speedo[2] = CreatePlayerTextDraw(playerid412.000000365.000000"Vehicle:");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[2], 255);
        
    PlayerTextDrawFont(playeridSpeedo[2], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[2], 0.3799991.499999);
        
    PlayerTextDrawColor(playeridSpeedo[2], -1718252289);
        
    PlayerTextDrawSetOutline(playeridSpeedo[2], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[2], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[2], 0);

        
    Speedo[3] = CreatePlayerTextDraw(playerid460.000000351.000000"IIIIIIIIIIIIIIIIIIIIIIII");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[3], 255);
        
    PlayerTextDrawFont(playeridSpeedo[3], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[3], 0.3799991.200000);
        
    PlayerTextDrawColor(playeridSpeedo[3], -1651143425);
        
    PlayerTextDrawSetOutline(playeridSpeedo[3], 0);
        
    PlayerTextDrawSetProportional(playeridSpeedo[3], 1);
        
    PlayerTextDrawSetShadow(playeridSpeedo[3], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[3], 0);

        
    Speedo[4] = CreatePlayerTextDraw(playerid460.000000351.000000"I");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[4], 255);
        
    PlayerTextDrawFont(playeridSpeedo[4], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[4], 0.3799991.200000);
        
    PlayerTextDrawColor(playeridSpeedo[4], -748417793);
        
    PlayerTextDrawSetOutline(playeridSpeedo[4], 0);
        
    PlayerTextDrawSetProportional(playeridSpeedo[4], 1);
        
    PlayerTextDrawSetShadow(playeridSpeedo[4], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[4], 0);

        
    Speedo[5] = CreatePlayerTextDraw(playerid590.000000351.000000"0 KM/H");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[5], 255);
        
    PlayerTextDrawFont(playeridSpeedo[5], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[5], 0.2700001.200000);
        
    PlayerTextDrawColor(playeridSpeedo[5], -748417793);
        
    PlayerTextDrawSetOutline(playeridSpeedo[5], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[5], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[5], 0);

        
    Speedo[6] = CreatePlayerTextDraw(playerid465.000000368.000000"Name Veh");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[6], 255);
        
    PlayerTextDrawFont(playeridSpeedo[6], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[6], 0.2700001.200000);
        
    PlayerTextDrawColor(playeridSpeedo[6], -748417793);
        
    PlayerTextDrawSetOutline(playeridSpeedo[6], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[6], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[6], 0);

        
    Speedo[7] = CreatePlayerTextDraw(playerid536.000000365.000000"Health:");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[7], 255);
        
    PlayerTextDrawFont(playeridSpeedo[7], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[7], 0.3799991.499999);
        
    PlayerTextDrawColor(playeridSpeedo[7], -1718252289);
        
    PlayerTextDrawSetOutline(playeridSpeedo[7], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[7], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[7], 0);

        
    Speedo[8] = CreatePlayerTextDraw(playerid582.000000368.000000"hp cars");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[8], 255);
        
    PlayerTextDrawFont(playeridSpeedo[8], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[8], 0.2700001.200000);
        
    PlayerTextDrawColor(playeridSpeedo[8], -748417793);
        
    PlayerTextDrawSetOutline(playeridSpeedo[8], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[8], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[8], 0);

        
    Speedo[9] = CreatePlayerTextDraw(playerid630.000000384.000000"_");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[9], 255);
        
    PlayerTextDrawFont(playeridSpeedo[9], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[9], 0.4600003.699999);
        
    PlayerTextDrawColor(playeridSpeedo[9], -1);
        
    PlayerTextDrawSetOutline(playeridSpeedo[9], 0);
        
    PlayerTextDrawSetProportional(playeridSpeedo[9], 1);
        
    PlayerTextDrawSetShadow(playeridSpeedo[9], 1);
        
    PlayerTextDrawUseBox(playeridSpeedo[9], 1);
        
    PlayerTextDrawBoxColor(playeridSpeedo[9], 16843108);
        
    PlayerTextDrawTextSize(playeridSpeedo[9], 405.00000031.000000);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[9], 0);

        
    Speedo[10] = CreatePlayerTextDraw(playerid446.000000385.000000"Lights: ~r~off");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[10], 255);
        
    PlayerTextDrawFont(playeridSpeedo[10], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[10], 0.3799991.499999);
        
    PlayerTextDrawColor(playeridSpeedo[10], -1718252289);
        
    PlayerTextDrawSetOutline(playeridSpeedo[10], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[10], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[10], 0);

        
    Speedo[11] = CreatePlayerTextDraw(playerid446.000000404.000000"Engine: ~g~ on");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[11], 255);
        
    PlayerTextDrawFont(playeridSpeedo[11], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[11], 0.3799991.499999);
        
    PlayerTextDrawColor(playeridSpeedo[11], -1718252289);
        
    PlayerTextDrawSetOutline(playeridSpeedo[11], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[11], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[11], 0);

        
    Speedo[12] = CreatePlayerTextDraw(playerid525.000000385.000000"Radio: ~r~off");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[12], 255);
        
    PlayerTextDrawFont(playeridSpeedo[12], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[12], 0.3799991.499999);
        
    PlayerTextDrawColor(playeridSpeedo[12], -1718252289);
        
    PlayerTextDrawSetOutline(playeridSpeedo[12], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[12], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[12], 0);

        
    Speedo[13] = CreatePlayerTextDraw(playerid525.000000404.000000"GPS:");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[13], 255);
        
    PlayerTextDrawFont(playeridSpeedo[13], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[13], 0.3799991.499999);
        
    PlayerTextDrawColor(playeridSpeedo[13], -1718252289);
        
    PlayerTextDrawSetOutline(playeridSpeedo[13], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[13], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[13], 0);

        
    Speedo[14] = CreatePlayerTextDraw(playerid554.000000404.000000"~g~Ganton");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[14], 255);
        
    PlayerTextDrawFont(playeridSpeedo[14], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[14], 0.1700001.500000);
        
    PlayerTextDrawColor(playeridSpeedo[14], -1);
        
    PlayerTextDrawSetOutline(playeridSpeedo[14], 1);
        
    PlayerTextDrawSetProportional(playeridSpeedo[14], 1);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[14], 0);

        
    Speedo[15] = CreatePlayerTextDraw(playerid443.000000387.000000"__");
        
    PlayerTextDrawBackgroundColor(playeridSpeedo[15], 255);
        
    PlayerTextDrawFont(playeridSpeedo[15], 1);
        
    PlayerTextDrawLetterSize(playeridSpeedo[15], 0.5000003.099998);
        
    PlayerTextDrawColor(playeridSpeedo[15], -1);
        
    PlayerTextDrawSetOutline(playeridSpeedo[15], 0);
        
    PlayerTextDrawSetProportional(playeridSpeedo[15], 1);
        
    PlayerTextDrawSetShadow(playeridSpeedo[15], 1);
        
    PlayerTextDrawUseBox(playeridSpeedo[15], 1);
        
    PlayerTextDrawBoxColor(playeridSpeedo[15], 1499027822);
        
    PlayerTextDrawTextSize(playeridSpeedo[15], 408.000000, -2.000000);
        
    PlayerTextDrawSetSelectable(playeridSpeedo[15], 0);

        
    SpeedoCar[playerid] = CreatePlayerTextDraw(playerid398.000000359.000000"CARS");
        
    PlayerTextDrawBackgroundColor(playeridSpeedoCar[playerid], 0);
        
    PlayerTextDrawFont(playeridSpeedoCar[playerid], 5);
        
    PlayerTextDrawLetterSize(playeridSpeedoCar[playerid], 0.5000001.000000);
        
    PlayerTextDrawColor(playeridSpeedoCar[playerid], -1);
        
    PlayerTextDrawSetOutline(playeridSpeedoCar[playerid], 0);
        
    PlayerTextDrawSetProportional(playeridSpeedoCar[playerid], 1);
        
    PlayerTextDrawSetShadow(playeridSpeedoCar[playerid], 1);
        
    PlayerTextDrawUseBox(playeridSpeedoCar[playerid], 1);
        
    PlayerTextDrawBoxColor(playeridSpeedoCar[playerid], 255);
        
    PlayerTextDrawTextSize(playeridSpeedoCar[playerid], 60.00000080.000000);
        
    PlayerTextDrawSetPreviewRot(playeridSpeedoCar[playerid], -5.0000000.000000, -11.0000001.000000);
        
    PlayerTextDrawSetSelectable(playeridSpeedoCar[playerid], 0);

        
    DMOn[playerid][0] = 0DMOn[playerid][1] = 0,DeagleOn[playerid][0] = 0,ParcurOn[playerid][0] = 0,
        
    dmixed[playerid][0] = 0;
        
    //bejik[playerid] = 0;
           
    SelectSkin[playerid] = 0;
        
    ChoseSkin[playerid] =                                       false;
        
    captplayer[playerid] = 0;
        
    GetPlayerOption[playerid] =                                    false;
        
    gPlayerLogTries[playerid] = 0;
        
    captonoff[playerid] = 0;
        
    PROVERKA_GUN[playerid]=0;
        
    PlayerInfo[playerid][pUdachiTime] = 0;
        
    PlayerInfo[playerid][pOTime] = 0;
           
    GetPlayerTransfer[playerid]  =                             INVALID_PLAYER_ID;
           
    PI[playerid][pAFK] = 0;
        
    PI[playerid][pAFKText] = Text3D:INVALID_3DTEXT_ID;
        
    PI[playerid][pIsAFK] = false;
        
    shotTime[playerid] = 0;
        
    shot[playerid] = 0;
        new 
    playername[MAX_PLAYER_NAME];
        
    SetPlayerScore(playerid,PI[playerid][pKill]);
        
    GetPlayerName(playerid,playername,sizeof(playername));
        
    TextDrawShowForPlayer(playerid,Logotip[0]);
        
    TextDrawShowForPlayer(playerid,Logotip[1]);
        
    ResetPlayerWeapons(playerid);
        foreach(new 
    iPlayer)
        {
            
    TextDrawShowForPlayer(i,CLOCK);
        }
           
    STimer[playerid] = SetTimerEx("UpdateSpeedometr"Update1"d"playerid); // òàéìåð!
        
    return true;


 

 
Страница 2 из 2 ПерваяПервая 1 2

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •