To pick up them, you just have to be close to spike and press E.
It’s synced on it’s own way, works on both non-onesync and onesync servers.
Can it be as an item? Yes, you can easily hook it to ESX / QBcore or any other framework that you are using.
Answering to comments above, what’s difference between free ones? Cructial one is that it just works, both on low end pc and high end ones (players with low fps can ride thru free script’s spikes and don’t get them to destroy tires)
Secondly, my script detects which wheel collided with spike and destroy only that one, no matter the size of the wheel (free scripts used to destroy every wheel on contact with spikes)
For standalone, does this use ACE perms to control who has access? I found a free one that works, but since we are standalone, we would have to add all the people authorized to use it individually by steam hex which is not something we have any interest in doing.
In this resource, you can setup an access to it by using an export, not via ace perms. For example:
exports["mmtirespikes"]:SetAccess(true) -- allow setting up spikes
exports["mmtirespikes"]:SetAccess(false) -- disallow setting up spikes
By this, you can easily make it work only for certain job, or to specified user. Adding an ace perm to it is still an option, but you are not only limited to that thanks to that exports.
Since we are running a standalone framework, we don’t have “jobs” so I’d have to write something just to implement the exports. Is the code obfuscated or restricted in any way that would prevent me from redoing it to use ACE perms myself since it sounds to me like you are satisfied with the exports option. Adding ACE perms and having a config option to require them or not would be nicer as a lot of standalone servers use resources like DiscordAcePerms so they can set ACE perms based on Discord roles very easily.
Code is encrypted using FiveM’s escrow system, but it does not prevent you from adding access to tirespikes by ace perms or discord perms. I can provide you any information needed to do that on my discord.