Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

drfart

Member
  • Content Count

    24
  • Joined

  • Last visited

  • Medals

Everything posted by drfart

  1. I would like to see a map of the Gaza strip its a small area that could have great CQC. if you could add the israeli fence, the checkpoint and some tunnels it would be great
  2. init.sqf: cash=0; player addEventHandler ["entityKilled", {null = [] execVM "addCash.sqf";}]; addCash.sqf: _caller = _this select 1; if (_caller side == west); cash=cash+200; hint format ["Cash: %1",cash]; if (_caller side == civilian); cash=cash-100; hint format ["Cash: %1",cash]; so this is single player and theres a sniper (GUER) and i want to do that when he kills an blufor unit cash=cash+200 and this is what i came up with and it wont work
  3. yeah i posted a second after the message so i didnt see it
  4. theres a problem with the side : if (_victim |#|side == "west")
  5. im looking for an undercover script like in R34P3Rs Like Ghosts mission im trying to find it but i cant find it anywhere can anyone help?
  6. this wont work in mp :b _curProgress = 0; hacked = false; laptop1 removeAction 0; while {_curProgress < 100} do { _curProgress = _curProgress + 5; hintSilent format ["Hacking: %1", _curProgress]; if (_curProgress >= 100) then { hacked = true; _curProgress = 100; hint "Hacking Completed!"; }; sleep 1; };
  7. no last time i needed help with some coditions for SP this time i need a simple script for MP
  8. when i press the addAction nothing happends _unit = _this select 0; _curProgress = 0; hacked = false; laptop1 removeAction 0; while {!alive _unit && _curProgress < 100 && laptop1 distance _unit <10 && (side _unit == west) } do { _curProgress = _curProgress + 5; hintSilent format ["Hacking: %1", _curProgress]; if (_curProgress >= 100) then { hacked = true; _curProgress = 100; hint "Hacking Completed!"; }; sleep 1; };
  9. so how do i define the unit that will use the addAction?
  10. i used addAction to the init field of the laptop
  11. yes laptop1 addAction ["hack","hack.sqf"]
  12. i went in and checked it and it still doesnt work ):
  13. oh shit i didnt notice thanks XD
  14. can i contact you through steam i need some help with scripts im trying to add to it
  15. and by undercover i dont mean set it to night time / put setcaptive on
  16. that the enemies will think im just a civ and when i have a gun out and they see me they will shoot me and when i run near them it will be suspicus and they will shoot me or something like that or if im in an area im not supposed to be in
  17. i want to make a script(SP) that when someone fires near any unit that is not the player it creates a waypoint to a car with a few blufor units in it and i want the waypoint to be where the player shot his weapon i thought i just started scripting two weeks ago and im still having a tough time btw can i launch the script with this? player addEventHandler ["FiredNear", {null = [] evecXM script.sqf";}];
  18. wait i just looked at it i want that only if the player shoots the units will come
  19. im trying to make a car shop and what i came up with is this cost = 1500 if (cash > _cost) then { cash=cash-_cost; hint "cash Taken"; "A3L_JeepGreenBlack" createVehicle (getPos "carSpawn"); }else{ hint "Not enough money"; }; i got an object named carSpawn and its not working can someone help me please
  20. im trying to do the same only with any weapon can you help me? :p
  21. the money check script wont work it says you have $any halp :p
×