Muteall

Results 1 to 1 of 1
  1. #1
    Member edulan is offline
    MemberRank
    May 2011 Join Date
    67Posts

    Muteall

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

    ZPost.h

    Find: ZPostPeerChat

    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);





Advertisement