{
"name": "CSB Admin Grab",
"category": "fun",
"tags": "grab, physics, admin",
"image": "",
"original_author": "KRoTaL",
"original_url": "",
"license": "GPL-3.0",
"title": "CSB Admin Grab",
"short_desc": "Admins grab a player or entity with +grab, push/pull it with the mouse wheel and throw it on release.",
"version": "1.0.0",
"amxx_min": "1.9",
"amxx_compile_default": "1.9",
"rehlds_ok": true,
"hlds_ok": true,
"regamedll_required": false,
"metamod_flavor": "any",
"reapi_required": false,
"modules": "fakemeta",
"install_notes": "1. Enable the fakemeta module in addons/amxmodx/configs/modules.ini\n2. Put csb_admin_grab.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n3. Change map\n4. bind a key to +grab",
"known_conflicts": "While grabbing, invnext/invprev are consumed, so weapon-switch on the mouse wheel is paused for that admin.",
"cvars": [
{
"name": "csb_grab_enabled",
"default": "1",
"description": "Enable or disable the grab command."
},
{
"name": "csb_grab_throw",
"default": "900",
"description": "Throw speed applied on release."
},
{
"name": "csb_grab_maxdist",
"default": "800",
"description": "Maximum hold distance in units."
}
],
"commands": [
{
"name": "+grab",
"access": "d (ADMIN_BAN)",
"description": "Hold to grab and carry the entity in your crosshair."
},
{
"name": "invnext / invprev",
"access": "d (ADMIN_BAN)",
"description": "While grabbing, push or pull the target."
}
],
"main": "addons/amxmodx/scripting/csb_admin_grab.sma"
}