Alert
-- Purpose: Edit functions, events, and vars for the client side of the Big Rig job.
-- msg [string]: Message to display in the notification
-- type [string]: Type of notification to display
-- timeout [int]: Time in milliseconds to display the notification
function Alert(msg, type, timeout)
lib.notify({
type = type,
title = locale('job_name'),
description = msg,
icon = "fas fa-truck",
duration = timeout,
position = "top",
})
endHelp Text
Vehicle Spawned
Vehicle Despawn
Worker Ped Spawned
Ped Spawned
Dispatch
CB Radio
Last updated