Raised This Month: $ Target: $400
 0% 

Semiclip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-27-2009 , 10:15   Semiclip
Reply With Quote #1

Hi,

i edited semiclip to give semi to all teams, bot a CT cant attack a T or a T cant attack CT. is there anyway to get this running?

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

#define PLUGIN "Semiclip"
#define VERSION "1.31"
#define AUTHOR "skyjur"

new bool:plrSolid[33]
new 
bool:plrRestore[33]

new 
maxplayers

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_forward(FM_PlayerPreThink"preThink")
    
register_forward(FM_PlayerPostThink"postThink")
    
    
register_forward(FM_AddToFullPack"addToFullPack"1)
    
    
maxplayers get_maxplayers()
}

public 
addToFullPack(eseenthosthostflagsplayerpSet)
{
    if(
player)
    {
        if(
plrSolid[host] && plrSolid[ent] )
        {
            
set_es(esES_SolidSOLID_NOT)
            
set_es(esES_RenderModekRenderTransAlpha)
            
set_es(esES_RenderAmt85)
        }
    }
}

FirstThink()
{
    for(new 
1<= maxplayersi++)
    {
        if(!
is_user_alive(i))
        {
            
plrSolid[i] = false
            
continue
        }
        
        
        
plrSolid[i] = pev(ipev_solid) == SOLID_SLIDEBOX true false
    
}
}

public 
preThink(id)
{
    static 
iLastThink
    
    
if(LastThink id)
    {
        
FirstThink()
    }
    
LastThink id

    
    
if(!plrSolid[id]) return
    
    for(
1<= maxplayersi++)
    {
        if(!
plrSolid[i] || id == i) {
        
            
set_pev(ipev_solidSOLID_NOT)
            
plrRestore[i] = true
        
}

    }
}

public 
postThink(id)
{
    static 
i
    
    
for(1<= maxplayersi++)
    {
        if(
plrRestore[i])
        {
            
set_pev(ipev_solidSOLID_SLIDEBOX)
            
plrRestore[i] = false
        
}
    }

__________________
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
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 03-27-2009 , 10:46   Re: Semiclip
Reply With Quote #2

here it's allready done by SchlumPF
Team Semiclip
Attached Files
File Type: zip team-semiclip.zip (7.1 KB, 286 views)
__________________
vato loco [GE-S] is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-27-2009 , 10:52   Re: Semiclip
Reply With Quote #3

Quote:
Originally Posted by vato loco [GE-S] View Post
here it's allready done by SchlumPF
Team Semiclip
hihi. nice. where did u found this? ty. ill try now
__________________
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
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 03-27-2009 , 11:00   Re: Semiclip
Reply With Quote #4

it's not in the data base of Allied Modder !!!
it's from xtreme-jumps
link is included in the .zip
__________________

Last edited by vato loco [GE-S]; 03-27-2009 at 11:06.
vato loco [GE-S] is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-27-2009 , 11:12   Re: Semiclip
Reply With Quote #5

Quote:
Originally Posted by vato loco [GE-S] View Post
it's not in the data base of Allied Modder !!!
it's from xtreme-jumps
link is included in the .zip
Yea, i saw that. ( but dont wanted edit ma post ).Ty. that was a big help.
__________________

Last edited by One; 08-02-2009 at 18:19.
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
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 05-29-2009 , 03:54   Re: Semiclip
Reply With Quote #6

Does the semiclip work?
P4rD0nM3 is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 05-29-2009 , 08:06   Re: Semiclip
Reply With Quote #7

Quote:
Originally Posted by P4rD0nM3 View Post
Does the semiclip work?
sure
__________________
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 08:53.


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