Hello, i currently have a key swep to doors but im trying to add so you can lock/unlock vehicles.
My problem is that what ive tryed doesnt work the doors works like they should but when im trying to
lock/unlock a vehicle nothing happends…
think it might be something with “SetNextPrimaryFire” but i dont know this is what ive got
and there is no errors and it just doesnt do anything.
When i spawn the car:
in the keys swep with only doors:
currently code. Then i tryed adding keys to vehicle:
Problem: Found a fix.
EDIT: Found the problem myself.