Giter Site home page Giter Site logo

smarttape's Introduction

London Studios

London Studios - Update

Since forming London Studios in April 2020 we've created a number of high quality and premium resources for the FiveM project, focusing on the emergency services and aiming to bring your server to the next level.

Although we made a number of free resources such as this one in the first year, we've now switched to creating paid content, keeping them constantly updated and working along with providing the best possible support to our customers.

Our most popular resources now include Smart Fires, Police Grappler and Smart Hose.

With thousands of happy customers we are confident you'll love our resources and our active support team are on hand to help if you have any questions!

Therefore, this resource is now likely out of date and is no longer supported by us. The full source code is available should you wish to make any changes. All of our paid resources however are constantly updated and we invite you to take a look!

SmartTape

SmartTape - London Studios

SmartTape is a FiveM police tape resource allowing you to secure scenes with different tapes, which we believe is a first for FiveM. You can easily add tape in an area, move tape and set the length all from a simple menu. We've included a police tape model with three variants, a british police tape, inner corden tape and fire tape. You have the ability to customise these textures and change the name for the menu.

This plugin is made by LondonStudios, we have created a variety of releases including TaserFramework, SearchHandler, ActivateAlarm, SmartTester, SmartSounds, CustodyAlarm, SmartObservations and more!

Join our discord here.

Buy Me A Coffee

Usage

/tape - Open or close the tape management menu. You can press F10 (changeable) to open this menu. You can now change the default keybind used by all players.

This command is configurable in Settings > Keybinds > FiveM. Every player can select their own keybind.

Creating a new tape: To create a new tape, press F10 or use /tape to open the menu. Press "Create new tape" and select the size. Next, press the type of tape, these are configurable in the config.ini.

You are then able to move around and change the position of the tape. Press E to set the tape down. Press UP ARROW or DOWN ARROW to move the tape up and down.

Managing tape: You are only able to move or delete your own tape. This may be changed in a future update. Open the menu using F10 or /tape. Press "Manage Tape", you must be nearby a tape. Next, you can either move the tape or delete the tape from the menu.

Installation

  1. Create a new resource folder on your server.
  2. Add the contents of "resource" inside it. This includes: "Client.net.dll", "fxmanifest.lua", "config.ini", "SharpConfig.dll", "NativeUI.dll", "stream"
  3. In server.cfg, "ensure" SmartTape, to make it load with your server startup.

Configuration

The "config.ini" file allows you to change the names of the tape that they appear in, for the menu. This may allow you to change the tape textures, for example if you wanted to change the fire tape to a police tape.

[SmartTape]
Tape1 = Police Tape
Tape2 = Inner Cordon Tape
Tape3 = Fire Tape
Keybind = F10

On line 2, you can change the name of the first tape. On line 3, you can change the name of the second tape. On line 4, you can change the name of the third tape. On line 5, you can change the default keybind for all players.

You are not able to add more tapes at this time, we may add this in the near future!

Changing textures: You have the ability to change textures of the three police tapes. Texture dictionary file names: Police Tape 1: p_clothtarp_s.ytd Police Tape 2: prop_cordon_tape.ytd Police Tape 3: prop_fire_tape.ytd

Source Code

Please find the source code in the "src" folder. Please ensure you follow the licence in "LICENCE.md".

Feedback

We appreciate feedback, bugs and suggestions related to SmartTape and future plugins. We hope you enjoy using the resource and look forward to hearing from people!

Errors & Suggestions

If you encounter any bugs or errors with the plugin, we encourage you to report them and we will actively fix them. We are also looking for suggestions on how we can improve this, ensuring all users get the best possible experience.

Please note there are no physics currently with the tapes and they do not move in the wind, we may look into this for the future - stay tuned for more updates!

Credits

We could not have made this plugin without the help of a third party modeller. We'd like to thank Adam Fenton for creating the 3D model, and L.Walker for texturing the police tape! We hope to work with them in the future.

Screenshots

We've really enjoyed making this plugin. Take a look at some screenshots of the plugin in action. SmartTape

SmartTape SmartTape SmartTape

SmartTape

SmartTape

SmartTape SmartTape SmartTape

SmartTape

smarttape's People

Contributors

londonstudios avatar

Stargazers

Bosnny avatar Domi avatar HelixHEX avatar  avatar  avatar FabOne avatar  avatar Neverhit avatar Recon avatar DORP avatar  avatar HearingSubset19 avatar rpRIGGS avatar Delsa avatar Nik avatar Flávio Pereira avatar Joshua avatar WEEZOOKA avatar jamie avatar Cisco avatar dariob avatar jacob avatar Leonid avatar  avatar DarioD avatar  avatar Krissy Heishman avatar Lucas Lima avatar  avatar

Watchers

 avatar

smarttape's Issues

Bug with the script.

Hey, You made a lovely script but there some issues which ruin the experience. After placing the tape at some point you cannot delete it and also most of the tape that spawns in has broken collisions.

some ideas

would be nice, if you could make in config.cfg to allow/deny writing command /tape. and make tape menu export

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.