Jump to content

gknova61

Member
  • Content Count

    9
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About gknova61

  • Rank
    Private
  1. I just don't understand what I'm doing wrong... when I don't copy-pasta if statements and try to write my own I get this error lol Code: players = []; whitelist = ["Richard"]; { if((alive _x) && (_x != player) && (isPlayer _x) && (currentWeapon _x) && (!(name _x) in whitelist)) then { players = players + [_x]; hint format ["Found someone: %1",typeOf _x]; }; }forEach nearestobjects[player, ["CAManBase"], 1000]; //Basically, what I'm doing here is wanting all alive entities that aern't my player, but a human player themselves with a weapon in hand (ignore unarmed players), and if their name isn't in a whitelist, add them to an array of players to parse later. This is the part in the code with the error. Here is the error:
  2. There anyway I can do it without changing the 2nd script (initSoldier.sqf)? I can't change it at all.
  3. The title is worded poorly IMO but that's the best that I could get it to. Basically, I've got a mission in the making, and like alot of others, I've ran into a problem. So, I've got a variable being declared locally in one script (call it script B), and another script with the same variable being declared as compileFinal "test". Basically, I need this variable to carry on into the other script when the local variable is declared. Let me give you an example: init.sqf: _name = compileFinal "hi2"; [] execVM "initSoldier.sqf"; initSoldier.sqf: _name = "hi"; //In theory, this shouldn't change. It should stay the same (hi2) since it's compileFinal but it just declares as a new variable I'm guessing because it's in a different script. So, if I were to print this var to the screen, it would say hi, not hi2 I need to keep the variable in initSoldier.sqf local but what do I need to do in init.sqf for that to work so _name would still be hi2 even thou it's in a different script? Sorry for the confusing question lol.
  4. gknova61

    Stratis-RP:Ultimate is not dead quite yet...

    -General Store for civ -Cell Phone (make this an item you need to purchase) -Police Checkpoints? -Glasses on the manikins -Make money diving (like Turtle Poaching) -Make some gang areas and make them so gangs can 'take over' and hold down the areas Just a few ideas.
  5. gknova61

    ARMA 3 Addon Request Thread

    Thanks, dude! Is there also a folder where the server's mods are downloaded? If not, then consider this a request :)Another problem I have is with servers that have 'modpacks' that I need to update client-side on my own :P
  6. gknova61

    ARMA 3 Addon Request Thread

    A mod that allows you to download a server's mission file? Since I see the "Recieving Mission File", it must be getting it from the server but loading it into the RAM... can we get a mod that gives you the option to store the mission locally for later use? Often times I go on servers like insurgency and they're running a version of it that I can't seem to find on the forums but know that the admins are too incompetent to actually change any real things other than the name and the picture so people can't track the mission down to play for themselves.
  7. gknova61

    Stratis-RP: Ultimate

    Is any of the following going to be added? Some features are SealTeamSloth but would be very nice to see on here -Nametags that hover over names when you get close -Item and Gun Shop -Licenses -Airfield Shop -Gang Areas -Rebel Areas
  8. I've read the thread on how to setup an ArmA 3 dedicated server on linux but most of the commands and packages used in the tutorial are for Debian, Ubuntu, etc. and not CentOS. I was wondering if someone could do a tutorial or make a post on here how I would go about setting up a server on CentOS.
  9. gknova61

    Stratis-RP: Ultimate

    Was this done on the official mission/server? Reason I ask is because choppers weren't implemented yet...
×