12 hours ago12 hr Administrator Admins set a player's frags and deaths to exact values, for fixing mistakes or event prizes. Admin Set Score 1.1.0 (olds.ro) Admins set a player's frags and deaths to exact values, to fix a mistake or to hand out an event prize. Every player's scoreboard shows the new score at once, the player is told in chat, and each change is written to the AMX Mod X log. Requirements AMX Mod X 1.10 or newer (written and tested on 1.10.0.5490)The cstrike and fun modules (they come with AMX Mod X)Counter-Strike 1.6. ReAPI is not needed. Install Compile scripting/olds_setscore.sma and copy olds_setscore.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_setscore.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_setscore.cfg to addons/amxmodx/configs/plugins/ (if it is missing, the plugin writes it with the default values).Add olds_setscore.amxx to addons/amxmodx/configs/plugins.ini. Command (admins with the ADMIN_RCON flag "l", and the server console) amx_setscore <name|#userid> <frags> <deaths> amx_setscore Bob 20 0 sets Bob's score to 20 / 0 amx_setscore Bob +3 +0 adds 3 frags and keeps the deaths amx_setscore #12 -2 +1 takes 2 frags away and adds 1 death A plain number sets the value; +n or -n changes the current value. A negative frag count is reached with -n (for example -5 from 0).The player can be named by #userid (as shown by "status"), the exact name or a part of one name, in any letter case. If several players match, the command lists how many and changes nothing.Frags may end from -olds_setscore_max to olds_setscore_max, deaths from 0 to olds_setscore_max. A request outside these limits is refused and the score stays as it was.A player without access gets "You have no access" and the usage line. Settings (addons/amxmodx/configs/plugins/olds_setscore.cfg) olds_setscore_max 9999 highest frags or deaths value the command may set (0 - 32767, the scoreboard limit) olds_setscore_log 1 1 = write each change to the AMXX log: admin, player, old and new score; 0 = do not log Log line example (addons/amxmodx/logs/L<date>.log) Cmd: "Admin<3><STEAM_0:1:123><>" set the score of "Bob<5><STEAM_0:0:456><>" from 5 / 2 to 20 / 0 Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-R 1.3.0.149, AMX Mod X 1.10.0-git5490, with bots: setting and changing scores, the limits, wrong input, a player without access, the scoreboard message and the log. No sounds, models or sprites are added. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2086. Licence: GNU GPL version 3 or later (GPL-3.0-or-later). 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_setscore.sma License: GPL-3.0-or-later.Written for the olds.ro plugin workshop (LIB-2086), by alexit, reviewed by alexit and checked by the automated Claude review. Admin Set Scorev1.0.0Counter-Strike 1.6PluginTests passedAMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads6.8 KBUpdated 12 hours agoSign in to downloadolds_setscore.smaPawn (AMX Mod X) · 391 lines4 files/* * Admin Set Score (olds.ro workshop card LIB-2086) * * Admins set a player's frags and deaths to exact values, to fix a mistake * or to hand out an event prize. The scoreboard of every player shows the * new score at once. *Show all 391 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.