Вопросы

tivan666ban
Активный

Подскажите, пожалуйста, как в Pawn/SAMP реализовать возможность вводить текст в TextDraw при нажатии на него?

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


Ссылка на сообщение

5 ответов на этот вопрос

  • 0
tivan666ban
Активный

@Cawfee Я хотел бы систему, которая используется на успешных проектах, таких как Radmir RP CRMP

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


Ссылка на сообщение
  • 0
sinvays
Гуру форума

Можете для этого использовать TextDrawSetString и настроить его так чтобы при нажатии на него можно менять текст. Используй диалоговое окно для обработки текста, можешь использовать пример ниже:

 

Создаёте new:

 

new Text:MyTextDraw;

 

Создаёте Текстдрав и вставляете в любое удобное место


 

    MyTextDraw = TextDrawCreate(320.0, 240.0, "Click me to enter text");
    TextDrawBackgroundColor(MyTextDraw, 0x000000FF);
    TextDrawFont(MyTextDraw, 3);
    TextDrawLetterSize(MyTextDraw, 0.5, 1.0);
    TextDrawColor(MyTextDraw, 0xFFFFFFFF);
    TextDrawSetProportional(MyTextDraw, 1);
    TextDrawSetSelectable(MyTextDraw, 1);
    TextDrawShowForAll(MyTextDraw);

 

Ну и делаете например если он нажмёт по текстдраву, он будет открывать диалог.

 

#define DIALOG_INPUT 1

public OnPlayerClickTextDraw(playerid, clickedid)
{
    if(clickedid == MyTextDraw)
    {
        ShowPlayerDialog(playerid, DIALOG_INPUT, DIALOG_STYLE_INPUT, "TextDraw", "Введите ваш текст:", "", "Submit", "Cancel");
    }
    return 1;
}

 

И обрабатываете текст:

 

#define DIALOG_INPUT 1

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_INPUT)
    {
        if(response)
        {
            TextDrawSetString(MyTextDraw, inputtext);
            TextDrawShowForAll(MyTextDraw);
        }
    }
    return 1;
}

 

Не забывайте что это только пример кода вам может понадобиться настроить параметры в зависимости от ваших нужд.


 

Отредактировано пользователем angel_sinvays

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


Ссылка на сообщение
  • 0
tivan666ban
Активный

@angel_sinvays  ошибка 

Спойлер

warning 202: number of arguments does not match definition

Спойлер

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#include <a_actor>
#include <a_http>
#include <a_npc>
#include <a_objects>
#include <a_players>
#include <a_sampdb>
#include <a_vehicles>
#include <core>
#include <crashdetect>
#include <datagram>
#include <file>
#include <float>
#include <mxini>
#include <string>
#include <time>
#include <a_mysql>
#include <crp>

new Text:Textdraw0;
new MySQL:dbHandle;
new Text:registracia0;
new Text:registracia1;
new Text:registracia2;
new Text:registracia3;
new Text:registracia4;
new Text:registracia5;
new Text:registracia6;
new Text:registracia7;
new Text:vhod0;
new Text:vhod1;
new Text:vhod2;
new Text:vhod3;
new MySQL: g_connection_db;

#define Host "127.0.0.1"
#define User "root" // это если вы используете Denwer. Если хостинг указываете другого пользователя.
#define DataBase "samp"
#define Password_SQL ""//Если вы на хостинге ставите пароль,для Denwer пароль не требуется, чуть позже скажу как его установить

