To lock a differential, all you need to do is change the following: Code: "diffType":"locked", "lockTorque":20000, So you will want to change the "diffType" to be locked, then you will want to add in the bit about "lockTorque" and set it to something really high like shown above. This will give you a locked diff. To create it as a separate part, duplicate one of the other differentials, change its name (name of object and name displayed in game) and then make the above modifications.
There are huge chunks of code missing from those files thats the problem use the gavril rear end and look for the "locked" version of it that should fix your problem
where to put gavrilrear end locked code?? --- Post updated --- i added but now when i spawn car its not spawning and i dont see it and cant drive --- Post updated --- where to fin this difftype? i cant find it in rear suspension --- Post updated --- can someone lock the diff or add new one? and put file here?
now when i put welded diff in car shut off and i cant start it --- Post updated --- Solved! thanks to RobertGracie.