[Release] Model Blacklist v1.1

I have tried adding guns to black list some seem to work some don’t work. I tried another away someone posted think it was jager or something his way worked kinda all i want it is to black list a heap of guns

Is it possible that you can set that if someone tries to grab a blacklisted vehicle, it will be switched off instead of being deleted?

i am codeing something for that i will let you know when that is done
what i am working on is it will just kick them out of the vehicle

I want to add a username alert that runs a blacklist.

should look like this Screenshot_52

you can find a new and updated version here

function sendForbiddenMessage(message)
TriggerEvent(“chatMessage”, “”, {0, 0, 0}, “^1” … message)
end

function _DeleteEntity(entity)
Citizen.InvokeNative(0xAE3CBE5BF394C9C9, Citizen.PointerValueIntInitialized(entity))
end


sendForbiddenMessage(“This vehicle is blacklisted!”)
I want to show more than the message. How to display user name?

I need help, the script works for me but the vehicles arent being black listed how do you setup the vehicles capitals or no capitals?

uhhh… RPG can still be used even if it’s on the list…

Not if you blacklist it correctly, don’t just blacklist it in the table, use the hashkey.

It worked before, and magically doesn’t work now… It was done correctly.

Obviously not otherwise it would be blacklisted. Either you have done it incorrectly or you have broken the code.

Whatever, here to get it fixed not argue with you, you’re literally no help.

Is anyone else having an issue where it blacklists vehicles spawned using lambda menu but not simple trainer?

i was Trying to add weapons on to the modelblacklist Script and it wont let me add some weapons! Guys is there something im doing wrong i use https://paste.ubuntu.com/24355443/
codes https://gyazo.com/489419d9a69b52d1100f856bcff91a4a

Show your code and how you’re attempting to implement this.

Anyone got the Ambulance helicopter id?? :confused:

Its “POLMAV”
Its the Police helicopter but you just need to change the livery on it, Hope I helped.

I have noticed that all ready now but thank you so much for helping.

1 Like

I have tried other fixes I saw here but I can not get the car black list to work. The weapon blacklist works flawlessly but the car black list does not work at all. if someone could maybe check out why this wouldnt be working it would help out a ton. Thanks!
https://pastebin.com/wmPCuWfV