Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Quote Originally Posted by [MOD5569]RU2056 View Post
    I doesn't give an error or something, when i start the game the wallhack is already turned on, the script has made the dvar but it's not functioning.
    When i type in r_wallhack 0 the wallhack doesn't go off. Just check it out i can't explain it...
    Code:
    WallhackDvar()
    {
        SetDvarIfUninitialized("r_wallhack", "0");
    
    	if(getdvar("r_wallhack") == 1)
    	{
    		foreach(player in level.players)
    		{
    		player ThermalVisionFOFOverlayOn();
    		}
    	}
    if(getdvar("r_wallhack") == 0) {
    	foreach(player in level.players)
    	{
    	player ThermalVisionFOFOverlayOff();
    	}
           }
    }
    Try that

  2. #17
    [MOD5569]RU2056's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Quote Originally Posted by EpicPlayer View Post
    Code:
    WallhackDvar()
    {
        SetDvarIfUninitialized("r_wallhack", "0");
    
    	if(getdvar("r_wallhack") == 1)
    	{
    		foreach(player in level.players)
    		{
    		player ThermalVisionFOFOverlayOn();
    		}
    	}
    if(getdvar("r_wallhack") == 0) {
    	foreach(player in level.players)
    	{
    	player ThermalVisionFOFOverlayOff();
    	}
           }
    }
    Try that
    Doesn't work:/

  3. #18
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Quote Originally Posted by [MOD5569]RU2056 View Post
    Doesn't work:/
    Same thing again?

    Try it with a loop then;
    Code:
    WallhackDvar()
    {
        SetDvarIfUninitialized("r_wallhack", "0");
    
    while(1)
    {
    
    	if(getdvar("r_wallhack") == 1)
    	{
    		foreach(player in level.players)
    		{
    		player ThermalVisionFOFOverlayOn();
    		}
    	}
    if(getdvar("r_wallhack") == 0) {
    	foreach(player in level.players)
    	{
    	player ThermalVisionFOFOverlayOff();
    	}
           }
    }
    }

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Creating New Objects DLL Need Help
    By SeptFicelle in forum C# Programming
    Replies: 6
    Last Post: 05-19-2011, 05:43 PM
  2. Can't Create New Acc
    By Synchromanica in forum Combat Arms Help
    Replies: 9
    Last Post: 10-05-2010, 02:54 PM
  3. Creating New REZ texture skins
    By heydiddlediddle in forum Combat Arms Mods & Rez Modding
    Replies: 2
    Last Post: 02-21-2010, 12:45 PM
  4. Somebody need to create new hack
    By Cro-Hero in forum CrossFire Hacks & Cheats
    Replies: 7
    Last Post: 06-11-2009, 03:19 PM
  5. Pls ! Create new tuto :'(
    By Kyle88 in forum WarRock Korea Hacks
    Replies: 0
    Last Post: 07-17-2007, 03:58 AM