NEW FREE SCRIPT AVAILABLE
- M-PropCreator
Welcome to the fivem in-game item creator by M-DEVELOPMENT
WHAT IS THIS
This script is a simple script which you can use on your server to place objects on all the sides you want on your server without having to configure it with lines of code, using the command that you can configure from Config.lua from the menu you can choose between two options
OPTIONS
- Create a prop
- Delete prop
When choosing the first option, an input will appear in which you will have to enter the name of a valid object model, otherwise it will not appear. Once you have placed the name of the object in input, you can simply configure the position and rotation of the object from the game. without having to modify anything, once you finish placing the object where you want you just have to press ESC and the object will be saved in the database and every time the script is restarted the object will appear in that position.
When you choose the second option, a menu will appear with all the objects previously created and saved in the database. There you will be able to see all the information such as the model of the object, coordinates and rotation. If you want to delete an object, you will simply have to click on it. element you want to delete and it will be automatically deleted from the database and the game at the same time
CONFIGURATION
The script is a script that does not need configuration, the only thing you need to start using the script is to drag the script folder to the resources folder of your server. run the sql contained inside the script and start the script on your cfg server
LINKS
PREVIEW
GITHUB
|
|
Code is accessible |
Yes/No |
Subscription-based |
Yes/No |
Requirements |
ox_lib |
Support |
Yes/No |
24 Likes
Thanks for this script ! Is it persistent after a server restart?
1 Like
Yes, all the props are saved in the database and appear at the start of the server.
1 Like
Have been using a persistent props resource but the addition of your gizmo to place them is too good to miss. Great release, thank you!
1 Like
Thank you very much, the intention is to make people’s work easier <3
how i can set, only admins can use the command? its possible?
2 Likes
It’s already there that only the admins can use it
lib.addCommand(Config.Command, {
help = 'Open the prop creator',
restricted = 'group.admin'
}, function(source, args, raw)
TriggerClientEvent("m:propcreator:opencreator", source)
end)
1 Like
As M_a_e_x_B_i_t_t_e_r said, that option is already defined
1 Like
my props seem to be disappearing every now and again? when i restart the prop resource they reappear what am i doing wrong?
Very good, make sure you have the latest version installed and make sure you have the database installed correctly
This is a great and useful tool! Awesome release!
1 Like
would be awesome if we get a “Edit” menu instead of a “Delete” menu…
so we can adjust some coords or change the model…
and in addition you could put the “delete-button” there
but overall a really nice script!
i’m also changing from a existing propcreator to yours! <3
EDIT:
i also send you already a Pull-Request
i’m really looking forward to push this resource!
3 Likes
Thank you very much for your contribution, these days I will be uploading the code eliminating the sql exports to optimize the code on the server side
1 Like
Idk if its a bug or issue on my side,
In mansion pmms script was not detecting TV so I placed a prop when i go near new prop it spawn multiple props
This week all problems related to the prop creator are fixed, you can join my discord to be notified
hello I have a problem with the script in fact the script appears higher than it should be
Had no idea our friend and dev Demi helped you with this!! Big W!!
Thank you for this!
– Dan
Great release ~!! Thank you for the contribution
I had this issue did you fix?