Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
Rozpoczynaj nowe tematy i odpowiedaj na inne
Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
Dodawaj wydarzenia do kalendarza społecznościowego
Stwórz swój własny profil i zdobywaj nowych znajomych
Witam zrobiłem sobie na codmodzie że 2 perk dostępny jest dla vipa chciałem dodać jak ktoś wpisze perk to wyświetli się men które zrobiłem lecz nie wiem co zrobić zęby podgląd 2 perka może zrobić tylko vip
zrobiłem takie coś lecz jest to zle zrobione więc proszę o pomoc
Spoiler
public PerkMenu(id)
{
new menu = menu_create("\yInfo o perkach", "pperk")
menu_additem(menu, "\d Info Perk \r[1]") //1
menu_additem(menu, "\d Info Perk \r[2]")//2
menu_display(id, menu)
}
public pperk(id,menu,item)
{
if(item == MENU_EXIT)
{
menu_destroy(menu)
return PLUGIN_CONTINUE;
}
menu_display(id, menu)
switch(item)
{
case 0:
{
KomendaOpisPerku(id);
}
case 1:
{
if(!(get_user_flags(id) & ADMIN_LEVEL_H ? KomendaOpisPerku2(id))
{
client_print(id, print_chat, "2 Perk jest tylko dla VIP'ow");
}
}
return PLUGIN_CONTINUE
Witam pomógłby mi ktos bo bo mam ten plugin msg_one i cały czas w tym logu _msg_one.log spamuje mi cos takiego
na serwie mam wgranego codmoda
Spoiler
L 01/01/2014 - 14:32:40: Client 12 not found for ReqState
L 01/01/2014 - 14:32:40: message_begin(1, 65, {0.0, 0.0, 0.0}, 12)
L 01/01/2014 - 14:32:40: message_end()
L 01/01/2014 - 14:32:40: Client 12 not found for ReqState
L 01/01/2014 - 14:32:40: message_begin(1, 65, {0.0, 0.0, 0.0}, 12)
L 01/01/2014 - 14:32:40: message_end()
L 01/01/2014 - 14:32:41: Client 12 not found for ReqState
L 01/01/2014 - 14:32:41: message_begin(1, 65, {0.0, 0.0, 0.0}, 12)
L 01/01/2014 - 14:32:41: message_end()
L 01/01/2014 - 14:32:41: Client 12 not found for ScoreAttrib
L 01/01/2014 - 14:32:41: message_begin(1, 84, {0.0, 0.0, 0.0}, 12)
L 01/01/2014 - 14:32:41: write_byte(1)
L 01/01/2014 - 14:32:41: write_byte(1)
L 01/01/2014 - 14:32:41: message_end()
L 01/01/2014 - 14:33:29: Client 1 not found for ScoreAttrib
L 01/01/2014 - 14:33:29: message_begin(1, 84, {0.0, 0.0, 0.0}, 1)
L 01/01/2014 - 14:33:29: write_byte(1)
L 01/01/2014 - 14:33:29: write_byte(1)
L 01/01/2014 - 14:33:29: message_end()
L 01/01/2014 - 14:33:29: Client 1 not found for CurWeapon
L 01/01/2014 - 14:33:29: message_begin(1, 66, {0.0, 0.0, 0.0}, 1)
L 01/01/2014 - 14:33:29: write_byte(0)
L 01/01/2014 - 14:33:29: write_byte(0)
L 01/01/2014 - 14:33:29: write_byte(0)
L 01/01/2014 - 14:33:29: message_end()
L 01/01/2014 - 14:33:29: Client 1 not found for ScoreAttrib
L 01/01/2014 - 14:33:29: message_begin(1, 84, {0.0, 0.0, 0.0}, 1)
L 01/01/2014 - 14:33:29: write_byte(14)
L 01/01/2014 - 14:33:29: write_byte(1)
L 01/01/2014 - 14:33:29: message_end()
tak wiem że to są kolory rgb tylko ma być 2 kolorowy tak jak na ScreeanShocie bo to co pan napisał to zmieniam kolor całego huda a umnie wygląda to tak
Chce żeby ta u góry nazwa była innym kolorem np żółty i zdrowie też żółtym
L 11/13/2013 - 19:17:52: [amxbans_main.amxx] [AMXBans] Wiadomosc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'I] (de_dust2)','46.29.21.88:27086',0)' at line 1 (1064)
newdiablo.sma(13277) : warning 204: symbol is assigned a value that is never used: "m_ExitPortal"
Header size: 12036 bytes
Code size: 459148 bytes
Data size: 327164 bytes
Stack/heap size: 16384 bytes; max. usage is unknown, due to recursion
Total requirements: 814732 bytes
Witam.
Gdy zmieniam mape, serwer mi kraszuje - wiem , że to przez diablo lecz wiecie może dlaczego? ;d
Skipping reconnect on [DiabloMod] C-AreNa.PL [HLTV], no pvPrivateData
Uploading dump (in-process) [proxy '']
success = no
error: Failed to open/read local data from file/application
Segmentation fault
email debug.log to [email protected]
Sat Feb 23 23:03:54 CET 2013: Server restart in 10 seconds
Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(10)/version(5787)
scandir failed:/data/gustlik1221/219111.cs16/SAVE
scandir failed:/data/gustlik1221/219111.cs16/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 11:30:00 Aug 28 2012 (5787)
STEAM Auth Server
Witam mam problem jak sapmuje zmianami map to serwer sie craschuje mam takie logi
L 02/23/2013 - 23:03:43: "gustlik5> " STEAM USERID validated
Menu item 22 added to Menus Front-End: "AMXBans: Screens" from plugin "AMXBans: Screens"
L 02/23/2013 - 23:03:46: World triggered "Round_Start"
L 02/23/2013 - 23:03:48: "miesny jez4> " entered the game
L 02/23/2013 - 23:03:48: "gustlik5> " entered the game
L 02/23/2013 - 23:03:50: "gustlik5> " joined team "CT"
L 02/23/2013 - 23:03:51: apsmenu.amxx] Cmd: "gustlik5> " changelevel "cs_assault"
L 02/23/2013 - 23:03:53: "miesny jez4> " triggered "time" (time "0:05")
L 02/23/2013 - 23:03:53: "miesny jez4> " triggered "latency" (ping "0")
L 02/23/2013 - 23:03:53: "gustlik5> " triggered "time" (time "0:04")
L 02/23/2013 - 23:03:53: "gustlik5> " triggered "latency" (ping "0")
L 02/23/2013 - 23:03:54: [META] ini: Begin re-reading plugins list: /data/gustlik1221/219111.cs16/cstrike/addons/metamod/plugins.ini
L 02/23/2013 - 23:03:54: [META] ini: Read plugin config for: dproto
L 02/23/2013 - 23:03:54: [META] ini: Read plugin config for: AMX Mod X
L 02/23/2013 - 23:03:54: [META] ini: Finished reading plugins list: /data/gustlik1221/219111.cs16/cstrike/addons/metamod/plugins.ini; Found 2 plugins
L 02/23/2013 - 23:03:54: [META] dll: Updating plugins...
L 02/23/2013 - 23:03:54: [META] dll: Finished updating 10 plugins; kept 2, loaded 0, unloaded 0, reloaded 0, delayed 0
L 02/23/2013 - 23:03:54: "miesny jez4> " disconnected
Skipping reconnect on [DiabloMod] C-AreNa.PL [HLTV], no pvPrivateData
Uploading dump (in-process) [proxy '']
success = no
error: Failed to open/read local data from file/application
Segmentation fault
email debug.log to [email protected]
Sat Feb 23 23:03:54 CET 2013: Server restart in 10 seconds
Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(10)/version(5787)
scandir failed:/data/gustlik1221/219111.cs16/SAVE
scandir failed:/data/gustlik1221/219111.cs16/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 11:30:00 Aug 28 2012 (5787)
STEAM Auth Server
Server logging data to file logs/L0223227.log
L 02/23/2013 - 23:04:04: Log file started (file "logs/L0223227.log") (game "cstrike") (version "48/1.1.2.6/Stdio/5787")
L 02/23/2013 - 23:04:04: Server cvar "sv_aim" = "0"
L 02/23/2013 - 23:04:04: Server cvar "sv_maxrate" = "25000"
L 02/23/2013 - 23:04:04: Server cvar "sv_minrate" = "2500"
Server IP address 31.186.83.241:27341
Witam mam problem jak zmieniam mapę to serwer się zawiesza i się restartuje winą jest diablomod bo jak go wyłącze to jest normalnie a po włączeni dalej to samo ;/ taki cos mam w logach jak sie serwer zatnie
Uploading dump (in-process) [proxy '']
success = no
error: Failed to open/read local data from file/application
Segmentation fault
email debug.log to [email protected]
Sat Feb 23 03:09:29 CET 2013: Server restart in 10 seconds
Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(10)/version(5787)
scandir failed:/data/gustlik1221/219111.cs16/SAVE
scandir failed:/data/gustlik1221/219111.cs16/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 11:30:00 Aug 28 2012 (5787)
STEAM Auth Server
Server logging data to file logs/L0223156.log
L 02/23/2013 - 03:09:39: Log file started (file "logs/L0223156.log") (game "cstrike") (version "48/1.1.2.6/Stdio/5787")