Raised This Month: $ Target: $400
 0% 

No boost code help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GudiiS
Member
Join Date: Feb 2009
Old 03-31-2009 , 12:30   No boost code help
Reply With Quote #1

Hi. I have started with a "anti-boost" plugin.
But I'm bad at scripting and wonder if someone could help me her.
I don't know how to do now.

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <xs>
 
#define NAME "anti-boost"
#define VERSION "1.0"
#define AUTHOR "author"
 
new cvar_screenshakecvar_punishmentcvar_damagecvar_headsplashcvar_slay;
public 
plugin_init()
{
         
register_plugin(PLUGINVERSIONAUTHOR)
         
cvar_punishment register_cvar("ab_punishment""1");
         
cvar_screenshake register_cvar("amx_punishment""1");
         
cvar_damge register_cvar("amx_boostdamage""1");
         
cvar_headsplash register_cvar("amx_headsplash""1");
         
cvar_slay register_cvar("amx_slay""1");
}
public 
antiboost (id)
{
     if(
get_pcvar_num(cvar_punishment) == 1)
     {
            if(
get_pcvar_num(cvar_screenshake) == 1)
            {
                   if(
get_pcvar_num(cvar_damage) == 1)
                   {
                           if(
get_pcvar_num(cvar_headsplash) == 1)
                           {
                                  if(
get_pcvar_num(cvar_slay) == 1)
                                  {
}
 
public 
client_PreThink(id)

GudiiS is offline
Dr.G
Senior Member
Join Date: Nov 2008
Old 03-31-2009 , 16:45   Re: No boost code help
Reply With Quote #2

what is anti boost?
__________________
Dr.G is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-31-2009 , 16:50   Re: No boost code help
Reply With Quote #3

you hit ur m8 & ur m8 can fly or willbe boosted UP! btw i thinked this would be blocked by vac?!
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
GudiiS
Member
Join Date: Feb 2009
Old 03-31-2009 , 17:32   Re: No boost code help
Reply With Quote #4

blocked by vac, why?

sry didn't explane anti-boost.
ex: when a ct jump on another ct's head u got screenshak punished or something.
GudiiS is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-31-2009 , 17:46   Re: No boost code help
Reply With Quote #5

oh. oki its not boost :-D
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 04-01-2009 , 08:54   Re: No boost code help
Reply With Quote #6

See this http://forums.alliedmods.net/showthread.php?p=504337
__________________
Hunter-Digital is offline
GudiiS
Member
Join Date: Feb 2009
Old 04-01-2009 , 10:36   Re: No boost code help
Reply With Quote #7

ye, that's nice. but i want headsplash and the other things in the anti-boost.
I hope any1 can help me with it.
GudiiS is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-01-2009 , 13:18   Re: No boost code help
Reply With Quote #8

do we know why its so?i think first we must know why its so that when ur on a player, ur screen shakes!
i think this is cuz hitboxs & models. maybe we could add a invisible box over a player? idk
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
GudiiS
Member
Join Date: Feb 2009
Old 04-01-2009 , 13:27   Re: No boost code help
Reply With Quote #9

ye, i don't know. can't we make it so just when a player touch the others head. it starts screenshake slap him away or something. u can chose what u want it to do. u can also have all cvar "1".
GudiiS is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-01-2009 , 13:30   Re: No boost code help
Reply With Quote #10

Quote:
Originally Posted by GudiiS View Post
ye, i don't know. can't we make it so just when a player touch the others head. it starts screenshake slap him away or something. u can chose what u want it to do. u can also have all cvar "1".
hmmm :-?i never worked with hitboxes but if its poss to hook the head hitbox , i could maybe write slap if distance <= xx ! idk maybe arkshin know better about this
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
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 02:16.


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