Player Controlled K9

Hiya
I’m trying to help out some friends server and they want the possibuility of a player to be the K9
Like when going on duty at the police station, choosing your uniform in the locker room you can instead of just choosing an police uniform you could also choose to be the dog (K9) since it would be more fun and open for more possibuilities while roleplaying if a player could be the K9.

Anyone know any scripts/coding to get this to work to put in the locker room so you could choose K9 ped as well?

Thanks in advanced

Use the search feature and use the K9 script that already exists. If you want it to ONLY be if you clock in you can probably have a variable that starts as false and execute client event to toggle the variable. If myVariable == true then
INSERT K9 MENU ENABLED FUNCTION
end

The k9 Menu has a whitelisting feature you should be able to hook into. #scripting should be able to help further (discord)