Hello.
Dunko’s vRP doesn’t have a Firefighter Job in it. Thats why I added to the Phone Firefighters, a Job with name Firefighters, garage and cloakroom. Everything is fully editable. Due Copyright i’m not sharing Files, I’m sharing the code.
Features
You can call Firefighters and only Firefighters will recevice the call not the EMS Paramedics.
Firefighters have their own garage and cloakroom. You can use modified clothes.
INSTALLATION
FOLLOW THE STEPS CLEARLY TO NOT MAKE ANY MISTAKES - MAKE BACKUPS!!!
- Navigate to resources/vrp/cfg
- Open garages.lua
2.1 Paste this code between two other garage messages
["Firefighter"] = {
_config = {vtype="car",blipid=61,blipcolor=75,permissions={"ems.vehicle"}},
["firetruk"] = {"Firefighter's Truck",0, ""}
},
2.2 Paste this code at the end between to other lines
{"Firefighter",209.26206970214,-1649.4545898438,29.803216934204},
2.3 Congratulations! You have just installed the garage script.
- Open cloakroom.lua
3.1 Add this on the top at all other "local"s
local fire_male = {model = "s_m_y_fireman_01"}
3.2 Add this between two other messages like in garages.lua
["Firefighter"] = {
_config = { permissions = {"emergency.cloakroom"} },
["Firefighter"] = fire_male,
},
3.3 Ad this at the end between two other messages
"Firefighters",210.88485717774,-1656.9345703125,29.803215026856},
3.4 Congratulations! You have just installed the cloakroom. You can find it on a * Symbol in the bottom of Los Santos. (Rancho)
- Open groups.lua (IMPORTANT STEP)
4.1 Add this between two other messages (between two other jobs)
["Firefighter"] = {
_config = { gtype = "job",
onspawn = function(player) vRPclient.notify(player,{"You are a Firefighter, salary : $2500."}) end
},
"emergency.revive",
"feuerwehr.service",
--"police.wanted",
"emergency.shop",
"emergency.cloakroom",
"emscheck.revive",
"emergency.vehicle",
"emergency.market",
"ems.whitelisted",
"ems.loadshop",
--"player.list",
"police.menu_interaction",
"emsSearchRescue.paycheck",
"player.blips"
},
4.3 As always, go to bottom and paste it between two other messages.
["Firefighter"] = {
_config = {x = 216.48849487304, y = -1640.3049316406, z = 29.59056854248, blipid = 351, blipcolor = 31},
"Firefighter",
"Unemployed"
},
4.4 Congratulations! You have just added the Job Selector at the Rancho Station.
5.1 LAST STEP open phone.lua
5.2 Add this between two other phone calls
["Firefighter"] = {
blipid = 153,
blipcolor = 1,
alert_time = 30, -- 5 minutes
alert_permission = "feuerwehr.service",
alert_notify = "~r~Firefighter:~n~~s~",
notify = "~b~You've just called the firefighters.",
answer_notify = "~g~The Firefighters are responding to your call."
},
5.3 Congratulations! You have just installed the Phone calls.
6. Congratulations! You have just installed the Firefighter script.
Please note: Installing this script is on your own risk, i’m not obliged to fix your errors. Its from my server and I’m sharing it.
NOTE: ONLY WORKS FOR vRP
THIS MESSAGE IS NOT IN USE