Мне кажется, вы лжете.Искал в инете не нашел
Значит будите без стим бонуса...Всем Привет
у кого есть плагин steam bonus
Искал в инете не нашел
спасибо братан
L 11/23/2017 - 15:25:14: [AMXX] Run time error 10 (plugin "Steam_Bonus.amxx") (native "get_pcvar_num") - debug not enabled!
L 11/23/2017 - 15:25:14: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
пропиши в plugins.ini вот так Steam_Bonus.amxx debug и увидишь ошибку в логах, из за чего так происходит))Ребята и-за чего падает сервер, давно юзал Это бонус , но уже пол года не пользуюсь им , и вот решил опять ..
L 11/23/2017 - 15:25:14: Start of error session.
L 11/23/2017 - 15:25:14: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20171123.log")
L 11/23/2017 - 15:25:14: Invalid CVAR pointer
L 11/23/2017 - 15:25:14: [AMXX] Run time error 10 (plugin "Steam_Bonus.amxx") (native "get_pcvar_num") - debug not enabled!
L 11/23/2017 - 15:25:14: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
____________________________________________________________________________________________________________
Currently loaded plugins:
name version author file status
[ 1] [182] AMXBans RBS 17.10.30 Larte Team & SKA amxbans_rbs.amx running
[ 2] Lite NightMode 1.1 neygomon lite_nightmode. running
[ 3] Mode 2x2 2.5re s1lent mode.amxx running
[ 4] CS Shop 1.1b neygomon cs_shop.amxx running
[ 5] Admin Commands 1.8.3 AMXX Dev Team admincmd.amxx running
[ 6] Slots Reservation 1.8.3 AMXX Dev Team adminslots.amxx running
[ 7] Multi-Lingual System 1.8.3 AMXX Dev Team multilingual.am running
[ 8] Commands Menu 1.8.3-Re AMXX Dev Team cmdmenu.amxx running
[ 9] Players Menu 1.7 neugomon players_menu.am running
[ 10] Plugin Menu 1.8.3 AMXX Dev Team pluginmenu.amxx running
[ 11] Admin Chat 1.8.3 AMXX Dev Team adminchat.amxx running
[ 12] Anti Flood 1.8.3 AMXX Dev Team antiflood.amxx running
[ 13] Admin Votes 1.8.3 AMXX Dev Team adminvote.amxx running
[ 14] TimeLeft 1.8.3-Re AMXX Dev Team timeleft.amxx running
[ 15] Restrict Weapons 1.8.3-Re AMXX Dev Team restmenu.amxx running
[ 16] Pause Plugins 1.8.3 AMXX Dev Team pausecfg.amxx running
[ 17] Stats Configuration 15.07.15 SKAJIbnEJIb & AM statscfg_rbs.am running
[ 18] StatsX RBS 15.07.24 SKAJIbnEJIb & AM statsx_rbs.amxx running
[ 19] Golden AK-47 & M4A1 1.2a neygomon golden_ak_and_m running
[ 20] NameChangeTime 0.0.1 Vaqtincha block_change_ni running
[ 21] RealWorld 2.4 Authors real_world.amxx running
[ 22] [ReAPI] No Reset MOney 0.0.5 Vaqtincha Reset_money.amx running
[ 23] [183] Army Ranks Ultim 17.10.30 SKAJIbnEJIb army_ranks_ulti running
[ 24] Advanced Gag 1.9.0 neygomon amx_gag.amxx running
[ 25] [182] Chat RBS 17.10.30 SKAJIbnEJIb chat_rbs.amxx running
[ 26] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 27] DemoRecoder 1.1 neygomon amx_demorec.amx running
[ 28] AFK Control 1.4.1 [Rnd neygomon afk_control.amx running
[ 29] Admin Free Look 2.0 Jim adminfreelook.a running
[ 30] [183] AC Spectator ESP 17.08.09 SKAJIbnEJIb & Ko ac_esp.amxx running
[ 31] [183] AR Vampire 17.08.22 SKAJIbnEJIb ar_vampire.amxx running
[ 32] Menus Front-End 1.5 untest neugomon menufront_enda. running
[ 33] Weapon Icon 1.2 hoboman313/Zenix weapon_icon.amx running
[ 34] Win Messages 1.0 neygomon win_messages.am running
[ 35] Ping Control 1.31 neygomon Ping_Control.am running
[ 36] Player Votes 1.0 neugomon player_votes.am running
[ 37] New Plugin 1.0 Stimul No_damage.amxx running
[ 38] resetscore(ReAPI) 1.0 Phantom resetscore.amxx running
[ 39] CsStats MySQL 15.07.15 SKAJIbnEJIb csstats_mysql.a running
[ 40] [ReAPI] Lite TeamBalan 2.3 neugomon lite_balancer_2 running
[ 41] Descriptive 'Fire in t 0.1 VEN GrenadeInfo.amx running
[ 42] Bomb Count Down HUD/Vo 0.2 RuS Mawe4ka117 bomb_hud.amxx running
[ 43] Custom Models 1.3.2 neugomon custom_models.a running
[ 44] Silly C4 1.1 Cheap_Suit sillyc4.amxx running
[ 45] Screen Player 15.09.25 SKAJIbnEJIb screen_player.a running
[ 46] Top Award RBS 15.07.15 SKAJIbnEJIb topaward_rbs.am running
[ 47] Money HUD Effect 1.15 Sh!nE / Safety1s money_hud_effec running
[ 48] unknown unknown unknown gamename_change running
[ 49] HUD Message 1.5 neygomon hud_message.amx running
[ 50] [ReAPI] No Team Flash 0.0.2 Vaqtincha no_team_flash.a running
[ 51] SpecList 1.4 pUzzlik spectlist.amxx running
[ 52] Simple Respawn 0.6b fl0wer / Safety1 simple_respawn. running
[ 53] Lite MapChooser 2.6 neygomon CSDMchooser.amx running
[ 54] NoWEapon 2.6 Lev NoWEapon.amxx running
[ 55] Maps Menu 1.4.1 neugomon mapsmenuCSDM.am running
55 plugins, 55 running
______________________________________________________________________________________________________________
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] VoiceTranscoder RUN - VoiceTranscoder. v2017RC3 ini ANY ANY
[ 2] AMX Mod X RUN - amxmodx_mm_i386. v1.8.3-R ini Start ANY
[ 3] Reunion RUN - reunion_mm_i386. v0.1.75 ini Start Never
[ 4] ReSemiclip RUN - resemiclip_mm_i3 v2.3.9 ini Chlvl ANY
[ 5] Rechecker RUN - rechecker_mm_i38 v2.4 ini Chlvl ANY
[ 6] Fun RUN - fun_amxx_i386.so v1.8.3-d pl2 ANY ANY
[ 7] Engine RUN - engine_amxx_i386 v1.8.3-d pl2 ANY ANY
[ 8] FakeMeta RUN - fakemeta_amxx_i3 v1.8.3-d pl2 ANY ANY
[ 9] Ham Sandwich RUN - hamsandwich_amxx v1.8.3-d pl2 ANY ANY
[10] CStrike RUN - cstrike_amxx_i38 v1.8.3-R pl2 ANY ANY
[11] ReAPI RUN - reapi_amxx_i386. v5.1.0.1 pl2 ANY Never
[12] CSX RUN - csx_amxx_i386.so v1.8.3-R pl2 ANY ANY
[13] MySQL RUN - mysql_amxx_i386. v1.8.3-d pl2 ANY ANY
13 plugins, 13 running
_____________________________________________________________________________________________________________________|
Список загруженных модулей:
Наименовани верси Автор Состо
Fun 1.8.3-dev AMX Mod X Dev Team running
Engine 1.8.3-dev AMX Mod X Dev Team running
FakeMeta 1.8.3-dev AMX Mod X Dev Team running
GeoIP 1.8.3-dev AMX Mod X Dev Team running
nVault 1.8.3-dev AMX Mod X Dev Team running
Ham Sandwich 1.8.3-dev AMX Mod X Dev Team running
CStrike 1.8.3-Re AMX Mod X Dev Team running
ReAPI 5.1.0.112- Asmodai & s1lent running
CSX 1.8.3-Re AMX Mod X Dev Team running
MySQL 1.8.3-dev AMX Mod X Dev Team running
Sockets 1.8.3-dev HLSW Dev Team running
RegEx 1.8.3-dev AMX Mod X Dev Team running
Sockets2 1.8.1.3746 HLSW Dev Team running
Всего 13 модулей
/*
Плагин даёт бонусные деньги в начале раунда игрокам, использующие steam-версию Counter-Strike.
Бонусы начинают начисляться на второй раунд после смены карты или рестарта.
Квар для изменения размера бонуса: amx_steam_bonus 3000
Для того, чтобы использовать бонусы вместе с плагином unlimited_money (Money more than 16000),
просто удалите перед строкой «#define MONEY_UL 1» два слэша.
Bonus for Steam by Danakt Frost
http://danakt.ru/
*/
#include <amxmodx>
#include <colorchat>
#tryinclude <updatehint>
//#include <dhudmessage>
// #define MONEY_UL 1
#if defined MONEY_UL
#include <money_ul>
#else
#include <cstrike>
#endif
new bonus, round=-1;
public plugin_init(){
register_plugin("Bonus for Steam", "0.1", "Mr. Frost");
register_message(get_user_msgid("TextMsg"), "message_TextMsg")
register_event("HLTV", "round_start", "a", "1=0", "2=0");
bonus=register_cvar("amx_steam_bonus","500");
TeamInfo = get_user_msgid("TeamInfo");
SayText = get_user_msgid("SayText")
}
public message_TextMsg(msg_id, msg_dest, msg_entity){
static buffer[32]
get_msg_arg_string(2, buffer, 31)
if(equal(buffer, "#Game_Commencing")||equal(buffer, "#Game_will_restart_in")){
round=-1;
}
}
public round_start()
if(round>-1)
{
new it=0, ict=0, szSteamT[1024], szSteamCT[1024], lent, lenct;
lent=format(szSteamT, 1023, "");
lenct=format(szSteamCT, 1023, "");
for(new id=1;id<32;id++)
{
new szName[32];
if(is_user_steam(id)&&(get_user_team(id)==1||get_user_team(id)==2))
{
if(get_user_team(id)==1)
{
get_user_name(id, szName, 31);
if(it>0) lent+=format(szSteamT[lent], 1023-lent, "^1, ^3");
lent+=format(szSteamT[lent], 1023-lent, szName);
it++;
}
else if(get_user_team(id)==2)
{
get_user_name(id, szName, 31);
if(ict>0) lenct+=format(szSteamCT[lenct], 1023-lenct, "^1, ^3");
lenct+=format(szSteamCT[lenct], 1023-lenct, szName);
ict++;
}
}
}
70 if(it||ict)ColorChat(0, NORMAL, "Бонус за STEAM в размере ^4$%d ^1получили игроки:", get_pcvar_num(bonus));
71 if(it) ColorChat(0, RED, "Террористы: %s", szSteamT);
72 if(ict) ColorChat(0, BLUE, "Контр-террористы: %s", szSteamCT);
}
else round++;
stock bool:is_user_steam(id){
server_cmd("dp_clientinfo %d", id)
server_exec();
return get_pcvar_num(get_cvar_pointer("dp_r_id_provider"))==2?true:false;
}
74 if(ColorChange)
75 {
76 Team_Info(index, MSG_Type, TeamName[team]);
77 }