Raised This Month: $ Target: $400
 0% 

[Orpheu Help]Semiclip go through doors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hzqst
Senior Member
Join Date: Jul 2008
Old 12-04-2011 , 04:38   [Orpheu Help]Semiclip go through doors
Reply With Quote #1

Anyway I think it a good way but somehow don't understand
from https://forums.alliedmods.net/showthread.php?t=163322
Team semiclip 3.0, crashes my server.
PHP Code:
int g_iWantedPlayersMAX_PHYSENTS ];
int g_iWantedCount;

void FN_PM_Movestruct playermove_s *ppmoveqboolean server )
{
    if( !
ppmove -> spectator )
    {
        
g_iWantedCount 0;
        
        for( 
int i 0ppmove -> numphysenti++ )
            if( 
g_fn_GetPlayerTeamIDppmove -> player_index ) != g_fn_GetPlayerTeamIDppmove -> physents].info ) )
                
g_iWantedPlayersg_iWantedCount++ ] = i;
        
        for( 
int i 0g_iWantedCounti++ )
            if( 
!= g_iWantedPlayers] )
                
ppmove -> physents] = ppmove -> physentsg_iWantedPlayers] ];
        
        
ppmove -> numphysent g_iWantedCount;
    }
    
    
RETURN_METAMRES_IGNORED );

I don't know what ppmove -> physents[ i ] contains so I have no idea what to do with it


May I covert that module into Orpheu version just like:
PHP Code:
public PM_Move( const OrpheuStruct:ppmove, const server ){
    
    
g_iPMLastPlayer OrpheuGetParamStructMember1"player_index" ) + 1;
    if(
OrpheuGetParamStructMember1"deadflag" ) == DEAD_NO)
    {
........................
    }

and add a feature to let player go through doors?

Last edited by hzqst; 12-04-2011 at 04:38.
hzqst 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:33.


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