Results 1 to 2 of 2

Thread: COD2 Chat Disable

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    libcod:
    PHP Code:
    //server start:
    {
        
    setCvar("scr_gchat""1"); //chat enabled default
    }

    codecallback_playercommand(args)
    {
        if (
    args.size >= && (args[0] == "say" || args[1] == "say_team") && isDefined(args[1]))
        {
            if (!
    getCvarInt("scr_gchat"))
                return; 
    //chat disabled
        
    }
        
        
    self clientCommand();

    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  2. The Following User Says Thank You to maxdamage99 For This Useful Post:

    girdap (9th June 2021)

Tags for this Thread

Posting Permissions

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