8 hours ago8 hr Administrator A key-bound push command that shoves the player or loose object directly in front of you a short distance, with a cooldown. Player Push Command 1.0.0 (olds.ro) A key-bound push: shoves the player or loose object right in front of you a short distance, then a cooldown. Made for SoccerJam, works on any map. Requirements AMX Mod X 1.10.0.5490 or newer (fakemeta, hamsandwich) Install Compile scripting/olds_push.sma and copy olds_push.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_push.txt to addons/amxmodx/data/lang/. No downloads: the shove plays the stock player/pl_pain2.wav. Players bind <key> +push push with a key (in the console: bind f +push) say /push the same from chat Settings (addons/amxmodx/configs/plugins/olds_push.cfg, made on first run) olds_push_force 450 push speed along your view, flat (50-2000) olds_push_cd 3.0 seconds between two pushes (0-60) olds_push_team 1 1 = teammates can be pushed too, 0 = enemies only olds_push_spawnprot 3.0 seconds after spawning in which a player cannot be pushed (0-60) How it works A line is traced 80 units from your eyes along your view (EngFunc_TraceLine). A living player it hits is pushed unless they are a teammate with olds_push_team 0 or still spawn protected. An entity it hits is pushed if it is loose (MOVETYPE_TOSS, BOUNCE, STEP or PUSHSTEP). Loose objects a line cannot hit (trigger-solid balls) are found within 80 units and about 35 degrees of your view.The push sets pev_velocity once: olds_push_force along your view's direction on the ground plane, plus a small lift so friction does not stop it at once. Everything after that is normal physics: a pushed player who goes over a ledge falls and takes normal fall damage; a ball slides to a stop.Only a push that moved something starts the cooldown. Trying again too soon shows "Push is cooling down" in the middle of the screen and does nothing. 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_push.sma, test/ph_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-2052). Player Push Commandv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads3.5 KBUpdated 8 hours agoSign in to downloadolds_push.smaPawn (AMX Mod X) · 190 lines3 files/* * Player Push Command (olds.ro) * Copyright (C) 2026 daemon (olds.ro) * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option)Show all 190 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.