EX:
esx_joblisting_sv.lua
Lines 42 to 67
function(rows)
for i = 1, #rows, 1 do
_name = rows[i].firstname .. ' ' .. rows[i].lastname
end
if data.type == "police" then
postApp(_name, data.phone, data.licenses, data.exp, Config.Webhook.police)
elseif data.type == "ambulance" then
postApp(_name, data.phone, data.licenses, data.exp, Config.Webhook.ambulance)
elseif data.type == "journalist" then
postApp(_name, data.phone, data.licenses, data.exp, Config.Webhook.journalist)
elseif data.type == "cardealer" then
postApp(_name, data.phone, data.licenses, data.exp, Config.Webhook.cardealer)
elseif data.type == "mechanic" then
postApp(_name, data.phone, data.licenses, data.exp, Config.Webhook.mechanic)
elseif data.type == "realestate" then
postApp(_name, data.phone, data.licenses, data.exp, Config.Webhook.realestate)
elseif data.type == "taxi" then
postApp(_name, data.phone, data.licenses, data.exp, Config.Webhook.taxi)
elseif data.type == "fire" then
postApp(_name, data.phone, data.licenses, data.exp, Config.Webhook.fire)
elseif data.type == "delivery" then
postApp(_name, data.phone, data.licenses, data.exp, Config.Webhook.delivery)
end
end)
UI.HTML
Lines 77 through 89
Profissões:
Policia
Resgate
Bombeiro
Jornalista
Mecânico
Taxi