Shove Mod - Push a player away from you.
Cvars:
Code:
shove_force 7
shove_cooldown 10
shove_allow_inuse 1
What the cvars do:
shove_force - How strong the force for shoving is.
shove_cooldown - How long you must wait in order to shove.
shove_allow_inuse - Is the user allowed to press the "e" (Default: +use) key
Modules:
AmxModX
FakeMeta
This should work for all games too.
Hawk/Wilson [29th ID] helped a lot with velocity and helping me with that. Ive never used it.
Version [1.0]:
(shovemod.sma - 48 views - 2.1 KB)
Version [1.1]:
(shoveMod.sma - 169 views - 2.2 KB)
Change Log:
[1.0]
Made it so admins can change the "+use" during a game. (Sorry thought it was more efficient.)
[1.1]
Made it more efficient so that no set_tasks had to be used. ( Thanks Hawk552, connorr )
Also added a how long left in parentheses.
Thank You