#define DIALOG_INPUT 1

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, -2245.4390, 1825.9686, 53.4651, 37.0911, 0, 0, 0, 0, 0, 0);
    Textdraw0 = TextDrawCreate(527.200073, 407.680053, "Navit Rp");
    TextDrawLetterSize(Textdraw0, 0.585999, 3.660799);
    TextDrawTextSize(Textdraw0, -18.399999, 10.453330);
    TextDrawAlignment(Textdraw0, 1);
    TextDrawColor(Textdraw0, 65535);
    TextDrawSetShadow(Textdraw0, 0);
    TextDrawSetOutline(Textdraw0, 0);
    TextDrawBackgroundColor(Textdraw0, -2139062017);
    TextDrawFont(Textdraw0, 2);
    TextDrawSetProportional(Textdraw0, 1);
    dbHandle = mysql_connect(Host,User,Password_SQL,DataBase);// В R41 поменялись местами Пароль и База
    dbHandle = mysql_connect(Host,User,DataBase,Password_SQL);
    if(mysql_errno())
    {
        printf("Подключение к базе данных %s не удалось.",DataBase); // %s означает строку. То есть будет выводить название базы данных которое указано в #define DataBase
    }
    else
    {
        printf("Подключение к базе данных %s успешно",DataBase);
    }
    registracia0 = TextDrawCreate(492.000000, 145.599975, "Ведите пароль");
    TextDrawLetterSize(registracia0, 0.568047, 3.421439);
    TextDrawAlignment(registracia0, 1);
    TextDrawColor(registracia0, -65281);
    TextDrawSetShadow(registracia0, 0);
    TextDrawSetOutline(registracia0, 1);
    TextDrawBackgroundColor(registracia0, 51);
    TextDrawFont(registracia0, 1);
    TextDrawSetProportional(registracia0, 1);

    registracia1 = TextDrawCreate(641.199951, 187.419998, "usebox");
    TextDrawLetterSize(registracia1, 0.000000, 2.504074);
    TextDrawTextSize(registracia1, 490.799987, 0.000000);
    TextDrawAlignment(registracia1, 1);
    TextDrawColor(registracia1, 0);
    TextDrawUseBox(registracia1, true);
    TextDrawBoxColor(registracia1, 102);
    TextDrawSetShadow(registracia1, 0);
    TextDrawSetOutline(registracia1, 0);
    TextDrawFont(registracia1, 0);

    registracia0 = TextDrawCreate(492.000000, 145.599975, "Ведите пароль");
    TextDrawLetterSize(registracia0, 0.568047, 3.421439);
    TextDrawAlignment(registracia0, 1);
    TextDrawColor(registracia0, -65281);
    TextDrawSetShadow(registracia0, 0);
    TextDrawSetOutline(registracia0, 1);
    TextDrawBackgroundColor(registracia0, 51);
    TextDrawFont(registracia0, 1);
    TextDrawSetProportional(registracia0, 1);

    registracia1 = TextDrawCreate(641.199951, 187.419998, "usebox");
    TextDrawLetterSize(registracia1, 0.000000, 2.504074);
    TextDrawTextSize(registracia1, 490.799987, 0.000000);
    TextDrawAlignment(registracia1, 1);
    TextDrawColor(registracia1, 0);
    TextDrawUseBox(registracia1, true);
    TextDrawBoxColor(registracia1, 102);
    TextDrawSetShadow(registracia1, 0);
    TextDrawSetOutline(registracia1, 0);
    TextDrawFont(registracia1, 0);

    registracia2 = TextDrawCreate(496.000152, 218.026687, "муж");
    TextDrawLetterSize(registracia2, 0.449999, 1.600000);
    TextDrawAlignment(registracia2, 1);
    TextDrawColor(registracia2, -65281);
    TextDrawSetShadow(registracia2, 0);
    TextDrawSetOutline(registracia2, 1);
    TextDrawBackgroundColor(registracia2, 51);
    TextDrawFont(registracia2, 1);
    TextDrawSetProportional(registracia2, 1);

    registracia3 = TextDrawCreate(529.200012, 235.206665, "usebox");
    TextDrawLetterSize(registracia3, 0.000000, 2.089259);
    TextDrawTextSize(registracia3, 494.799987, 0.000000);
    TextDrawAlignment(registracia3, 1);
    TextDrawColor(registracia3, 0);
    TextDrawUseBox(registracia3, true);
    TextDrawBoxColor(registracia3, 102);
    TextDrawSetShadow(registracia3, 0);
    TextDrawSetOutline(registracia3, 0);
    TextDrawFont(registracia3, 0);

    registracia4 = TextDrawCreate(591.999755, 221.760009, "жен");
    TextDrawLetterSize(registracia4, 0.449999, 1.600000);
    TextDrawAlignment(registracia4, 1);
    TextDrawColor(registracia4, -65281);
    TextDrawSetShadow(registracia4, 0);
    TextDrawSetOutline(registracia4, 1);
    TextDrawBackgroundColor(registracia4, 51);
    TextDrawFont(registracia4, 1);
    TextDrawSetProportional(registracia4, 1);

    registracia5 = TextDrawCreate(619.599975, 238.939987, "usebox");
    TextDrawLetterSize(registracia5, 0.000000, 2.089259);
    TextDrawTextSize(registracia5, 588.400024, 0.000000);
    TextDrawAlignment(registracia5, 1);
    TextDrawColor(registracia5, 0);
    TextDrawUseBox(registracia5, true);
    TextDrawBoxColor(registracia5, 102);
    TextDrawSetShadow(registracia5, 0);
    TextDrawSetOutline(registracia5, 0);
    TextDrawFont(registracia5, 0);

    registracia6 = TextDrawCreate(638.000000, 271.046691, "usebox");
    TextDrawLetterSize(registracia6, 0.000000, 2.587036);
    TextDrawTextSize(registracia6, 495.599975, 0.000000);
    TextDrawAlignment(registracia6, 1);
    TextDrawColor(registracia6, 0);
    TextDrawUseBox(registracia6, true);
    TextDrawBoxColor(registracia6, 102);
    TextDrawSetShadow(registracia6, 0);
    TextDrawSetOutline(registracia6, 0);
    TextDrawFont(registracia6, 0);

    registracia7 = TextDrawCreate(542.400024, 274.026580, "играть");
    TextDrawLetterSize(registracia7, 0.449999, 1.600000);
    TextDrawAlignment(registracia7, 1);
    TextDrawColor(registracia7, -65281);
    TextDrawSetShadow(registracia7, 0);
    TextDrawSetOutline(registracia7, 1);
    TextDrawBackgroundColor(registracia7, 51);
    TextDrawFont(registracia7, 1);
    TextDrawSetProportional(registracia7, 1);


    vhod0 = TextDrawCreate(492.000000, 145.599975, "Ведите пароль");
    TextDrawLetterSize(vhod0, 0.568047, 3.421439);
    TextDrawAlignment(vhod0, 1);
    TextDrawColor(vhod0, -65281);
    TextDrawSetShadow(vhod0, 0);
    TextDrawSetOutline(vhod0, 1);
    TextDrawBackgroundColor(vhod0, 51);
    TextDrawFont(vhod0, 1);
    TextDrawSetProportional(vhod0, 1);

    vhod1 = TextDrawCreate(641.199951, 187.419998, "usebox");
    TextDrawLetterSize(vhod1, 0.000000, 2.504074);
    TextDrawTextSize(vhod1, 490.799987, 0.000000);
    TextDrawAlignment(vhod1, 1);
    TextDrawColor(vhod1, 0);
    TextDrawUseBox(vhod1, true);
    TextDrawBoxColor(vhod1, 102);
    TextDrawSetShadow(vhod1, 0);
    TextDrawSetOutline(vhod1, 0);
    TextDrawFont(vhod1, 0);


    vhod2 = TextDrawCreate(638.000000, 271.046691, "usebox");
    TextDrawLetterSize(vhod2, 0.000000, 2.587036);
    TextDrawTextSize(vhod2, 495.599975, 0.000000);
    TextDrawAlignment(vhod2, 1);
    TextDrawColor(vhod2, 0);
    TextDrawUseBox(vhod2, true);
    TextDrawBoxColor(vhod2, 102);
    TextDrawSetShadow(vhod2, 0);
    TextDrawSetOutline(vhod2, 0);
    TextDrawFont(vhod2, 0);

    vhod3 = TextDrawCreate(542.400024, 274.026580, "играть");
    TextDrawLetterSize(vhod3, 0.449999, 1.600000);
    TextDrawAlignment(vhod3, 1);
    TextDrawColor(vhod3, -65281);
    TextDrawSetShadow(vhod3, 0);
    TextDrawSetOutline(vhod3, 1);
    TextDrawBackgroundColor(vhod3, 51);
    TextDrawFont(vhod3, 1);
    TextDrawSetProportional(vhod3, 1);
    return 1;
}

