Raised This Month: $ Target: $400
 0% 

No boost code help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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