1. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

v 2.5.x FA:S 2.0 Alpha Sweps

Discussion in 'Tutorials' started by Pab14567, Dec 25, 2014.

  1. Pab14567

    Pab14567 Well-Known Member

    Okay so after like 3-4 hours (including interruptions) I finished this, finally!
    No one seems really interested in it but I thought of just saving other people sometime, including chibby as he already coded M9K Weapons, well add this to his list :)

    CookieMaster Helped me with the attachments when I was just a noob hehe, so give him some credit also.


    to which ever you want :) or whatever your gundealer team name is set to. You can also modify the prices anyway you want and or the names, :)




    Assault Rifles:

    Sniper Rifles:



    That's about it :)
    If you need the links to download the official weapons, they're down below

    FA:S 2.0 Alpha SWEPS

    FA:S 2.0 Alpha SWEPS - Pistols

    FA:S 2.0 Alpha SWEPS - Rifles

    FA:S 2.0 Alpha SWEPS - Shotguns

    FA:S 2.0 Alpha SWEPS - Sub-MachineGuns

    FA:S 2.0 Alpha SWEPS - U. Rifles

    Hope this helps!

    P.S Ammo for it coming soon! If wanted of course :)
    Questions or errors? Message me via the forums or steam @ http://steamcommunity.com/id/cumonsteponit/

    Last edited: Jan 25, 2015
  2. twitchyb1t

    twitchyb1t Member

    Oh and guys if you want to add attatchments to a job so when they spawn they get it (swat get scope and forgrip for example)

    add this line in your jobs
    to find out the attachment goto the weapons shared and look for SWEP.Primary.Ammo or somthing along those lines
    PlayerLoadout = function(ply)
    Pab14567 likes this.
  3. [GG]Tense!

    [GG]Tense! Member

    Nice work to both of you!
  4. Callum

    Callum New Member

    This changed my server from m9k to Fas as it looks well much better. Thank you for the config as well really helpful. May you also do the ammo as well please. Would be much appreciated.
  5. Pab14567

    Pab14567 Well-Known Member

    I will get right to it!
  6. Pab14567

    Pab14567 Well-Known Member

    Added FA:S Ammo, should be all of them.
  7. [GG]Tense!

    [GG]Tense! Member

    I've had a look through and there appear to be a few issues:

    For any lines you set for single, set BOTH booleans to "True", leaving the shipment lines both to "False".
    Reason: The first Boolean is "sold as singles" and the second is "noShipment"

    Secondly, there are shipments of only one for like 5 times the price?
    Other than that, the only other amount is 10.

    Once I've given it a once-over, I'll upload a fixed-up version with the prices you've set.

    I like the way this is made since you can label how many are in the shipment, maby someone can send this as a push to the DarkRP master-brench.
    Something along the lines of
    Code (Text):
    if shipment=true then shipmentLable( label .. " x" amount)
    or something hidiously easy or ridiculously complicated, I'm too tired to do anything about it.
  8. (FPtje) Atheos

    (FPtje) Atheos Main Developer Staff Member

    People themselves should be able to decide how that is done. If you do "label x amount" you'll get people who will want "amount x label", "label (amount x)", "(x amount) label" and a myriad of other combinations.
  9. [GG]Tense!

    [GG]Tense! Member

    It's just item-times-amount is the standard really, if I figure out a simple way to do it, hell if it can be done using a DarkRP module for others to customise, I'm all for sharing it.

    More issues with the list Both the entries for the "MP5SD6" was named just that, error came back as "weapon not available", edited to include "Single" and "Shipment" suffix, both options now work.

    Although for some bizzare reason the Glock20 single entry doesn't work, have used the example from the Wiki which has fixed it.
  10. Pab14567

    Pab14567 Well-Known Member

    That's weird, It's the same code I put for my darkrp server and no errors pop up.
    It all works fine
  11. Pab14567

    Pab14567 Well-Known Member

    Currently working on Battlefield 4 on GDCW
  12. MEEKR1T

    MEEKR1T New Member

    "This shipment is unavailable" Any ideas on how to fix this?
  13. 4FUNgamer

    4FUNgamer New Member

    Thanks man, u helped me alot :D

Share This Page