Jump to content

Alexander Hamilton

Member
  • Posts

    30
  • Joined

  • Last visited

Posts posted by Alexander Hamilton

  1.  

    Does not work that way with include/config files.

     

    What you can do instead is do a check in your custom compiles.

    Snapping = false; //this is global variable that can be toggled any time
    
    if (!isDedicated) then {
    
    if (Snapping) then {
    player_build = compile preprocessFileLineNumbers "Snapping\player_build.sqf"; //will load snap building
    } else {
    player_build = compile preprocessFileLineNumbers "dayz_code\compile\player_build.sqf";  //if false, will load defaults
    };
    
    };
    

    O ok thank you alot  :P silly me 

  2. Ok I have a scripting question for you i want to make a config in my init an example would be i want to make Snapping = 1; then later down do if (Snapping == 1) then { run scripts }; then in the desc.ext call that config in the init how would i do this would i do if (Snapping in init.sqf == 1) then..... ? or how would one do this?

  3. Hold the shit please don't pay a soul or the no plot pole that is a config that you can change in the init.sqf.. I mean a nice person would do it or free.. because those scripts are 1-2 minute installs each with directions for each but if you need help I am willing to help I don't want money. and you should not pay the heavy breathing cat for that.

×
×
  • Create New...