Jump to content

boyhas

Member
  • Content Count

    12
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About boyhas

  • Rank
    Private First Class
  1. This is Lighton.sqf: Private ["_vehicle","_lightRed","_lightBlue","_lightleft","_lightright","_leftRed"]; _vehicle = _this select 0; if(isNil "_vehicle" OR isNull _vehicle OR !(_vehicle getVariable "suvlights")) exitWith {}; _lightRed = [20, 0.1, 0.1]; _lightBlue = [0.1, 0.1, 20]; _lightleft = "#lightpoint" createVehicle getpos _vehicle; sleep 0.2; _lightleft setLightColor _lightRed; _lightleft setLightBrightness 0.2; _lightleft setLightAmbient [0.1,0.1,1]; _lightleft lightAttachObject [_vehicle, [-0.37, 0.0, 0.56]]; _lightleft setLightAttenuation [0.181, 0, 1000, 130]; _lightleft setLightIntensity 10; _lightleft setLightFlareSize 0.38; _lightleft setLightFlareMaxDistance 150; _lightleft setLightUseFlare true; _lightleft setLightDayLight true; _lightright = "#lightpoint" createVehicle getpos _vehicle; sleep 0.2; _lightright setLightColor _lightBlue; _lightright setLightBrightness 0.2; _lightright setLightAmbient [0.1,0.1,1]; _lightright lightAttachObject [_vehicle, [0.37, 0.0, 0.56]]; _lightright setLightAttenuation [0.181, 0, 1000, 130]; _lightright setLightIntensity 10; _lightright setLightFlareSize 0.38; _lightright setLightFlareMaxDistance 150; _lightright setLightUseFlare true; _lightright setLightDayLight true; _leftRed = true; while{ (alive _vehicle)} do { if(!(_vehicle getVariable "suvlights")) exitWith {}; if(_leftRed) then { _leftRed = false; _lightright setLightBrightness 0.0; sleep 0.05; _lightleft setLightBrightness 6; } else { _leftRed = true; _lightleft setLightBrightness 0.0; sleep 0.05; _lightright setLightBrightness 6; }; sleep (_this select 1); }; deleteVehicle _lightleft; deleteVehicle _lightright;
  2. [bump] Anyone have any ideas?
  3. Hello, I'm fairly new to scripting and was wondering if anyone could help me. I am trying to have this work: (Script is a police lightbar script for those wondering) I added the 'execvm "lightbar\lighton.sqf' part and it gives the option to turn the lightbar on, but nothing happens when you do it. Hope someone can help! -Boyhas
  4. boyhas

    Altis Life RPG

    Thank you so much buddy! Really appreciated! Edit: I took a look at the 2 files, and I am stumped. What do I need to edit/add? Thanks.
  5. boyhas

    Altis Life RPG

    Would anyone be able to tell me how I can have Civilian gear save? (guns etc.) Thanks, -Boyhas
  6. boyhas

    Altis Life RPG

    Same issue here :/
  7. boyhas

    Altis Life RPG

    When vehicles get inpounded they get sent to your garage. (I also found that the police vehicles are red aswell.)
  8. boyhas

    Altis Life RPG

    Cop weapon shop isn't working :/
  9. boyhas

    Altis Life RPG

    I have found that the cop shops aren't working. Any fix for this?
  10. boyhas

    Altis Life RPG

    Hello, I was just wondering if anyone here can help me. I am trying to make it so that once a player is restrained, they are unable to enter any vehicles near to them and when they are put into a vehicle by a cop it doesn't allow them to Eject or Change seats. Hope someone can help! Thanks, Boyhas. Edit: I also want to make it so that the person restrained can still use VON (i've tried disableuserinput)
  11. boyhas

    China soft lands on the Moon

    hahahaha, I see what ya did there ;)
×