Skip to main content

deleteReview

exports["RiP-JobcenterV2"]:deleteReview(reviewKey, xPlayer) 

This function deletes a job review by it's id/key

Arguments

NameTypeOptionalExplenation
reviewKeyStringNoReview key (starts with rip-000000)
xPlayerObjectYesESX xPlayer object

Example

local xReview = "rip-999999"
local xPlayer = ESX.GetPlayerFromId(source)

exports['RiP-JobcenterV2]:deleteReview(xReview, xPlayer)