Raised This Month: $ Target: $400
 0% 

Semiclip Problems :(


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DSASDFGH
Senior Member
Join Date: Jul 2011
Location: Facebook
Old 08-25-2012 , 00:53   Semiclip Problems :(
Reply With Quote #1

PHP Code:
#include < amxmodx >
#include < engine >
#include < cstrike >
#include < fun >
#include < fakemeta >
#include < hamsandwich >
 
new g_iSemiClip[33];
 
public 
plugin_init( ) {
 new const 
VERSION[ ] = "3.0.3";
 
 
register_plugin"Deathrun Manager"VERSION"xPaw" );
 
register_forwardFM_StartFrame"FwdStartFrame");
 
register_forwardFM_AddToFullPack"FwdFullPack",   );
}
public 
FwdStartFrame( ) 
{
 static 
iPlayers32 ], iNumiPlayeriPlayer2ij;
 
get_playersiPlayersiNum"ache""CT" );
 
 
arraysetg_iSemiClip032 );
 
 if( 
iNum <= )
  return 
FMRES_IGNORED;
 
 for( 
0iNumi++ ) {
  
iPlayer iPlayers];
 
  for( 
0iNumj++ ) {
   
iPlayer2 iPlayers];
 
   if( 
iPlayer == iPlayer2 )
    continue;
 
   if( 
g_iSemiClipiPlayer ] && g_iSemiClipiPlayer2 ] )
    continue;
 
   if( 
entity_rangeiPlayeriPlayer2 ) <  50) {
    
g_iSemiClipiPlayer ] = true;
    
g_iSemiClipiPlayer2 ] = true;
   }
  }
 }
 
 for( 
0iNumi++ ) {
  
iPlayer iPlayers];
 
  
set_peviPlayerpev_solidg_iSemiClipiPlayer ] ? SOLID_NOT SOLID_SLIDEBOX );
 }
 
 return 
FMRES_IGNORED;
}
public 
FwdFullPackeseenthostflagsplayerpSet 
{
 if( 
player && g_iSemiClipent ] && g_iSemiCliphost ] ) 
 {
  
set_esesES_SolidSOLID_NOT );
  
set_esesES_RenderModekRenderTransAlpha );
  
set_esesES_RenderAmt85 );
 }
 return 
FMRES_IGNORED;

Hi, I coded this plugin from Deathrun manager by xPaw for my zombie escape server,
but entity like func_vehicle , func_door won't work if players got semiclip.
Please give me a solution

p.s. Also I got a sama problem as use Semiclip modules...
__________________
Learning SourceMod is happy

Last edited by DSASDFGH; 08-25-2012 at 00:54.
DSASDFGH 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 05:42.


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