Raised This Month: $51 Target: $400
 12% 

Shove Mod


Post New Thread Reply   
 
Thread Tools Display Modes
mbhattarmakki
New Member
Join Date: Sep 2014
Old 09-29-2014 , 14:27   Re: Shove Mod
Reply With Quote #41

Hi,
Can anyone tell me how to increase the strength of the SHOVe, i mean when i press E..??? Can anyone help
mbhattarmakki is offline
shehzad zaidy
BANNED
Join Date: Oct 2015
Old 11-12-2015 , 09:51   Re: Shove Mod
Reply With Quote #42

How To add Commond /dontshove TO dislable shovemod?

Last edited by shehzad zaidy; 11-12-2015 at 09:52.
shehzad zaidy is offline
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 01-16-2016 , 03:26   Re: Shove Mod
Reply With Quote #43

What if want players to enable and disable this with chat print?
/dontshove - you cannot shove %s has disble shove
/shoveme - active shove abilities

Can u impliment this commands ?

>>>Click Here To Contact Me<<<
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
shikharNeverGiveUp
New Member
Join Date: Jun 2016
Location: india
Old 06-15-2016 , 07:39   Re: Shove Mod
Reply With Quote #44

Styles can plzz add some new features in shovemod like by typing /dontshove the shove will be turn off for that player and /shoveme to turn it on again ?

sorry for my bad english
shikharNeverGiveUp is offline
ish12321
Veteran Member
Join Date: May 2016
Old 11-13-2016 , 07:01   Re: Shove Mod
Reply With Quote #45

Quote:
Originally Posted by prinoybullboy View Post
I have been using this plugin on my server for the last few months but there is one glitch where in when a player shoves another player towards the ground, the shoved player die's instantly by world spawn. This creates a nuisance on the server since your own teammates kill you by this glitch So can anyone can modify this plugin for me in such a way that the shoved player doesn't inflict damage by the shover and also create a cvar to put this feature ON/OFF like shove_deathshove
BUMP
How to disable deathshove ?
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
prinoybullboy
Member
Join Date: Aug 2014
Old 12-11-2016 , 06:49   Re: Shove Mod
Reply With Quote #46

Quote:
Originally Posted by ish12321 View Post
BUMP
How to disable deathshove ?
type /dontshove on CS India Rocks! Pub
prinoybullboy is offline
ish12321
Veteran Member
Join Date: May 2016
Old 12-12-2016 , 21:13   Re: Shove Mod
Reply With Quote #47

-_-
I want to disable deathshove but not complete shove
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
popeye10
Senior Member
Join Date: May 2014
Location: Navi Mumbai (India)
Old 03-07-2017 , 06:16   Re: Shove Mod
Reply With Quote #48



PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <colorchat>

#define PLUGIN "Shove Mod"
#define VERSION "1.2"
#define AUTHOR "Styles"

new cShovecCooldowncInUse
new gLastShove[32], bool:g_dontshove[33]

new const 
Prefix[] = "[_|SZ|_]" 

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /shove""Enableshove")
    
register_clcmd("say_team /shove""Enableshove")
    
    
register_clcmd("say /dontshove""Disableshove")
    
register_clcmd("say_team /dontshove""Disableshove")
    
    
cShove register_cvar("shove_force""7")
    
cCooldown register_cvar("shove_cooldown""10")
    
cInUse register_cvar("shove_allow_inuse""1")
    
    
register_forward(FM_PlayerPreThink"Forward_PlayerPreThink")
}

public 
Forward_PlayerPreThink(id)
{
    if(!
get_pcvar_num(cInUse))
        return 
PLUGIN_HANDLED
    
if(pevidpev_button ) & IN_USE && !(pevidpev_oldbuttons ) & IN_USE ) & !is_user_bot(id))
        
shovePlayer(id)
    
    return 
PLUGIN_CONTINUE
}
public 
Enableshove(id)
{
    
g_dontshove[id] = false
    ColorChat
(idGREEN"%s^1 You have successfully enabled shove^3!"Prefix)
    return 
PLUGIN_HANDLED
    
}
    
public 
Disableshove(id)
{
    
g_dontshove[id] = true
    ColorChat
(idGREEN"%s^1 You have successfully disabled shove^3 !"Prefix)
    return 
PLUGIN_HANDLED
}

   
public 
shovePlayer(id)
{
    if(!
is_user_alive(id) || g_dontshove[id]) 
        return 
PLUGIN_HANDLED
    
    
if(get_systime() - gLastShove[id] < get_pcvar_num(cCooldown))
    {
        
ColorChat(idGREEN"%s^1 Your muscles are too weak to shove the player^4.^1 Wait^3 %d^1 more seconds^4!"Prefix, (get_pcvar_num(cCooldown) - (get_systime() - gLastShove[id])))
        
//client_print(id, print_chat, "%s Your muscles are weak from shoving the player. You must wait to do it again. (%i)", Prefix, (get_pcvar_num(cCooldown) - (get_systime() - gLastShove[id])))
        
return PLUGIN_HANDLED
    
}
    
    new 
Index,BodypName[64], tName[64]
    
get_user_aiming(id,Index,Body,200)
    
    if(!
Index || !is_user_alive(Index) || g_dontshove[Index]) 
        return 
PLUGIN_HANDLED
    
    
new Float:size[3]
    
pev(idpev_sizesize)
    if(
size[2] < 72.0)
    {
        
ColorChat(idGREEN"%s^1 You can't shove somebody while you do this^4!"Prefix)
        
//client_print(id, print_chat, "%s You can't shove somebody while doing that action.", Prefix)
        
return PLUGIN_HANDLED
    
}
    
    
get_user_name(idpNamecharsmax(pName))
    
get_user_name(IndextNamecharsmax(tName))
    
    new 
Float:velocity[3], Float:shover[3], Float:shovee[3]
    
    
pev(idpev_originshover)
    
pev(Indexpev_originshovee)
    
    for(new 
Count;Count 3;Count++)
        
velocity[Count] = (shovee[Count] - shover[Count]) * get_pcvar_float(cShove)
    
    
set_pev(Indexpev_velocityvelocity)
    
    
//client_print(id, print_chat, "%s You have just shoved %s!", Prefix, tName)
    //client_print(Index, print_chat, "%s You have just been shoved by %s!", Prefix, pName)
    
    
gLastShove[id] = get_systime()
    
    
g_dontshove[id] = false
    
    
new players[32], numothers
    get_players
(playersnum"h")
    
    for(new 
inumi++)
    {
        
others players[i]
        
        if(
others == id)
            
ColorChat(othersGREEN"%s^1 You have just shoved^3 %s^4!"PrefixtName)
        else if(
others == Index)
            
ColorChat(othersGREEN"%s^1 You have been just shoved by^3 %s^4!"PrefixpName)
        else
            
ColorChat(othersGREEN"%s^3 %s^1 has just shoved^3 %s^4!"PrefixtNamepName)
        
    }
    
    return 
PLUGIN_HANDLED
    


public 
client_disconnect(id)
    
g_dontshove[id] = false 
__________________

Last edited by popeye10; 03-07-2017 at 06:16.
popeye10 is offline
ish12321
Veteran Member
Join Date: May 2016
Old 03-07-2017 , 22:59   Re: Shove Mod
Reply With Quote #49

I wishedif it was possible to have certain calculation to prevent death shove
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
Reply



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 22:05.


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