Remote vehicle ignition - code help.

and it doesn't work properly

Have you read this?