Server
Here you can find all server events and exports you can use.
Exports
-- @param job: insurance job to get insured players from
exports['gp_InsuranceSystem']:GetInsuredPlayers(job)
-- example usage
local Players = exports['gp_InsuranceSystem_ESX']:GetInsuredPlayers('ambulance')
for identifier,playerData in pairs(Players) do
print("Identifier: " .. identifier ..
"\nPlan: " .. playerData.plan ..
"\nPlayername: " .. playerData.playername ..
"\nStartDate: " .. playerData.startDate ..
"\nNextPaymentDate: " .. playerData.nextPaymentDate)
endvariable
description
variable
description
variable
description
Last updated