- Ошибка
-
Ошибку не пишет логи молчат(
- ОС
- Linux
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 11:30:00 Aug 28 2012 (5787)
- ReGamedll
-
Нет
- Список метамодулей
-
[ 1] LocalizeBug Fix RUN - localizebugfix_m v2.4 ini Start Never
[ 2] dproto_EF RUN - dproto_i386.so v0.9.391 ini Start Never
[ 3] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2 ini Start ANY
[ 4] VoiceTranscoder RUN - VoiceTranscoder. v2017RC3 ini ANY ANY
[ 5] ProcessCmds RUN - processcmds_mm_i v1.1.3 ini Start Never
[ 6] Fun RUN - fun_amxx_i386.so v1.8.2 pl3 ANY ANY
[ 7] CStrike RUN - cstrike_amxx_i38 v1.8.2-d pl3 ANY ANY
[ 8] CSX RUN - csx_amxx_i386.so v1.8.2 pl3 ANY ANY
[ 9] Engine RUN - engine_amxx_i386 v1.8.2 pl3 ANY ANY
[10] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2 pl3 ANY ANY
[11] MySQL RUN - mysql_amxx_i386. v1.8.2 pl3 ANY ANY
[12] Ham Sandwich RUN - hamsandwich_amxx v1.8.2 pl3 ANY ANY
- Список плагинов
-
[ 1] Anti Flood 1.8.2 AMXX Dev Team antiflood.amxx running
[ 2] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running
[ 3] Slots Reservation 1.8.2 AMXX Dev Team adminslots.amxx running
[ 4] Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running
[ 5] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx running
[ 6] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running
[ 7] Info. Messages 1.8.2 AMXX Dev Team imessage.amxx running
[ 8] Nextmap Chooser 1.8.2 AMXX Dev Team mapchooser.amxx running
[ 9] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running
[ 10] Menus Front-End 1.8.2 AMXX Dev Team menufront.amxx running
[ 11] CS Misc. Stats 1.8.2 AMXX Dev Team miscstats.amxx running
[ 12] Multi-Lingual System 1.8.2 AMXX Dev Team multilingual.am running
[ 13] NextMap 1.8.2 AMXX Dev Team nextmap.amxx running
[ 14] Pause Plugins 1.8.2 AMXX Dev Team pausecfg.amxx running
[ 15] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running
[ 16] Restrict Weapons 1.8.2 AMXX Dev Team restmenu.amxx running
[ 17] Scrolling Message 1.8.2 AMXX Dev Team scrollmsg.amxx running
[ 18] CS Stats Logging 1.8.2 AMXX Dev Team stats_logging.a running
[ 19] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running
[ 20] StatsX 1.8.2 AMXX Dev Team statsx.amxx running
[ 21] Teleport Menu 1.8.2 AMXX Dev Team telemenu.amxx running
[ 22] TimeLeft 1.8.2 AMXX Dev Team timeleft.amxx running
[ 23] AMX Mod Compat Engine 1.76.rc4 AMXX Dev Team amxmod_compat.a running
[ 24] Admin Base (SQL) 1.8.2 AMXX Dev Team admin_sql.amxx running
[ 25] Fix AutoBuy Bug 1.4 PomanoB / UFPS.T autobuyfix.amxx running
[ 26] Admin Base 1.8.2 AMXX Dev Team admin.amxx running
[ 27] Restart 2.0 Alka SayRestart.amxx running
[ 28] Equipment Flood Fix 1.4 Asmodai & UFPS.T equipment_flood running
[ 29] Lite Translit 2.5.7b/11 neygomon lite_translit.a running
[ 30] UnPrecacher 0.1 Proo.Noob unprecacher_2.a running
[ 31] Fix fast download to r 0.0.3 PomanoB \ Bos93 fastdl.amxx running
[ 32] Zombie Plague 4.3 MeRcyLeZZ zombie_plague40 debug
[ 33] [ZP] Sub Plugin: Ultim 1.1 93()|29!/<, Rand zp_sub_bank.amx running
[ 34] [ZP] Class Smoker 1.3ml 4eRT zp_class_smoker running
[ 35] [ZP] Zombie Class: Hea 0.1 WPMG Team cso_class_deimo running
[ 36] DJB Zombie Class Banch 1.0 Csoldjb zombee_bashe.am running
[ 37] [ZP] Zombie Class: Reg 1.3 inf cso_class_hunte running
[ 38] [ZP] Heavy 1.0 inf cso_class_heavy running
[ 39] [ZP] Zombie Class: Rev 1.0 =), LARS-BLOODLI cso_class_reven running
[ 40] [ZP] Zombie Class: Poi 0.1 =), LARS-BLOODLI cso_class_reven running
[ 41] Revenant Boss [REMAKE] 3.0 inf cso_class_reven running
[ 42] [ZP] Extra: Anti-Infec 1.0 MeRcyLeZZ cso_extra_armor running
[ 43] [ZP] Extra Item: Jump 1.0 Opo4uMapy cso_extra_jump_ running
[ 44] [ZP] LaserMine 2.8.1 SandStriker / Sh cso_extra_laser running
[ 45] [ZP] Extra Item: No Re 0.1.0 fezh cso_extra_no_re running
[ 46] [ZP] Extra: Dual Deagl 1.0 LARS-DAY[BR]EAKE cso_extra_ddeag running
[ 47] [ZP] Extra: Water Pist 1.0 Crock / =) (Popr cso_extra_vulca running
[ 48] [ZP] Extra: Water Pist 1.0 Crock / =) (Popr cso_extra_dinfi running
[ 49] [ZP] Extra: TAR-21 1.0 Crock / =) (Popr cso_extra_akm_s running
[ 50] [ZP] Extra: TAR-21 1.0 Crock / =) (Popr cso_extra_akmxm running
[ 51] [ZP] Extra: PKM Total 1.0 Crock / =) (Popr cso_extra_mg36x running
[ 52] [ZP] Extra: Blaster [S 1.0 Crock / =) (Popr azp_weapon_sfgu running
[ 53] [ZP] Extra: TMP Dragon 1.0 Crock / =) (Popr cso_extra_tmp_x running
[ 54] [ZP] Extra: Dual MP7A1 1.0 LARS-DAY[BR]EAKE cso_extra_dualU running
[ 55] Dual Kriss Super Vecto 1.0 Overkill cso_extra_skull running
[ 56] [ZP] Extra: SKULL5 1.0 Crock / =) (Popr cso_extra_m16cu running
[ 57] VSK-94 1.0 Crock/Overkill cso_extra_vsk94 running
[ 58] [ZP] Extra: PKM Total 1.0 Crock / =) (Popr cso_extra_m60e4 running
[ 59] [ZP] Extra: HK23 1.0 Crock / =) (Popr cso_extra_turbu running
[ 60] [ZP] Extra: M134 EX 1.0 LARS-DAY[BR]EAKE cso_extra_m134. running
[ 61] [ZP] Weapon: Janus-7 X 1.0 Daun cso_extra_janus running
[ 62] [ZP] Multi Jump 1.0 inf multi_jump.amxx running
[ 63] vip menu ip menu p menu vip_menu.amxx running
[ 64] admin menu dmin menu min menu admin_menu.amxx running
[ 65] boss menu oss menu ss menu boss_menu.amxx running
[ 66] buff menu uff menu ff menu buff_menu.amxx running
[ 67] menu lasermine enu laserm nu lasermine menu_lasermine. running
[ 68] boss Hook 1.0 inf buff_hook.amxx running
[ 69] MG Grab 1.0 Nickron owner_grab.amxx running
[ 70] [ZP] Extra Item: AK47 3.0 4e/l vip_ak47.amxx running
[ 71] VSK-94 1.0 Crock/Overkill vip_vsk94.amxx running
[ 72] [CSO] Weapon: Buff M4A 1.0 inf vip_buffm4_gold running
[ 73] unknown unknown unknown vip_buffak_gold running
[ 74] VSK-94 1.0 Crock/Overkill admin_vsk94_tan running
[ 75] [ZP] Weapon: Crow Bolt 1.0 inf admin_crow_bolt running
[ 76] [ZP] Extra: Leader ak4 1.0 Crock / =) (Popr admin_ak47_ligh running
[ 77] [ZP] Extra: Jack Hamme 1.0 inf admin_mk3a1se.a running
[ 78] [CSO] M4A1 Dark Knight 1.0 || CLO AsepKhairulAnam@ buff_buffm4.amx running
[ 79] unknown unknown unknown buff_buffak.amx running
[ 80] [CSO] Weapon: Buff Sg5 1.0 inf buff_buffsg.amx running
[ 81] [CSO] RailGun 1.0 inf buff_railgun.am running
[ 82] UT Style Floating Weap 2.0 GHW_Chronic ghw_weapons.amx running
[ 83] human pain 1.2 TalRasha, Remake human_pain.amxx running
[ 84] Weapon Model + Sound R 1.2 GHW_Chronic gh_weapon_rep.a running
[ 85] [ZP] Server Addon: Lev 3.2 Re.Act!ve zp_level_system running
[ 86] Worms Presents Style 0.7 Psycrow next21_presents running
[ 87] [ZP] Kill Rewards 1.0 Doomsday zp_kill_reward. running
[ 88] Galaxy 2016 Ult_Nut gameplay_snow_2 running
[ 89] [ZP] AmmoChange 2.0 inf ammo_change.amx running
[ 90] PLUGIN VERSION AUTHOR cam.amxx running
[ 91] Fix AutoBuy Bug 1.4 PomanoB / UFPS.T autobuy_fix.amx running
[ 92] Plus in nick fix 0.2 Flash plus_in_nick_fi running
[ 93] Remove Map Weapons 0.1 Safety1st remove_map_weap running
[ 94] Amx Last Round 1.0 Cs-StrikeS.Moy.S amx_last_round. running
[ 95] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 96] inf 1.0 Sound Connected joinserver.amxx running
[ 97] AmxModMenu 1.0 inf amxmodmenu.amxx running
[ 98] AMXX Gag 1.3 xPaw & Exolent gagmenu.amxx running
[ 99] [ZP] Donate Ammo Packs 1.0 r1laX , PomanoB donate_ap.amxx running
[100] [ZP] Knifes: IIo3uTuBH 1.0 Edition by inf zp_addon_knife. running
[101] [ZP] Win HUD. 1.0 =) azp_cso_winhud. running
[102] KH_HEALTH 1.0 Kulogram kh_health.amxx running
[103] Blue Fade 0.1 Stimul blue_fade.amxx running
[104] unknown unknown unknown parachute.amxx running
[105] Подарки 0.1 WPMG Team zp_addon_time_p running
[106] No Survivor Recoil v1.0 Stone/Mog zp_no_survivor_ running
[107] [Respawn Menu] Only Ad 1.0 Reega! respawn_menu_ad running
[108] menu privilegij enu privil nu privilegij menu_privilegij running
[109] moi kobinet oi kobinet i kobinet my_kabinet.amxx running
[110] say /vip 1.1 Pa1n buy_vip.amxx running
[111] say /admin 1.1 Pa1n buy_admin.amxx running
[112] say /boss 1.1 Pa1n buy_boss.amxx running
[113] say /buff 1.1 Pa1n buy_buff.amxx running
[114] Admin Check 1.51 OneEyed admin_check.amx running
- Исходный код
-
#include <amxmodx>
#include <hamsandwich>
#include <nvault>
#include <amxmisc>
#define PLUGIN "Ranks"
#define VERSION "1.1"
#define AUTHOR "underwoker"
new gPlayerRank[ 33 ]
new gPlayerPoints[ 33 ]
new gAuthId[ 33 ][ 40 ]
new gVault
new gpCvarEnable, gpCvarPrivateStart, gpCvarPrivateEnd, gpCvarCorporalStart, gpCvarCorporalEnd, gpCvarSergeantStart, gpCvarSergeantEnd,
gpCvarSergeantMajorStart, gpCvarSergeantMajorEnd, gpCvarOfficerCadetStart, gpCvarOfficerCadetEnd,
gpCvar2ndLieutenantStart, gpCvar2ndLieutenantEnd, gpCvarLieutenantStart, gpCvarLieutenantEnd, gpCvarCaptainStart, gpCvarCaptainEnd,
gpCvarMajorStart, gpCvarMajorEnd, gpCvarLtColonelStart, gpCvarLtColonelEnd, gpCvarColonelStart, gpCvarColonelEnd,
gpCvarBrigadierStart, gpCvarBrigadierEnd, gpCvarGeneralStart, gpCvarGeneralEnd, gpCvarKillPoints
enum _:Ranks
{
RANK_FIELD_MARSHAL,
RANK_GENERAL,
RANK_BRIGADIER,
RANK_COLONEL,
RANK_LT_COLONEL,
RANK_MAJOR,
RANK_CAPTAIN,
RANK_LIEUTENANT,
RANK_2ND_LIEUTENANT,
RANK_OFFICER_CADET,
RANK_SERGEANT_MAJOR,
RANK_SERGEANT,
RANK_CORPORAL,
RANK_PRIVATE
}
new RankDescription[ Ranks ][] =
{
"Залупа носатая",
"Подзалупный творог",
"Плакса",
"Параноик",
"Яйцеслав",
"Мясник",
"Делопуз",
"Психопат",
"Маньячела",
"Хитман",
"Киллер",
"Яйцекрут",
"Бандит",
"Тони-Мантана"
}
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam( Ham_Spawn, "player", "fw_spawn" )
register_event( "DeathMsg", "fw_death", "a", "1>0" )
register_cvar( "sv_rank_mod", VERSION, FCVAR_SERVER|FCVAR_SPONLY )
gpCvarEnable = register_cvar( "rank_enable", "1" )
gpCvarKillPoints = register_cvar( "rank_killpoints", "1" )
gpCvarPrivateStart = register_cvar( "rank_private_start", "1" )
gpCvarPrivateEnd = register_cvar( "rank_private_end", "10" )
gpCvarCorporalStart = register_cvar( "rank_corporal_start", "11" )
gpCvarCorporalEnd = register_cvar( "rank_corporal_end", "20" )
gpCvarSergeantStart = register_cvar( "rank_sergeant_start", "21" )
gpCvarSergeantEnd = register_cvar( "rank_sergeant_end", "33" )
gpCvarSergeantMajorStart = register_cvar( "rank_sergeantmajor_start", "34" )
gpCvarSergeantMajorEnd = register_cvar( "rank_sergeantmajor_end", "50" )
gpCvarOfficerCadetStart = register_cvar( "rank_officercadet_start", "51" )
gpCvarOfficerCadetEnd = register_cvar( "rank_officercadet_end", "65" )
gpCvar2ndLieutenantStart = register_cvar( "rank_2ndlieutenant_start", "66" )
gpCvar2ndLieutenantEnd = register_cvar( "rank_2ndlieutenant_end", "80" )
gpCvarLieutenantStart = register_cvar( "rank_lieutenant_start", "81" )
gpCvarLieutenantEnd = register_cvar( "rank_lieutenant_end", "90" )
gpCvarCaptainStart = register_cvar( "rank_captain_start", "91" )
gpCvarCaptainEnd = register_cvar( "rank_captain_end", "101" )
gpCvarMajorStart = register_cvar( "rank_major_start", "102" )
gpCvarMajorEnd = register_cvar( "rank_major_end", "130" )
gpCvarLtColonelStart = register_cvar( "rank_ltcolonel_start", "131" )
gpCvarLtColonelEnd = register_cvar( "rank_ltcolonel_end", "150" )
gpCvarColonelStart = register_cvar( "rank_colonel_start", "151" )
gpCvarColonelEnd = register_cvar( "rank_colonel_end", "170" )
gpCvarBrigadierStart = register_cvar( "rank_brigadier_start", "171" )
gpCvarBrigadierEnd = register_cvar( "rank_brigadier_end", "190" )
gpCvarGeneralStart = register_cvar( "rank_general_start", "191" )
gpCvarGeneralEnd = register_cvar( "rank_general_end", "200" )
gVault = nvault_open( "RANK_MOD" )
}
public plugin_cfg()
{
if( get_pcvar_num( gpCvarEnable ) )
{
new configsDir[ 32 ],file[ 192 ];
get_configsdir( configsDir, sizeof configsDir - 1 );
formatex( file, sizeof file - 1,"%s/rank.cfg", configsDir );
if( !file_exists( file) )
{
server_print( "* File %s doesn't exist! *", file );
server_print( "* Creating a default config file named %s *", file )
write_file( file, "// Rank Mod" )
write_file( file, "" )
write_file( file, "// Enables/Disables the plugin" )
write_file( file, "rank_enable 1" )
write_file( file, "" )
write_file( file, "// How many points for a kill" )
write_file( file, "rank_killerpoints 1" )
write_file( file, "" )
write_file( file, "// How many points for ^"Private^" starting and ending." )
write_file( file, "rank_private_start 1" )
write_file( file, "rank_private_end 10" )
write_file( file, "" )
write_file( file, "// How many points for ^"Corporal^" starting and ending." )
write_file( file, "rank_corporal_start 11" )
write_file( file, "rank_corporal_end 20" )
write_file( file, "" )
write_file( file, "// How many points for ^"Sergeant^" starting and ending." )
write_file( file, "rank_sergeant_start 21" )
write_file( file, "rank_sergeant_end 40" )
write_file( file, "" )
write_file( file, "// How many points for ^"Sergeant Major^" starting and ending." )
write_file( file, "rank_sergeantmajor_start 41" )
write_file( file, "rank_sergeantmajor_end 70" )
write_file( file, "" )
write_file( file, "// How many points for ^"Officer Cadet^" starting and ending." )
write_file( file, "rank_officercadet_start 71" )
write_file( file, "rank_officercadet_end 110" )
write_file( file, "" )
write_file( file, "// How many points for ^"2nd. Lieutenant^" starting and ending." )
write_file( file, "rank_2ndlieutenant_start 111" )
write_file( file, "rank_2ndlieutenant_end 150" )
write_file( file, "" )
write_file( file, "// How many points for ^"Lieutenant^" starting and ending." )
write_file( file, "rank_lieutenant_start 151" )
write_file( file, "rank_lieutenant_end 200" )
write_file( file, "" )
write_file( file, "// How many points for ^"Captain^" starting and ending." )
write_file( file, "rank_captain_start 201" )
write_file( file, "rank_captain_end 320" )
write_file( file, "" )
write_file( file, "// How many points for ^"Major^" starting and ending." )
write_file( file, "rank_major_start 321" )
write_file( file, "rank_major_end 400" )
write_file( file, "" )
write_file( file, "// How many points for ^"Lt. Colonel^" starting and ending." )
write_file( file, "rank_ltcolonel_start 401" )
write_file( file, "rank_ltcolonel_end 500" )
write_file( file, "" )
write_file( file, "// How many points for ^"Colonel^" starting and ending." )
write_file( file, "rank_colonel_start 501" )
write_file( file, "rank_colonel_end 650" )
write_file( file, "" )
write_file( file, "// How many points for ^"Brigadier^" starting and ending." )
write_file( file, "rank_brigadier_start 651" )
write_file( file, "rank_brigadier_end 780" )
write_file( file, "" )
write_file( file, "// How many points for ^"General^" starting and ending." )
write_file( file, "rank_general_start 781" )
write_file( file, "rank_general_end 1000" )
write_file( file, "" )
write_file( file, "// ^"Field Marshal^" Is the best rank, so they is him if they got more than ^"General^"" )
}
server_cmd( "exec %s", file )
}
}
public client_putinserver( id )
{
if( get_pcvar_num( gpCvarEnable ) )
{
get_user_authid ( id, gAuthId[ id ], 39 )
ps_load_points( id )
}
}
public client_disconnect( id )
{
if( get_pcvar_num( gpCvarEnable ) )
{
remove_task( id )
ps_save_points( id )
gPlayerPoints[ id ] = 0
gPlayerRank[ id ] = 0
gAuthId[ id ][ 0 ] = 0
}
}
public plugin_end ( )
{
if( get_pcvar_num( gpCvarEnable ) )
{
nvault_close ( gVault )
}
}
ps_load_points ( id )
{
if( get_pcvar_num( gpCvarEnable ) )
{
static szData[ 7 ], iTimeStamp
// Look up players authid, points and timestamp.
if ( nvault_lookup ( gVault , gAuthId[ id ] , szData , 6 , iTimeStamp ) )
{
gPlayerPoints[ id ] = str_to_num ( szData )
}
}
}
ps_save_points ( id )
{
if( get_pcvar_num( gpCvarEnable ) )
{
static szData[ 7 ]
// Format the players points in to szData.
num_to_str( gPlayerPoints[ id ] , szData , 6 )
// Save players authid with the points.
nvault_set ( gVault, gAuthId[ id ] , szData )
}
}
public fw_spawn( id )
{
if( get_pcvar_num( gpCvarEnable ) )
{
new iPoints = gPlayerPoints[ id ]
if( !iPoints )
{
client_print( id, print_chat, "You don't have any points to rank up, go get some" )
}
else if ( get_pcvar_num( gpCvarPrivateStart ) <= iPoints <= get_pcvar_num( gpCvarPrivateEnd ) )
{
gPlayerRank[ id ] = RANK_PRIVATE
}
else if ( get_pcvar_num( gpCvarCorporalStart ) <= iPoints <= get_pcvar_num( gpCvarCorporalEnd ) )
{
gPlayerRank[ id ] = RANK_CORPORAL
}
else if ( get_pcvar_num( gpCvarSergeantStart ) <= iPoints <= get_pcvar_num( gpCvarSergeantEnd ) )
{
gPlayerRank[ id ] = RANK_SERGEANT
}
else if ( get_pcvar_num( gpCvarSergeantMajorStart ) <= iPoints <= get_pcvar_num( gpCvarSergeantMajorEnd ) )
{
gPlayerRank[ id ] = RANK_SERGEANT_MAJOR
}
else if ( get_pcvar_num( gpCvarOfficerCadetStart ) <= iPoints <= get_pcvar_num( gpCvarOfficerCadetEnd ) )
{
gPlayerRank[ id ] = RANK_OFFICER_CADET
}
else if ( get_pcvar_num( gpCvar2ndLieutenantStart ) <= iPoints <= get_pcvar_num( gpCvar2ndLieutenantEnd ) )
{
gPlayerRank[ id ] = RANK_2ND_LIEUTENANT
}
else if ( get_pcvar_num( gpCvarLieutenantStart ) <= iPoints <= get_pcvar_num( gpCvarLieutenantEnd ) )
{
gPlayerRank[ id ] = RANK_LIEUTENANT
}
else if ( get_pcvar_num( gpCvarCaptainStart ) <= iPoints <= get_pcvar_num( gpCvarCaptainEnd ) )
{
gPlayerRank[ id ] = RANK_CAPTAIN
}
else if ( get_pcvar_num( gpCvarMajorStart ) <= iPoints <= get_pcvar_num( gpCvarMajorEnd ) )
{
gPlayerRank[ id ] = RANK_MAJOR
}
else if ( get_pcvar_num( gpCvarLtColonelStart ) <= iPoints <= get_pcvar_num( gpCvarLtColonelEnd ) )
{
gPlayerRank[ id ] = RANK_LT_COLONEL
}
else if ( get_pcvar_num( gpCvarColonelStart ) <= iPoints <= get_pcvar_num( gpCvarColonelEnd ) )
{
gPlayerRank[ id ] = RANK_COLONEL
}
else if ( get_pcvar_num( gpCvarBrigadierStart ) <= iPoints <= get_pcvar_num( gpCvarBrigadierEnd ) )
{
gPlayerRank[ id ] = RANK_BRIGADIER
}
else if ( get_pcvar_num( gpCvarGeneralStart ) <= iPoints <= get_pcvar_num( gpCvarGeneralEnd ) )
{
gPlayerRank[ id ] = RANK_GENERAL
}
else if( iPoints >= get_pcvar_num( gpCvarGeneralEnd ) )
{
gPlayerRank[ id ] = RANK_FIELD_MARSHAL
}
if ( !task_exists( id ) )
{
set_task( 2.0 , "PointsRank", id , _, _, "b" )
}
}
}
public fw_death( )
{
if( get_pcvar_num( gpCvarEnable ) )
{
gPlayerPoints[ read_data( 1 ) ] += get_pcvar_num( gpCvarKillPoints )
}
}
public PointsRank( id )
{
if( get_pcvar_num( gpCvarEnable ) )
{
set_hudmessage(255, 0, 0, 0.76, 0.0, 0, 6.0, 3.0)
show_hudmessage(id, "Звание: %s^nУбийств: %d", RankDescription[ gPlayerRank[ id ] ] , gPlayerPoints[ id ] )
}
}
Парни помогите воскресить плагин,воинские звания для zp 4.3!Весь нет перерыл ни чего для моего сервера походящего не нашёл,а этот как раз как доктор прописал,только вот есть нюанс один с ним, сервер с ним не включается,пытается включиться но не может,amx перестаёт тоже реагировать логи не показывают,но сам исходник компилируется без ошибки,но явно что та там не то.Как я понимаю этот плагин человек какой та переделал из Army Ranks 1.1(1.2).Я на вас очень надеюсь господа.
Вложения
-
11 KB Просмотры: 617
Последнее редактирование: