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.

Release Bank Robbery System

Discussion in 'DarkRP Addon & Plugin Releases' started by n00bmobile, Dec 8, 2014.

  1. n00bmobile

    n00bmobile Active Member

    DarkRP Only.
     
  2. Null

    Null New Member

    it is darkrp but it works now
     
  3. ZombieSgt

    ZombieSgt Member

    This is probably late, but I'm confused as to placing it in a certain position. How do I do that?
     
  4. n00bmobile

    n00bmobile Active Member

    You spawn a Bank and shove it anywhere you want, type BankRSSave and profit.
     
  5. ZombieSgt

    ZombieSgt Member

    So pretty much I just spawn something like the money pallet? Then do BankRSSave?
     
  6. n00bmobile

    n00bmobile Active Member

    Yeah, just spawn the bank_vault entity and do BankRSSave.
     
  7. Huey

    Huey New Member

    How do I configure the jobs? I had it like this
    Code (Text):
        ["Cops"] = {"TEAM_POLICE", "TEAM_CHIEF", "TEAM_SWAT", "TEAM_FBI", "TEAM_SWAT", "TEAM_BANKSECURITY"},
                ["Bankers"] = {"TEAM_BANKMANAGER"},
                ["Robbers"] = {"TEAM_BANKROBBER"},
    That didn't work so I tried this
    Code (Text):
        ["Cops"] = {"Police Officer", "Police Chief", "Swat", "FBI", "Swat Leader", "Bank Security"},
                ["Bankers"] = {"Bank Manager"},
                ["Robbers"] = {"Bank Robber"},
    That also didn't work.
     
  8. n00bmobile

    n00bmobile Active Member

    What's not working? You aren't allowed to Rob with the teams you configure or something? More details please :)
     
  9. Huey

    Huey New Member

    I am not allowed to rob with the teams I configured.
     
  10. CGFier

    CGFier Member

    I would say that you could use TEAM_ like you did, but without quotes. But it turns out that n00b made it compare the string to the team name, which would error because it's not a string.
     
  11. Huey

    Huey New Member

    What do you mean for the last part?
     
  12. CGFier

    CGFier Member

    If you put the TEAM_s without quotes, it's not a string and will give an error because it's looking for the team name, not the identifier.
    --- Double Post Merged, Apr 14, 2016 ---
    If he was to use ply:Team() instead of getting the teams name (forget off the top of my head) what I said would work. But he's not.
     
  13. n00bmobile

    n00bmobile Active Member

    Couldn't explain it any better myself!
     
  14. CGFier

    CGFier Member

    Do you have any plans to changing it to check for the team and not its name?
     
  15. n00bmobile

    n00bmobile Active Member

    Seems like wasting time for nothing, I mean the current way works perfectly. I might do that for future addons or something else, I dunno.
     
  16. CGFier

    CGFier Member

    Would you be alright with doing it and make it a pull request on Github?
     
  17. n00bmobile

    n00bmobile Active Member

    Yeah, sure. I'll take a look at what you did and blablabla.
     
  18. CGFier

    CGFier Member

    Let me fix my mistake in typing, would you be alright with me doing it.
     
  19. Darkkn1ght63

    Darkkn1ght63 New Member

    So, It isn't showing up in my Entities tab, is there any fix for that?
     
  20. n00bmobile

    n00bmobile Active Member

    Which system is your server hosted on?
     

Share This Page