Raised This Month: $32 Target: $400
 8% 

[Solved] Remove entity for SS2 map


Post New Thread Reply   
 
Thread Tools Display Modes
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 03-10-2012 , 11:43   Re: [REQ] Remove Entiy for surf_ski_2 map
Reply With Quote #11

@drekes, how it's going to work out only for the button(no "new const") ?
Lolz0r is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 03-10-2012 , 13:00   Re: [REQ] Remove Entiy for surf_ski_2 map
Reply With Quote #12

Quote:
Originally Posted by Lolz0r View Post
@drekes, how it's going to work out only for the button(no "new const") ?
PHP Code:
#include <amxmodx>
#include <engine>

#pragma semicolon    1
#define VERSION        "1.0.0"


public plugin_init()
{
    
register_plugin("surf_ski2 j button remover"VERSION"Drekes");
    
    new 
szMapname[32];
    
get_mapname(szMapnamecharsmax(szMapname));
    
    if(
equali(szMapname"surf_ski_2"))
    {
        new 
iEnt;
        if((
iEnt find_ent_by_model(-1"func_button""*20")))
            
remove_entity(iEnt);
    }

__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 03-10-2012 , 16:15   Re: [REQ] Remove Entiy for surf_ski_2 map
Reply With Quote #13

Thanks you for a big help!
Lolz0r 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 17:10.


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