[Project Sloth][FREE] PS Object Spawner

Project Sloth

Passionate developers and designers with a primary focus on providing quality resources that are open source and entirely free for all of the FiveM community to enjoy and use.

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:

:warning: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

24 Likes

Once again awesome work from you guys! :laughing:

Amazing Again from you guys!!

1 Like

wo0t wo0t!!

Nice. Is it comming for ESX?

1 Like

They only do Qbcore

When i hit spawn object after filling out the boxes the object is there but kind of transparent, And moves around with my mouse movements… Like i am supposed to hit a button to place it? :thinking: I dont see nothing about this in your showcase

Any help much appreciated :grinning:

Fantastic!!!

1 Like

Sadge

The controls are displayed at the bottom of the screen. Arrows to rotate, E to place, ESC to cancel placement.

1 Like

Another nice release!

2 Likes

Ohh blimey! So they are :rofl:

Thanks for the info

Ps this works Flawlessly :handshake:

does this support custom prop?

Yeah it does.

1 Like

I am trying to use ps-objectspawner and I’ve got through the entire script and changed where it says “god” to “admin” so admins have access to the /object command BUT the command doesn’t do anything and I am not getting any errors… Anyone know why this would be?

Really nice script

Looking good guys, keep it up!

check your perms maybe

Did you ever figure this out?

is this for admins only?