public OnGameModeExit()
{
    mysql_close(dbHandle);
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, -2245.4390, 1825.9686, 53.4651);
    SetPlayerCameraPos(playerid, -2245.4390, 1825.9686, 53.4651);
    SetPlayerCameraLookAt(playerid, -2245.4390, 1825.9686, 53.4651);
    return 1;
}

public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid,Textdraw0);
    TextDrawShowForPlayer(playerid,registracia0);
    TextDrawShowForPlayer(playerid,registracia1);
    TextDrawShowForPlayer(playerid,registracia2);
    TextDrawShowForPlayer(playerid,registracia3);
    TextDrawShowForPlayer(playerid,registracia4);
    TextDrawShowForPlayer(playerid,registracia5);
    TextDrawShowForPlayer(playerid,registracia6);
    TextDrawShowForPlayer(playerid,registracia7);
    TextDrawShowForPlayer(playerid,vhod0);
    TextDrawShowForPlayer(playerid,vhod1);
    TextDrawShowForPlayer(playerid,vhod2);
    TextDrawShowForPlayer(playerid,vhod3);
    RemoveBuildingForPlayer(playerid, 647, 1958.7900, -2615.9399, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1954.1700, -2617.8701, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1958.0800, -2620.3799, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1953.3700, -2621.3799, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1957.4301, -2624.6001, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1953.1400, -2625.6101, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1956.9700, -2618.3601, 9.9998, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1952.8500, -2616.9099, 9.9998, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1953.0400, -2619.8799, 9.9998, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1954.8101, -2623.6101, 9.9998, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1957.0900, -2626.6201, 9.9998, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1957.6500, -2621.9399, 9.9998, 0.25);
    RemoveBuildingForPlayer(playerid, 1760, 1955.8300, -2620.1599, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1760, 1956.9800, -2616.6799, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1760, 1953.3600, -2623.6299, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1760, 1956.1899, -2625.2100, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1760, 1956.8400, -2622.7400, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1711, 1955.2900, -2625.5000, 15.6000, 0.25);
    RemoveBuildingForPlayer(playerid, 1711, 1957.4000, -2618.8601, 15.6000, 0.25);
    RemoveBuildingForPlayer(playerid, 2405, 2011.0900, -2603.8899, 9.8024, 0.25);
    RemoveBuildingForPlayer(playerid, 2406, 2011.0900, -2603.8899, 9.8024, 0.25);
    RemoveBuildingForPlayer(playerid, 2427, 2068.1299, -2631.8899, 10.0100, 0.25);
    RemoveBuildingForPlayer(playerid, 2433, 2068.1299, -2631.8899, 10.0100, 0.25);
    RemoveBuildingForPlayer(playerid, 1788, 1973.1100, -2610.3301, 22.7800, 0.25);
    RemoveBuildingForPlayer(playerid, 1786, 1973.1100, -2610.3301, 12.9000, 0.25);
    RemoveBuildingForPlayer(playerid, 1786, 1973.1100, -2610.3301, 2.9800, 0.25);
    RemoveBuildingForPlayer(playerid, 1788, 1973.5800, -2609.1299, 25.8000, 0.25);
    CreateObject(6000, -2234.00, 1832.40, 61.00,   0.00, 0.00, 30.00);
    static const fmt_str[] = "SELECT * FROM `table_accounts` WHERE `name` = '%s' LIMIT 1";
    new query[sizeof(fmt_str) + MAX_PLAYER_NAME + 2 + 1], player_name[MAX_PLAYERS][MAX_PLAYER_NAME+1];
    GetPlayerName(playerid, player_name[playerid], MAX_PLAYER_NAME+1);
    format(query, sizeof query, fmt_str, player_name[playerid]);
    mysql_tquery(g_connection_db, query, "FindPlayerInTable", "i", playerid);
    new rows;
    cache_get_row_count(rows);
    if(!rows) //если аккаунт не найден
    {

    }
    else //иначе
    {

    }
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    return 1;
}

