Quantcast
Channel: RaGEZONE - MMO Development Forums
Viewing all articles
Browse latest Browse all 29883

[Help] Muteall

$
0
0
Help?
/muteall
post:http://forum.ragezone.com/f245/commands-959574/

ZPost.h

Find: ZPostPeerChat

Quote:

if(ZGetGame()->m_pMyCharacter->GetStatus().Ref().bMuteAll){
return;
}
Correct: ???

PHP Code:

inline void ZPostPeerChat(charszMsgint nTeam=0)
{
    
char szSendMsg256 ] = {0,};
    
    const 
size_t nInputLen strlenszMsg );
    
//Muteall start
    
if(ZGetGame()->m_pMyCharacter->GetStatus().Ref().bMuteAll){
        return;
    }  
    
//muteall end
    
if( 256 nInputLen )
    {
        
ZPOSTCMD2(MC_PEER_CHATMCmdParamInt(nTeam), MCommandParameterString(szMsg))    
    }
    else
    {
        
strncpyszSendMsgszMsg255 );
        
ZPOSTCMD2(MC_PEER_CHATMCmdParamInt(nTeam), MCommandParameterString(szSendMsg))
    }
    

    
CHECK_RETURN_CALLSTACK(ZPostPeerChat);



Viewing all articles
Browse latest Browse all 29883

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>