Raised This Month: $ Target: $400
 0% 

Shove Mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Gameplay        Approver:   Zenith77 (33)
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 09-24-2007 , 22:10   Shove Mod
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (shovemod.sma - 8042 views - 2.2 KB)

Last edited by Styles; 11-10-2007 at 19:00.
Styles is offline
Send a message via AIM to Styles
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode