Hey, this is the topic of NanoSP - Simple Spawner for FiveM made via lua 5.4.
It’s still in a BETA version, was originally created for my server called “cfx.sa”, which wanted to be a SA-MP styled server, but due to personal stuff, it has been cancelled, so I am posting the ripoff scripts as releases.
Our current one is a command-sided spawner, which lets the people spawn vehicles, peds, and weapons for themselves by just simply entering the model names. The code can be used for personal benefits for free, I don’t mind credit, but it’s your business what you do with it.
I’m waiting for ideas and responses for this resource, I am actually not a lua scripter, I never did anything with MTA, or former mp-games required lua to config, I was fully a SAMP developer before. But I have a kinda good sense for lua too, cause I always wanted to learn it and I might have done it half way already ![]()
Now, the commands are:
- /v (vehicle) (color - optional) | Vehicle models - Cfx.re Docs
- /ped (ped name) | Ped models - Cfx.re Docs
- /weapon (weapon name) | (The list can be found on another forums, same as the vehicle colors, which can be added as second arg of /v.)
I am really excited of what you guys think about this, I think it’s very dynamic cause most of the servers having menus instead of simple commands, I was always a type and run guy. Thank you for reading this, have a very nice day and new year (or whatever it is 2 weeks later)!