Its hard to say if you here the clicking from under the dash its your relay's or relay module making the noise....If its from the door its your actuators now if its the actuators in the door and the noise is only from lets say locking the door and there is no sound switching to unlock you may have burnt the switch...If from under the dash it all depends on the alarm I believe Viper alarms send a negative pulse for there lock and unlock which would mean they would have to have used a polarity reversing module or relays as your truck should use a 3 wire positive pulse to lock and unlock...If your clicking is from under the dash and its only when pressing lock and no clicking during unlock then most likely you could have a bad relay or a bad fuse if they fused the relay or a fuse may be in place from the source of the 12v...now if the door actuators are making noise in lock and unlock and your getting clicking form lock and unlock from under the dash you should take it to where you had the alarm installed to see if you have a bad relay/door lock module....I am assuming you had factory power door locks....If the alarm was allready installed when u got the truck or if u installed it check those things and post what ya found on here and I will try and help ya thru or at least point ya in the right direction....