- Ошибка
-
//// GameNameChanger.sma
//
// C:\Users\╨єёырэ\Desktop\╧ЁюуЁрьь√\1.9.0_5263_scripting\GameNameChanger.sma(10) : error 001: expected token: "}", but found "-string-"
//
// 1 Error.
// Could not locate output file compiled\GameNameChanger.amx (compile failed).
//
// Compilation Time: 0,73 sec
// ----------------------------------------
Press enter to exit ...
- ОС
- Linux
- Amx Mod X
-
1.9.0
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.11.0.767-dev
Build date: 03:13:55 Oct 25 2021 (2753)
Build from: https://github.com/dreamstalker/rehlds/commit/471158b
- ReGamedll
-
ReGameDLL version: 5.21.0.540-dev
Build date: 17:33:16 Oct 25 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/b9cccc6
- Версия Metamod
-
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
- Список метамодулей
-
[ 1] AMX Mod X RUN - amxmodx.so v1.9.0.5263 ini Start ANY
[ 2] ReAuthCheck fail load reauthcheck.so v0.1.6 ini Start Never
[ 3] Rechecker RUN - rechecker.so v2.7 ini ANY
[ 4] ReSemiclip RUN - resemiclip.so v2.3.9 ini ANY
[ 5] Reunion RUN - reunion.so v0.1.0.135 ini Start Never
[ 6] VoiceTranscoder RUN - vtc.so v2017RC5 ini ANY
[ 7] WHBlocker RUN - whblocker.so v1.5.697 ini ANY
[ 8] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5263 pl1 ANY
[ 9] CSX RUN - csx_amxx_i386.so v1.9.0.5263 pl1 ANY
[10] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[11] MySQL RUN - mysql_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
- Список плагинов
-
[ 1] Admin Loader v3.5 neygomon admin_loader.am running
[ 2] FreshBans v1.4.5b kanagava fresh_bans.amxx running
[ 3] Admin Chat v1.9.0.5263 AMXX Dev Team adminchat.amxx running
[ 4] Admin Commands v1.9.0.5263 AMXX Dev Team admincmd.amxx running
[ 5] Anti Flood v1.9.0.5263 AMXX Dev Team antiflood.amxx running
[ 6] Commands Menu v1.9.0.5263 AMXX Dev Team cmdmenu.amxx running
[ 7] Info. Messages v1.9.0.5263 AMXX Dev Team imessage.amxx running
[ 8] Menus Front-End v1.9.0.5263 AMXX Dev Team menufront.amxx running
[ 9] Maps Menu v1.9.0.5263 AMXX Dev Team mapsmenu.amxx running
[ 10] NextMap v1.9.0.5263 AMXX Dev Team nextmap.amxx running
[ 11] Nextmap Chooser v1.9.0.5263 AMXX Dev Team mapchooser.amxx running
[ 12] Players Menu v1.9.0.5263 AMXX Dev Team plmenu.amxx running
[ 13] Plugin Menu v1.9.0.5263 AMXX Dev Team pluginmenu.amxx running
[ 14] Restrict Weapons v1.9.0.5263 AMXX Dev Team restmenu.amxx running
[ 15] TimeLeft v1.9.0.5263 AMXX Dev Team timeleft.amxx running
[ 16] Scrolling Message v1.9.0.5263 AMXX Dev Team scrollmsg.amxx running
[ 17] Admin Votes v1.9.0.5263 AMXX Dev Team adminvote.amxx running
[ 18] CS Misc. Stats v1.9.0.5263 AMXX Dev Team miscstats.amxx running
[ 19] CS Stats Logging v1.9.0.5263 AMXX Dev Team stats_logging.a running
- Автор плагина
- mx?!
- Версия плагина
- 1.0
- Исходный код
-
#include <amxmodx>
#include <reapi>
// Частота смены в секундах
const Float:FREQ = 5.0
new const NAMES[][] = {
"ЗАХОДИ К НАМ",
"STEAM VIP"
"NIGHT VIP!"
}
public plugin_init()
{
register_plugin("GameName Changer", "1.0", "mx?!");
set_task(FREQ, "task_Change", .flags = "b");
}
public task_Change() {
static iPtr;
set_member_game(m_GameDesc, NAMES[iPtr]);
if(++iPtr == sizeof(NAMES)) {
iPtr = 0;
}
}
Добрый вечер, помогите исправить?