Raised This Month: $2 Target: $400
 0% 

How to remove a func_


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-07-2009 , 14:39   How to remove a func_
Reply With Quote #1

How is the easiest way to do that?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 05-07-2009 , 14:42   Re: How to remove a func_
Reply With Quote #2

just delete the function from the sourcecode?
__________________
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-07-2009 , 14:45   Re: How to remove a func_
Reply With Quote #3

I mean in a plugin I want to have it in a plugin
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 05-07-2009 , 14:49   Re: How to remove a func_
Reply With Quote #4

you mean you want to remove a function from another plugin during runtime or what?
__________________
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-07-2009 , 14:50   Re: How to remove a func_
Reply With Quote #5

I want, when the server starts its removing exampel func_buyzone or another func_
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-07-2009 , 15:41   Re: How to remove a func_
Reply With Quote #6

entity classname = func_*
__________________
fysiks is offline
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-07-2009 , 15:49   Re: How to remove a func_
Reply With Quote #7

Yeah, but how to remove it?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-07-2009 , 17:08   Re: How to remove a func_
Reply With Quote #9

Can i just
PHP Code:
    register_logevent("Remove_buyzone"2"1=Round_Start"); 
PHP Code:
public Remove_buyzone(id)
{
    
remove_entity_name("func_buyzone")

?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.

Last edited by TitANious; 05-07-2009 at 17:24.
TitANious is offline
Send a message via MSN to TitANious
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 05-07-2009 , 17:29   Re: How to remove a func_
Reply With Quote #10

Code:
public plugin_init()         remove_entity_name("func_buyzone");
__________________
hleV is offline
Reply


Thread Tools
Display Modes

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 10:19.


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