Script issues

Hello, I am trying to make a script that turns a police car’s cruise lights on and off with a command, just before I put in my script that I’m having trouble with, just for reference, the cruise lights on this vehicle are extra 3, and the vehicle’s spawncode is lib11. Anyone know what I am doing wrong in the following script?
client.lua (600 Bytes)
Thank you!

There are a number of syntax errors in your code, as well as some bad logic when checking for the vehicle name. I edited the code but did not test it, see below:

ahhhhhh, I see now, that makes more sense, thank you so much!