Config.CarLiftCreator=false-- enable this only on dev server, you can open car lift creator via /carliftcreator command (https://www.youtube.com/watch?v=0KHiz_MKl2g)
Config.CustomJobEvent=false-- enable this if you want use custom job event for detect if player have a job (for lifts which have enabled onlyjoballowed function)
Config.CustomJobEventName="rtx_carlift:SetJob"-- you can execute this event for set player job in car lift script (its clientside event) for example TriggerEvent("rtx_carlift:SetJob", "mechanic") (after that, script will know that player have job mechanic)
-- You can detect if vehicle is on lift via our function IsVehicleOnLift example: local vehicleonlift, liftheight = exports["rtx_carlift"]:IsVehicleOnLift(vehicle) (vehicleonlift return false or true, liftheight return height on which lift currently is)
-- for add new lift you need just copy line from 29 to 42 and paste it at under line 42
objecthandler={frame=nil,lift=nil},-- dont edit this
manipulating=false,-- dont edit this
manipulatingplayerid=nil,-- dont edit this
lifttype=4,-- lift type 1-4
buttonuppress=false,-- dont edit this
buttondownpress=false,-- dont edit this
onlyjoballowed=true,-- enable this if you want lift restricted only for some jobs (works for only for qbcore and esx)
jobs={
["mechanic"]=true,
["police"]=true,
},
},-]]
}
functionNotify(text)
exports["rtx_notify"]:Notify("Lift",text,5000,"info")-- if you get error in this line its because you dont use our notify system buy it here https://rtx.tebex.io/package/5402098 or you can use some other notify system just replace this notify line with your notify system