Git Product home page Git Product logo

ps-objectspawner's Introduction

Project Sloth GitHub Project PS-OBJECTSPAWNER Banner

ps-objectspawner

A well thought out simplistic user-friendly experience for spawning objects around your server.

Project Sloth Buttons 2

Dependencies:

⚠️Important:

First, run the included sql file to create the objects table in your database. Also, the /object command will only work for players with god permissions, by default.


Project Sloth GitHub Project PS-OBJECTSPAWNER Install Banner

Instructions:

After creating the objects table and ensuring you have the god permission, use the /object command to open the spawning/management menu. In the Create menu, you can name and search for objects you would like to place in the world. You can also specify a spawning distance, that will determine when the object becomes visible to the player; this is specified in standard FiveM distance units. Finally, can add a type of target that the object will hold. We have provided an example (ex container) event/target that will create an inventory stash for the spawned object, but more can be added through the client code.

In the Manage menu, you will see all the objects you have added and information about each. You can also teleport to the objects and delete them, if needed.

Finally, the object hashes within the Search list are maintained in the included objectlist file.


Project Sloth GitHub Project PS-OBJECTSPAWNER Features Banner

Some features to mention within this ps-objectspawner:

  • Spawn objects
  • Manage objects
  • Render distance for optimization
  • Teleport to objects placed

Project Sloth GitHub Project PS-OBJECTSPAWNER Showcase Banner

Time to show you what it looks like!

Here's a few showcased examples while using ps-objectspawner.

Spawn object:

unknown (4)

Place object:

unknown (3)

Manage objects:

unknown (5)

Search for object:

unknown

Credits:

Inspiration and some code snippets from Svelte & Lua Boilerplate by Project Error

Copyright © 2022 Project Sloth. All rights reserved.

ps-objectspawner's People

Contributors

darktrovx avatar joeszymkowicz avatar joeszymkowiczfivem avatar loljoshie avatar pushkart2 avatar s1lentcodes avatar

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.