- Окт
- 12
- 0
Пользователь
Здравствуйте помогите пожалуйста исправить ошибку в скрипте
static Diver_ShowBoatMenu(playerid)
{
new dialog[512];
new line[128];
format(dialog, sizeof(dialog), "{FF0000}Гидроцикл\t{FFFFFF}%d руб\t{999999}Скоростной\n", DIVER_BOAT_PRICE_JETSKI);
format(line, (line), "{FF0000}Моторная лодка\t{FFFFFF}%d руб\t{999999}Надёжный\n", DIVER_BOAT_PRICE_MOTOR);
strcat(dialog, line);
format(line, (line), "{FF0000}Speedy Yacht\t{FFFFFF}%d руб\t{999999}Комфортный\n", DIVER_BOAT_PRICE_SPEEDY);
strcat(dialog, line);
format(line, (line), "{FF0000}Marine Yacht\t{FFFFFF}%d руб\t{999999}Премиальный\n", DIVER_BOAT_PRICE_MARINE);
strcat(dialog, line);
format(line, (line), "{FF0000}Sea Yacht\t{FFFFFF}%d руб\t{999999}Роскошный\n", DIVER_BOAT_PRICE_SEA);
strcat(dialog, line);
format(line, (line), "{FF0000}Ocean Yacht\t{FFFFFF}%d руб\t{999999}Элитный", DIVER_BOAT_PRICE_OCEAN);
strcat(dialog, line);
ShowPlayerDialog(playerid, DIALOG_DIVER_RENT_BOAT, DIALOG_STYLE_LIST, "{FF5252}Выберите тип лодки", dialog, "Арендовать", "Отмена");
}
ошибки
../gamemodes/vodo.pwn(353) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(354) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(355) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(356) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(357) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(358) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(359) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(360) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(361) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(362) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(363) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(387) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(387) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(388) : error 035: argument type mismatch (argument 2)
static Diver_ShowBoatMenu(playerid)
{
new dialog[512];
new line[128];
format(dialog, sizeof(dialog), "{FF0000}Гидроцикл\t{FFFFFF}%d руб\t{999999}Скоростной\n", DIVER_BOAT_PRICE_JETSKI);
format(line, (line), "{FF0000}Моторная лодка\t{FFFFFF}%d руб\t{999999}Надёжный\n", DIVER_BOAT_PRICE_MOTOR);
strcat(dialog, line);
format(line, (line), "{FF0000}Speedy Yacht\t{FFFFFF}%d руб\t{999999}Комфортный\n", DIVER_BOAT_PRICE_SPEEDY);
strcat(dialog, line);
format(line, (line), "{FF0000}Marine Yacht\t{FFFFFF}%d руб\t{999999}Премиальный\n", DIVER_BOAT_PRICE_MARINE);
strcat(dialog, line);
format(line, (line), "{FF0000}Sea Yacht\t{FFFFFF}%d руб\t{999999}Роскошный\n", DIVER_BOAT_PRICE_SEA);
strcat(dialog, line);
format(line, (line), "{FF0000}Ocean Yacht\t{FFFFFF}%d руб\t{999999}Элитный", DIVER_BOAT_PRICE_OCEAN);
strcat(dialog, line);
ShowPlayerDialog(playerid, DIALOG_DIVER_RENT_BOAT, DIALOG_STYLE_LIST, "{FF5252}Выберите тип лодки", dialog, "Арендовать", "Отмена");
}
ошибки
../gamemodes/vodo.pwn(353) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(354) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(355) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(356) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(357) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(358) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(359) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(360) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(361) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(362) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(363) : error 035: argument type mismatch (argument 2)
../gamemodes/vodo.pwn(387) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(387) : error 035: argument type mismatch (argument 1)
../gamemodes/vodo.pwn(388) : error 035: argument type mismatch (argument 2)