4 hours ago4 hr Administrator When all admins leave the guard side, a chosen guard automatically gets guard authority commands, such as the warden menu, so the round can still be run. Guard Authority Grant 1.0.0 (olds.ro) Jailbreak: when no admin (fewer than olds_gauth_minadmins) is on the guard side, a chosen living guard is lent access flags for the round, so commands such as the warden menu still work and the round can be run. Requirements AMX Mod X 1.10.0.5490 or newer, ReAPI, hamsandwich Install Compile scripting/olds_gauth.sma and copy olds_gauth.amxx to addons/amxmodx/plugins/ (after admin.amxx in plugins.ini).Copy data/lang/olds_gauth.txt to addons/amxmodx/data/lang/.Give the warden menu (or other guard commands) the flag you lend. No downloads: the grant is announced in chat only. Settings (addons/amxmodx/configs/plugins/olds_gauth.cfg, made on first run) olds_gauth_minadmins 1 admins needed on CT before nobody is granted olds_gauth_pick longest longest (time on the server), score (frags) or random olds_gauth_flags "b" the flags lent to the guard olds_gauth_adminflag "d" a player with any of these flags is an admin Admins amx_gauth_status (ADMIN_KICK) admins on CT, the holder, the lent flags and every player's team, flags and time How it works The check runs at round start (RG_CSGameRules_RestartRound) and shortly after a player leaves, dies or changes team (TeamInfo). If fewer than olds_gauth_minadmins admins are on CT, the chosen living CT gets the flags he did not already have (set_user_flags). With no living CT nobody is granted.The lent flags (only those) are taken back with remove_user_flags at round end, when enough admins are on CT again, when the guard dies or stops being a guard (another guard is then chosen), and on map change. A holder who disconnects is replaced.Every grant and removal goes to the AMX Mod X log with the player's name (and SteamID for grants). InstallDownload the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini. Files: addons/amxmodx/scripting/olds_gauth.sma, test/ga_stub.sma Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0876). Guard Authority Grantv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3.9 KBUpdated 4 hours agoSign in to downloadolds_gauth.smaPawn (AMX Mod X) · 261 lines3 files/* * Guard Authority Grant (olds.ro workshop card LIB-0876) * * Jailbreak: when fewer than olds_gauth_minadmins admins are on the guard (CT) * side, one living guard gets the olds_gauth_flags access flags for the round, * so commands such as the warden menu still work. The grant is taken back at * round end, when enough admins are guards again, when the guard dies, leavesShow all 261 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.