public OnPlayerSpawn(playerid)
{
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    return 1;
}

public OnVehicleSpawn(vehicleid)
{
    return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
    return 1;
}

public OnPlayerText(playerid, text[])
{
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        // Do something here
        return 1;
    }
    return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
    return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
    return 1;
}

public OnRconCommand(cmd[])
{
    return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    return 1;
}

public OnObjectMoved(objectid)
{
    return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
    return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
    return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
    return 1;
}

public OnPlayerExitedMenu(playerid)
{
    return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
    return 1;
}

public OnPlayerUpdate(playerid)
{
    return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
    return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
    return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
    return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_INPUT)
    {
        if(response)
        {
            TextDrawSetString(registracia1, inputtext);
            TextDrawShowForAll(registracia1);
        }
    }
    return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    return 1;
}

public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    if(clickedid == registracia1)
    {
        ShowPlayerDialog(playerid, DIALOG_INPUT, DIALOG_STYLE_INPUT, "TextDraw", "Введите ваш текст:", "", "Submit", "Cancel");
    }
    return 1;
}

 

 

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


Ссылка на сообщение
Гость
Эта тема закрыта для публикации ответов.
  • Последние посетители   0 пользователей онлайн

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

  • Похожий контент

    • patrickk
      От patrickk
      Всем привет, решил написать dm сервер и довольно хорошим получился, даже на голову выше Goat dm. Оставил не решенную проблему тем что  у меня есть 4 локации с rp run и cj run ну а как добавить cj бег на те локации не знаю и как эта система работает. Надеюсь мне помогут знающие люди
    • Samolet
      От Samolet
      Здраствуйте, cоздаю копию Arizona на ОМП, опен мультиплеер, загрузил и подключил бд, но сервер не хочет вот лог :[2026-10-20T21:03:32+0300] [Info] Log file reloaded. Starting open.mp server (1.5.8.3079) from commit c6759bd8d265171ae3d86598895a23d5a8d92a3b Loading component $CAPI.so Successfully loaded component C-API (1.5.8.3079) with UID 10467dd8d4c56fc6 Loading component LegacyConfig.so Successfully loaded component LegacyConfig (1.5.8.3079) with UID 24ef6216838f9ffc Loading component NPCs.so Successfully loaded component NPCs (1.5.8.3079) with UID 3d0e59e87f4e90bc Loading component Recordings.so Successfully loaded component Recordings (1.5.8.3079) with UID 871144d399f5f613 Loading component Checkpoints.so Successfully loaded component Checkpoints (1.5.8.3079) with UID 44a937350d611dde Loading component TextDraws.so Successfully loaded component TextDraws (1.5.8.3079) with UID 9b5dc2b1d15c992a Loading component Pawn.so Successfully loaded component Pawn (1.5.8.3079) with UID 78906cd9f19c36a6 Loading component GangZones.so Successfully loaded component GangZones (1.5.8.3079) with UID b3351d11ee8d8056 Loading component Actors.so Successfully loaded component Actors (1.5.8.3079) with UID c81ca021eae2ad5c Loading component Pickups.so Successfully loaded component Pickups (1.5.8.3079) with UID cf304faa363dd971 Loading component Dialogs.so Successfully loaded component Dialogs (1.5.8.3079) with UID 44a111350d611dde Loading component Objects.so Successfully loaded component Objects (1.5.8.3079) with UID 59f8415f72da6160 Loading component Console.so Successfully loaded component Console (1.5.8.3079) with UID bfa24e49d0c95ee4 Loading component TextLabels.so Successfully loaded component TextLabels (1.5.8.3079) with UID a0c57ea80a009742 Loading component Variables.so Successfully loaded component Variables (1.5.8.3079) with UID 75e121848bc01fa2 Loading component Databases.so Successfully loaded component Databases (1.5.8.3079) with UID 80092e7eb5821a96 Loading component LegacyNetwork.so Successfully loaded component RakNetLegacyNetwork (1.5.8.3079) with UID ea9799fd79cf8442 Loading component CustomModels.so Successfully loaded component CustomModels (1.5.8.3079) with UID 15e3cb1e7c77ffff Loading component Menus.so Successfully loaded component Menus (1.5.8.3079) with UID 621e219eb97ee0b2 Loading component Vehicles.so Successfully loaded component Vehicles (1.5.8.3079) with UID 3f1f62ee9e22ab19 Loading component Classes.so Successfully loaded component Classes (1.5.8.3079) with UID 8cfb3183976da208 Loading component Timers.so Successfully loaded component Timers (1.5.8.3079) with UID 2ad8124c5ea257a3 Loaded 22 component(s) from /home/gs113492/components Executing Server Config... [2026-10-20T21:03:33+0300] [Info] Loading plugin: crashdetect.so [2026-10-20T21:03:33+0300] [Info] CrashDetect plugin 4.19 [2026-10-20T21:03:33+0300] [Info] Loading plugin: mapandreas.so [2026-10-20T21:03:33+0300] [Info] Loading plugin: streamer.so [2026-10-20T21:03:33+0300] [Info] *** Streamer Plugin v2.9.4 by Incognito loaded *** [2026-10-20T21:03:33+0300] [Info] Loading plugin: sscanf.so [2026-10-20T21:03:33+0300] [Info] [2026-10-20T21:03:33+0300] [Info] =============================== [2026-10-20T21:03:33+0300] [Info] sscanf plugin loaded. [2026-10-20T21:03:33+0300] [Info] Version: 2.8.3 [2026-10-20T21:03:33+0300] [Info] (c) 2018 Alex "Y_Less" Cole [2026-10-20T21:03:33+0300] [Info] =============================== [2026-10-20T21:03:33+0300] [Info] Loading plugin: TOTP.so [2026-10-20T21:03:33+0300] [Info] TOTP plugin v1.0.1 by Games loaded. [2026-10-20T21:03:33+0300] [Info] Loading plugin: mysql_static.so [2026-10-20T21:03:33+0300] [Info] >> plugin.mysql: R39-6 successfully loaded. [2026-10-20T21:03:33+0300] [Info] Loading plugin: libpawn_json.so [2026-10-20T21:03:34+0300] [Error] Function not registered: YSF_SetTickRate [2026-10-20T21:03:34+0300] [Error] Function not registered: PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] YSF_SetTickRate [2026-10-20T21:03:34+0300] [Error] File or function is not found [2026-10-20T21:03:34+0300] [Error] Function not registered: PC_RegAlias [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_GetWriteOffset [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_Reset [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_RegHandler [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_Delete [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_New [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_ResetReadPointer [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_SetWriteOffset [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_IgnoreBits [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_Init [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_SendRPC [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_SendPacket [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_WriteValue [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_GetNumberOfBytesUsed [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_ReadValue [2026-10-20T21:03:34+0300] [Error] Function not registered: PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_ReadValue [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetNumberOfBytesUsed [2026-10-20T21:03:34+0300] [Info] [debug] BS_WriteValue [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendPacket [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendRPC [2026-10-20T21:03:34+0300] [Info] [debug] PR_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_IgnoreBits [2026-10-20T21:03:34+0300] [Info] [debug] BS_SetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] BS_ResetReadPointer [2026-10-20T21:03:34+0300] [Info] [debug] BS_New [2026-10-20T21:03:34+0300] [Info] [debug] BS_Delete [2026-10-20T21:03:34+0300] [Info] [debug] PR_RegHandler [2026-10-20T21:03:34+0300] [Info] [debug] BS_Reset [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] PC_RegAlias [2026-10-20T21:03:34+0300] [Error] File or function is not found [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] YSF_SetTickRate [2026-10-20T21:03:34+0300] [Error] File or function is not found [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_ReadValue [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetNumberOfBytesUsed [2026-10-20T21:03:34+0300] [Info] [debug] BS_WriteValue [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendPacket [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendRPC [2026-10-20T21:03:34+0300] [Info] [debug] PR_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_IgnoreBits [2026-10-20T21:03:34+0300] [Info] [debug] BS_SetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] BS_ResetReadPointer [2026-10-20T21:03:34+0300] [Info] [debug] BS_New [2026-10-20T21:03:34+0300] [Info] [debug] BS_Delete [2026-10-20T21:03:34+0300] [Info] [debug] PR_RegHandler [2026-10-20T21:03:34+0300] [Info] [debug] BS_Reset [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] PC_RegAlias [2026-10-20T21:03:34+0300] [Info] Legacy Network started on ***.**.**.***:2717. Помогите пожалуйста