Question

new g_server_radio[6][E_SERVER_RADIO_STRUCT] =
{
    {
        "Russia Radio",
        "http://rusradio.hostingradio.ru/rusradio128.mp3"
    },
    {
        "Radio Europa Plus",
        "http://ep256.streamr.ru"
    },
    {
        "Radio Hit FM",
        "http://hitfm.hostingradio.ru/hitfm128.mp3"
    },
    {
        "Radio Record",
        "https://mp3lord.net/uploads/files/2022-01/morgenshtern-pochemu_tetamix.org.mp3"
    },
    {
        "Radio D-FM",
        "http://dfm.hostingradio.ru/dfm128.mp3"
    },
    {
        "Comedy Radio",
        "http://ic7.101.ru:8000/s60"
    }
};

ошибка в павно
 

C:\Users\Admin\Desktop\Real Russia (dorabotka)\gamemodes\new.pwn(4441) : warning 228: length of initialler exceeds size of the enum field
C:\Users\Admin\Desktop\Real Russia (dorabotka)\gamemodes\new.pwn(4442) : error 018: initialization data exceeds declared size
C:\Users\Admin\Desktop\Real Russia (dorabotka)\gamemodes\new.pwn(34708) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\Real Russia (dorabotka)\gamemodes\new.pwn(34709) : warning 213: tag mismatch
C:\Users\Admin\Desktop\Real Russia (dorabotka)\gamemodes\new.pwn(41478) : loose indentation
C:\Users\Admin\Desktop\Real Russia (dorabotka)\gamemodes\new.pwn(41480) : loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2017, ITB CompuPhase


1 Error.


 

Share this post


Link to post
Share on other sites

4 answers to this question

  • 1

@Kirill_Babkin0 

enum E_SERVER_RADIO_STRUCT
{
    SR_CHANNEL_NAME[32],
    SR_CHANNEL_URL[79]
};

 

Share this post


Link to post
Share on other sites
  • 0

Покажите E_SERVER_RADIO_STRUCT.

Share this post


Link to post
Share on other sites
  • 0

@iZiZ 

// ------------------------------------------
enum E_SERVER_RADIO_STRUCT
{
    SR_CHANNEL_NAME[32],
    SR_CHANNEL_URL[64]
};

// ------------------------------------------

 

Share this post


Link to post
Share on other sites
  • 0

@iZiZ Спасибо, ошибок нет.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Kutuzov
      By Kutuzov
      Всем привет, хотелось бы спросить у тех, кто разбирается в PluginSDK.
      Какие есть источники, руководства, документации о PluginSDK?
      Я пока что ничего нормального не нахожу.
      Заранее спасибо