Thanks for your answers.
I used solution of HPWebcamAble, and after some editing and troubleshooting I managed to make it work flawlessly.
To KingofGamesYami:
For my case I did something similiar, but with determining if its argument given or not.
r05ty's Content
There have been 2 items by r05ty (Search limited from 29-March 23)