[RELEASE] [FREE] BlacklistVehicles

Hello! i got bored and i made this script that is very easy to use and free so here you can get it

-GitHub - TalosTheMinoan/Blacklist-Vehicles: prevent cheaters of using blacklisted vehicles!

here you can watch a preview:

-Watch 2024-01-07 23-49-58 | Streamable

Thank you for passing by see you on another release!

If you want to ask me something find me on discord i will answer as soon as possible :slight_smile:

discord: talosminoan

THIS IS AN OUTDATED VERSION PLEASE USE THE NEW VERSION FOR BETTER EXPERIENCE HERE IS THE LINK:[RELEASE] [FREE] BlacklistVehicles v2

2 Likes

Do i need to change something to make it work with qbcore?

1 Like

I think it works on qbcore can you test it and tell me please?

I have tested it with “dumper” and “camper”, “airtug” , they still spawn

1 Like

have you added them to blacklist? from the config.lua. if you did and doesnt work tell me to fix it!

oh and btw if you saw the video they spawn but to get deleted you have to do /checkblacklistedcars command on F8 or chat (soon it will be autommatically in feature update)

1 Like

I would advise moving this server side if you use onesync, can also add blacklisted props into it too.

AddEventHandler(‘entityCreating’, function(Entity)

local Model = GetEntityModel(Entity)
local Owner = NetworkGetEntityOwner(Entity)

if Config.BlacklistedVehicles[GetHashKey(Model)] then
CancelEvent()
DropPlayer(source, “reason”)
I would advise banning source here
end
end)

1 Like

Thank you for letting me know! its gonna be on the next update and that with the props i dont think i will add it because the script is only for vehicles but i will have it in mind have a great day!