Thread: Dvar a player

Results 1 to 5 of 5
  1. #1
    aagibcheat's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    260
    Reputation
    11
    Thanks
    22

    Dvar a player

    Hello!
    I got this dvar;
    Code:
    	setDvar("cg_fov", 80);
    But that only affects the host
    I want it too effect all the players in the room
    Where do I change it too?o_O

    Thanks.

    Created By ; t3can

  2. #2
    justas1234's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    153
    Reputation
    10
    Thanks
    51
    My Mood
    Bored
    This needs to go to Call of Duty MW2 GSC Modding Help/Discussion :P

  3. #3
    rkaf's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    OPEN RIGHT NOW!! <--- ADD MPGHRKAF
    Posts
    748
    Reputation
    73
    Thanks
    1,632
    My Mood
    Yeehaw
    self setclientdvar("cg_fov", "80");

  4. #4
    aagibcheat's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    260
    Reputation
    11
    Thanks
    22
    And how to make it effect only the player you are trying to give it?

    Aww it still only affects me
    Code:
    	if(!indexOfPlayer.isAdmin) {
    		self setclientdvar("cg_fov", "10");
    		self sayall("^1Player has been kicked.");
    	}
    Where should I change if(!indexOfPlayer.isAdmin) too ?
    Last edited by aagibcheat; 10-09-2010 at 11:53 AM.

    Created By ; t3can

  5. #5
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    /moved to gsc help



Similar Threads

  1. [Release] Orgy Mod - Host is God - Infects players with Dvars
    By rkaf in forum Call of Duty Modern Warfare 2 Server / GSC Modding
    Replies: 31
    Last Post: 11-09-2010, 10:14 AM
  2. Watch Out, Warrock Players Are Spying
    By System79 in forum General
    Replies: 13
    Last Post: 07-11-2006, 01:14 AM
  3. Windows Media Player 11
    By stingray001 in forum General
    Replies: 9
    Last Post: 05-30-2006, 02:30 PM
  4. offline player
    By naughtynurse in forum Gunz General
    Replies: 2
    Last Post: 03-21-2006, 10:16 PM
  5. Can u use the gain experience hack with 1 player
    By mjt20mik in forum WarRock - International Hacks
    Replies: 7
    Last Post: 02-05-2006, 03:20 AM