Server
Here you can find all server events and exports you can use.
Exports
GetInsuredPlayers - Returns all insured players of the job
Variables for the playerData for each player:
plan
Plan name of the insurance/membership
playername
Name of the player
startDate
Start date of the insurance/membership
nextPaymentDate
Next payment date of the insurance/membership
GetPlanDetails - Returns the insurance/membership details of the player
You only need source or identifier! Input nil for the other parameter.
label
Insurance/Membership plan name
coverage
coverage of the plan
price
price of the plan
paymentInterval
payment interval of the plan
startingPrice
startingprice of the plan
cancelPrice
cancelprice of the plan
GetPrivateInsuranceCoverage - Returns the insurance/membership coverage of the player
You only need source or identifier! Input nil for the other parameter.
GetPlayerBusinessInsuranceCoverage - Returns coverage of the players business insurance/membership
You only need source or identifier! Input nil for the other parameter.
GetBusinessInsuranceDetails - Returns insurance/membership contitions of the business
methode
"fix" or "member"
coverage
coverage
price
price
paymentInterval
payment interval
startingPrice
startingprice
cancelPrice
cancelprice
Last updated
Was this helpful?