Raised This Month: $ Target: $400
 0% 

Can i remove the buyzone like this?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-15-2010 , 11:04   Re: Can i remove the buyzone like this?
Reply With Quote #3

Quote:
Originally Posted by Toastt View Post
can i remove the buy zone like this?

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

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
remove_entity_name"game_text" );
}

public 
remove_buyzone() {
        new 
iEntity = -1;
        while( ( 
iEntity find_ent_by_class(iEntity"func_buyzone") ) ) 
        
remove_entityiEntity );

remove_buyzone() is never called.

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

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
remove_entity_name"game_text" );
    
remove_buyzone();
}

public 
remove_buyzone() {
        new 
iEntity = -1;
        while( ( 
iEntity find_ent_by_class(iEntity"func_buyzone") ) ) 
        
remove_entityiEntity );

or
PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
remove_entity_name"game_text" );
    
remove_buyzone();
}

public 
remove_buyzone() {
    
remove_entity_name"func_buyzone" );

or
PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
remove_entity_name"game_text" );
    
remove_entity_name"func_buyzone" );

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 08:47.


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