Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: how block cod2 commands?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private First Class
    Join Date
    Dec 2012
    Posts
    127
    Thanks
    132
    Thanked 114 Times in 63 Posts
    There is no 'getclientcvar' I think so or i'm wrong.

    PHP Code:
    self.draw_world GetDvarInt("r_drawworld"); 

  2. #2
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    help please.

    ******* script compile error *******
    unknown function: (file 'maps/pam/sd.gsc', line 340)
    self.draw_world = GetDvarInt("r_drawworld");
    *
    ************************************

  3. #3
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Huh why is randalls reply deleted?
    "GetCvarInt"

  4. #4
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    Quote Originally Posted by Ni3ls View Post
    Huh why is randalls reply deleted?
    "GetCvarInt"
    hello , thanks work but "GetCvarInt" function for server i need function check for 1 player : for me , for bot0
    Last edited by malyczolg; 22nd August 2013 at 15:44.

  5. #5
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Deleted the last 3 senseless posts (getcvarint is server-only). Peterlankton/me basically told him how he can check cvars.
    timescale 0.01

Posting Permissions

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