Results 1 to 6 of 6
  1. #1
    belal200898's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    1

    Exclamation How do I use this code

    Hello all

    I have this code, and I can not use it and I need you, I want to get [source code] in order to facilitate the completion of the project or to complete a project and then give me a Dll file

    the Code:
    Code:
    bool is_sniper(){
    	weaponInfo_t* weap = GetWeaponInfo(cg_entities[cg->clientNum].weapon);
    	return (weap->displayName == "WEAPON_REMINGTON700" || weap->displayName == "WEAPON_M40A3" ) ? true : false;
    		
    }
    the Code:
    Code:
    int old_time;
    void sniper_flood(int i){
    	
    	weaponInfo_t* weap = GetWeaponInfo(cg_entities[cg->clientNum].weapon);
    	if(old_time < cg->snap->ServerTime - 3000){
    		old_time = cg->snap->ServerTime;
    		if(!is_sniper()){
    			SendCommandToConsole("openscriptmenu quickpromod sniper");
    			if(is_sniper()){
    				menu[14].turned = false;// turn off in the menu
    				SendCommandToConsole("Sniper loaded!");
    			}
    		}
    	}
    }
    Please fastest in helping me

  2. #2
    Horror's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    51,4.
    Posts
    6,920
    Reputation
    574
    Thanks
    5,050
    My Mood
    Twisted
    This on it's own will do literally nothing.
     

    Minion+ : February 2014 - January 2015
    Counter Strike: Global Offensive Minion : November 2014 - January 2015
    Alliance of Valiant Arms Minion : August 2014 - January 2015
    Need For Speed World Minion : January 2014 - January 2015
    Rust Minion : January 2014 - January 2015
    Call of Duty Minion : January 2013 - January 2015
    Editor : December 2012 - April 2013
    Donator : March 2014 - Current
    Member : October 2010 - Current

    Previously known as "Isaakske".

  3. #3
    belal200898's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    1
    Can you made ​​in C + +, and then give me a [source code] Please, I can not or do not know a lot in C + + Please, I need him

  4. #4
    Horror's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    51,4.
    Posts
    6,920
    Reputation
    574
    Thanks
    5,050
    My Mood
    Twisted
    Quote Originally Posted by belal200898 View Post
    Can you made ​​in C + +, and then give me a [source code] Please, I can not or do not know a lot in C + + Please, I need him
    This code has no base, which means nothing is defined, and no matter how hard I try, I can't compile this into anything usefull without the base.
     

    Minion+ : February 2014 - January 2015
    Counter Strike: Global Offensive Minion : November 2014 - January 2015
    Alliance of Valiant Arms Minion : August 2014 - January 2015
    Need For Speed World Minion : January 2014 - January 2015
    Rust Minion : January 2014 - January 2015
    Call of Duty Minion : January 2013 - January 2015
    Editor : December 2012 - April 2013
    Donator : March 2014 - Current
    Member : October 2010 - Current

    Previously known as "Isaakske".

  5. #5
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,417
    Reputation
    611
    Thanks
    11,989
    My Mood
    Cheerful
    Quote Originally Posted by Horror View Post

    This code has no base, which means nothing is defined, and no matter how hard I try, I can't compile this into anything usefull without the base.
    Slightly more precise:
    Menu code and menu related functions and variables.
    +
    Functions missing:
    SendCommandToConsole
    GetWeaponInfo
    Structs missing:
    cg_t
    weaponInfo_t
    Give us all mentioned above or no DLL for you...

  6. #6
    Horror's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    51,4.
    Posts
    6,920
    Reputation
    574
    Thanks
    5,050
    My Mood
    Twisted
    Quote Originally Posted by Lovroman View Post
    Slightly more precise:
    Menu code and menu related functions and variables.
    Which is what I call a base
     

    Minion+ : February 2014 - January 2015
    Counter Strike: Global Offensive Minion : November 2014 - January 2015
    Alliance of Valiant Arms Minion : August 2014 - January 2015
    Need For Speed World Minion : January 2014 - January 2015
    Rust Minion : January 2014 - January 2015
    Call of Duty Minion : January 2013 - January 2015
    Editor : December 2012 - April 2013
    Donator : March 2014 - Current
    Member : October 2010 - Current

    Previously known as "Isaakske".

  7. The Following User Says Thank You to Horror For This Useful Post:

    Lovroman (10-23-2013)

Similar Threads

  1. [Help] How Do I Create An Sqf Using This Code?
    By rGAERGAErgergergerg in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 12
    Last Post: 01-03-2013, 11:05 PM
  2. [Source Code] How To use this code
    By Zerogood in forum Mission Against Terror Hacks & Cheats
    Replies: 9
    Last Post: 11-28-2012, 02:38 AM
  3. How to use this code ??
    By yeat in forum Combat Arms EU Hack Coding/Source Code
    Replies: 4
    Last Post: 08-04-2010, 01:25 AM
  4. how can i get this code!! ZackthOP7D3Dv2.dll
    By onyok0 in forum Soldier Front General
    Replies: 2
    Last Post: 12-23-2009, 07:37 AM
  5. Warrock crashes when using this code in my D3D hack...
    By k2hacker in forum C++/C Programming
    Replies: 0
    Last Post: 07-21-2008, 05:04 PM