deleteReview
exports["RiP-JobcenterV2"]:deleteReview(reviewKey, xPlayer)
This function deletes a job review by it's id/key
Arguments
Name | Type | Optional | Explenation |
---|---|---|---|
reviewKey | String | No | Review key (starts with rip-000000) |
xPlayer | Object | Yes | ESX xPlayer object |
Example
local xReview = "rip-999999"
local xPlayer = ESX.GetPlayerFromId(source)
exports['RiP-JobcenterV2]:deleteReview(xReview, xPlayer)