[Pomoc] Stats za /hp i /me oko public servera
Results 1 to 3 of 3
  1. #1
    Junior Member Array
    Join Date
    Jul 2017
    Karma
    0

    Exclamation Stats za /hp i /me oko public servera

    Pozdrav.

    Voleo bih ako neko moze da mi pomogne oko jedne sitnice (problema)...
    Ovako posto imam cs 1.6 public server imam problem kada pisu /hp ili /me
    posto se dosta pise igraci to rade da li je moguce da ostali to ne vide nego samo ti igraci koji pisu stats (/hp ili /me) ?
    <a href="http://www.gametracker.rs/server_info/176.57.188.4:27016/" target="_blank"><img src="http://banners.gametracker.rs/176.57.188.4:27016/big/blue/banner.jpg" border="0"></a>

  2. #2
    Senior Member Array
    Join Date
    Mar 2010
    Location
    Serbia
    Age
    21
    Karma
    19

    Default

    PHP Code:
    #include <amxmodx> 

    public plugin_init() 

        
    register_plugin"ChatCmdBlocker""0.1""LegacyCode" 

        
    register_clcmd"say""handleBlockCmdOutput" 
        
    register_clcmd"say_team""handleBlockCmdOutput" 


    public 
    handleBlockCmdOutputid 

        new const 
    a_ChatCommands[][] = 
        { 
            
    "/me",  
            
    "/hp" 
        


        new 
    s_Message[192], s_ChatCmd[16
        
    read_argss_Messagecharsmaxs_Message ) ) 
        
    remove_quotess_Message 
        
    trims_Message 

        if ( !
    s_Message[0] || !is_user_connectedid ) ) 
            return 
    PLUGIN_HANDLED 

        copyc
    s_ChatCmdcharsmaxs_ChatCmd ), s_Message' ' 

        for ( new 
    isizeof a_ChatCommandsi++ ) 
        { 
            if ( 
    equalis_ChatCmda_ChatCommands[i] ) ) 
                return 
    PLUGIN_HANDLED 
        


        return 
    PLUGIN_CONTINUE 


  3. #3
    Junior Member Array
    Join Date
    Jul 2017
    Karma
    0

    Default

    Hvala puno,
    Moze lock
    <a href="http://www.gametracker.rs/server_info/176.57.188.4:27016/" target="_blank"><img src="http://banners.gametracker.rs/176.57.188.4:27016/big/blue/banner.jpg" border="0"></a>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •