Jump to content

fshow

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by fshow

  1. Been having the same problems.. After checking the RPT log, it appears that at some occations when this happens, the PHIT marks is logged AFTER the PKILL, so at the time the PKILL message arrives, there is no shooter, so it seems like they killed themselves.. Dont know for sure tho, but if someone who knows more about this than me can check things out, it would be great..

  2. I got this working,no problem..

    But, i park a heli on top of my base, and drive my car outside. If i step out of the car, i get the "attach to heli" option, even if the heli is empty and locked. Just tested, and the car got lifted in the middle of base.

    Tried looking in the files if there was a check for a pilot, but the only check i found was for heli to be above 5m, under 15m and for the car to be empty!

    Am i wrong? This needs to be fixed anyways tho..

  3. Hi.

     

    Had some problems coming up with a decent title for the thread, hope you got what i meant..

     

    I'm making an AI base that will request helibackup unless radio station is cleared before entering a certain area..

     

    How do i do this?

    I'm thinking i have to count the AI's in a radius of a position, or can i give the AI's a certain ID or something, so the script can check if that ID is alive or not?

     

    I'd appreciate any help or feedback on this..

  4. Anybody have a working version with Infistar AH? The instructions to make variables private are too complicated for me? 

     

    Any body can share thier code so i can replace it to be compatible with AH?

    I got this working with infistar without doing anything special at all... Just followed the instructions!

     

    But, anyone got a way to implement the payment functionality the traders have?

    So you can repair for 2 gold with 1 bc in your inventory, or atleast with a 2oz gold bar and not only 2xgoldbars... I know i can edit the code so it accepts only 1 x 2oz bar aswell, but i want both possibilities! :)

  5. Uploaded every single file to my webhost, put in all the information in the setup and push "GOOooo" .

    It then redirects me to index.php, which is totally blank. 

    view-source gives me nada, not even a single <html> tag.Tried checking out the php files for any obvious errors, but i cant find any..

    Anyone got any ideas?

     

     

    edit: I'm on track of something.. I have php 5.4 installed, but it seems its set to use 5.2 anyways.. And, when i set it to 5.4, i cant view a single page on my webhost.. Uh.. WIP!

  6. @fshow sorry but I had had to LOL at your post, because the whole point of this was that driver weapon can be reamed now, if you add this then my addition is pointless and you can just remove that instead of adding a double check what I just enabled.. :D

    Check the last page here or something there is a discussion and fix, before that you could never ream in the driver seat but it seems many admins use custom vehicles wither turrets in the driver seat so I "had to" enable it.

     

    Haha, didnt get that :D I just added this script recently, and got many remarks about the rearm horn thing, so i googled it and found that question and your answer. ;)

    So i made a fix, since i dont have any vehicles on my server (that i can think of atm atleast) who have driver weapons, so this fix fits me perfectly! :)

     

    And it wasnt really my intention that you should add this to the script itself, just information to people who want to disable it, like me. :)

  7. Weird, but I don't think that can easily be blacklisted because the "horn" is like a weapon in teh ArmA engine. Maybe one reason why the ream didn't work for the driver seat in the first place, but idk why someone wants to rearm the horn... :P

     

     

    I don't think that is easily done, because the amount of fuel is not accessible from the script I think, only a percentage value.

    I mean if a vehicle is being refueled the script can not add an amount of 100 litres or something but only 1% for example. Maybe there is a way but I don't know.

     

    You dont need to ban horn, just disable rearming if driver.

    In service_point.sqf, find

    if ((_role call _fnc_isArmed) && (count SP_rearm_actions == 0) && _rearm_enable) then {
    

    and replace it with

    if ((assignedDriver _vehicle != player) && (_role call _fnc_isArmed) && (count SP_rearm_actions == 0) && _rearm_enable) then {
    

    and voila!

    No more rearm horn.

×
×
  • Create New...