Documentation

Clamp Notice & Fees

The clamp notice, release fees, fee pricing and where the money goes.

#Reading the Notice

Every clamped wheel offers "Read clamp notice". It shows the plate, the clamped wheel, the release fee when it can be paid, and how to get the clamp off.

With notice.allowPayment on (default), the driver pays the fee on the notice and the clamp comes off into their arms. A fee of 0 shows a "Release clamp" button instead. With phone payments on and a supported phone running, the notice points to the Clamp Release app instead; see Phone App & Website. With payment off, the notice tells the driver to call the listed numbers, or to contact whoever holds the key.

The notice also prints your instructions, the contacts numbers, the fitter's phone number with fitterNumber, and the fitter's note with fitterNote. Tapping a number copies it. To dial it through your phone instead, change CallClampContact in client/unlocked/notice.lua.

The windscreen keypad shows the same instructions, numbers and note. See Windscreen Clamp.

#Release Fees

The fee is fixed when the clamp is fitted and stored with it.

ClampDefault FeeSettingPricing Hook
Wheel clamp500notice.feeGetWheelclampReleaseFee in server/unlocked/notice.lua
Windscreen clamp750windscreen.feeGetWindscreenClampFee in server/unlocked/windscreen.lua

The fee is taken from the payer's account (bank by default). A payer who can't afford it is told so and nothing is taken.

#Pricing While Fitting

With customPricing.enabled, the fitting form lets the fitter choose the configured default fee or one of the customPricing.tiers, such as "Repeat offence". With custom.enabled on, the fitter can also type a whole amount between custom.min and custom.max. An amount outside the range is refused on the form.

The fee picker only shows for clamps that can be paid: wheel clamps need notice.enabled and notice.allowPayment, windscreen clamps windscreen.allowPayment.

#Where the Money Goes

Release fees are paid into the society account set under notice and windscreen, police by default. On ESX, a job name such as police is paid into its society_police account. Set society = false to keep the fee out of circulation.

To send fees somewhere else, such as your own banking resource, change PayClampSociety in server/unlocked/notice.lua. A failed society payment prints a warning to the server console, but the clamp still comes off.