_Blink

groups.lua

Jan 25th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.27 KB | None | 0 0
  1.  
  2. local cfg = {}
  3.  
  4. -- define each group with a set of permissions
  5. -- _config property:
  6. --- gtype (optional): used to have only one group with the same gtype per player (example: a job gtype to only have one job)
  7. --- onspawn (optional): function(player) (called when the player spawn with the group)
  8. --- onjoin (optional): function(player) (called when the player join the group)
  9. --- onleave (optional): function(player) (called when the player leave the group)
  10. --- (you have direct access to vRP and vRPclient, the tunnel to client, in the config callbacks)
  11.  
  12. cfg.groups = {
  13. ["superadmin"] = {
  14. _config = {onspawn = function(player) vRPclient.notify(player,{"Voce e um Superadmin."}) end},
  15. "player.group.add",
  16. "player.group.remove",
  17. "player.givemoney",
  18. "player.giveitem"
  19. },
  20. ["admin"] = {
  21. "admin.tickets",
  22. "admin.announce",
  23. "admin.menu",
  24. "admin.easy_unjail",
  25. "admin.spikes",
  26. "admin.godmode",
  27. "admin.spawnveh",
  28. "admin.deleteveh",
  29. "player.blips",
  30. "player.tptowaypoint",
  31. "player.list",
  32. "player.whitelist",
  33. "player.unwhitelist",
  34. "player.kick",
  35. "player.ban",
  36. "player.unban",
  37. "player.noclip",
  38. "player.custom_emote",
  39. "player.custom_sound",
  40. "player.display_custom",
  41. "player.coords",
  42. "player.tptome",
  43. "emergency.revive",
  44. "emergency.shop",
  45. "player.tpto"
  46. },
  47. ["god"] = {
  48. "admin.god" -- reset survivals/health periodically
  49. },
  50. ["recruiter"] = {
  51. "player.list",
  52. "player.group.add",
  53. "player.group.remove"
  54. },
  55. ["mod"] = {
  56. "admin.tickets",
  57. "admin.announce",
  58. "player.list",
  59. "player.kick",
  60. "player.coords",
  61. "player.tptome",
  62. "emergency.revive",
  63. "emergency.shop",
  64. "player.tpto"
  65. },
  66. -- the group user is auto added to all logged players
  67. ["user"] = {
  68. "player.phone",
  69. "player.calladmin",
  70. "player.fix_haircut",
  71. --"mugger.mug",
  72. "police.store_weapons",
  73. "player.store_money",
  74. "player.loot",
  75. "player.player_menu",
  76. "player.userlist",
  77. "police.seizable", -- can be seized
  78. "user.paycheck",
  79. "wash.dirtymoney"
  80. },
  81. ["Pescador"] = {
  82. _config = { gtype = "job",
  83. onspawn = function(player) vRPclient.notify(player,{"Voce e um Pescador."}) end
  84. },
  85. "mission.delivery.fish",
  86. "pescador.paycheck",
  87. "fisher.service",
  88. "fisher.vehicle"
  89. },
  90. ["Mafia Italiana"] = {
  91. _config = { gtype = "job",
  92. onspawn = function(player) vRPclient.notify(player,{"Agora voce faz parte da Mafia Italiana."}) end
  93. },
  94. "mission.factionmi",
  95. "factionmi.vehicle",
  96. "weapons.seller.itemtransformation",
  97. "harvest.weed"
  98. },
  99. ["Primeiro Comando GTA"] = {
  100. _config = { gtype = "job",
  101. onspawn = function(player) vRPclient.notify(player,{"Agora voce faz parte do PCG."}) end
  102. },
  103. "mission.factionpcg",
  104. "factionpcg.vehicle",
  105. "weapons.seller.itemtransformation",
  106. "harvest.weed"
  107. },
  108. ["Cargo Pilot"] = {
  109. _config = { gtype = "job",
  110. onspawn = function(player) vRPclient.notify(player,{"You are a Cargo Pilot."}) end
  111. },
  112. "mission.pilot.cargo",
  113. "pilot.vehicle",
  114. "pilot.paycheck"
  115. },
  116. ["Airline Pilot"] = {
  117. _config = { gtype = "job",
  118. onspawn = function(player) vRPclient.notify(player,{"You are Pilot, salary : $6000."}) end
  119. },
  120. "airlines.service",
  121. "air.vehicle",
  122. "air.paycheck"
  123. },
  124. ["Transporte Medico"] = {
  125. _config = { gtype = "job",
  126. onspawn = function(player) vRPclient.notify(player,{"Voce transporta Maconha Medicinal."}) end
  127. },
  128. "mission.delivery.medical",
  129. "transportemedico.paycheck",
  130. "medical.service",
  131. "medical.vehicle"
  132. },
  133. ["Traficante de Armas"] = {
  134. _config = { gtype = "job",
  135. onspawn = function(player) vRPclient.notify(player,{"Voce e um Traficante de Armas."}) end
  136. },
  137. "mission.weapons.smuggler",
  138. "weapons.seller.itemtransformation",
  139. "smuggler.service"
  140. },
  141. ["Cabo"] = {
  142. _config = {
  143. gtype = "job",
  144. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  145. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  146. onleave = function(player) vRPclient.setCop(player,{true}) end
  147. },
  148. "Officer.cloakroom",
  149. "highway.cloakroom",
  150. "police.pc",
  151. --"police.handcuff",
  152. "police.putinveh",
  153. "police.getoutveh",
  154. "police.drag",
  155. "police.easy_cuff",
  156. "police.easy_fine",
  157. "police.easy_jail",
  158. "police.easy_unjail",
  159. "police.spikes",
  160. "police.menu",
  161. "police.check",
  162. "toggle.service",
  163. "police.freeze",
  164. "police.service",
  165. "police.wanted",
  166. "police.seize.weapons",
  167. "police.seize.items",
  168. --"police.jail",
  169. --"police.fine",
  170. "police.announce",
  171. -- "-police.store_weapons",
  172. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  173. "Soldado.vehicle",
  174. "Soldado.loadshop",
  175. "cop.whitelisted",
  176. "emergency.market",
  177. "emergency.revive",
  178. "emergency.shop",
  179. "player.list",
  180. "police.menu_interaction",
  181. "cabo.paycheck"
  182. },
  183. ["Major"] = {
  184. _config = {
  185. gtype = "job",
  186. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  187. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  188. onleave = function(player) vRPclient.setCop(player,{true}) end
  189. },
  190. "Sergeant.cloakroom",
  191. "highway.cloakroom",
  192. "police.pc",
  193. --"police.handcuff",
  194. "police.putinveh",
  195. "police.getoutveh",
  196. "police.service",
  197. "police.wanted",
  198. "police.seize.weapons",
  199. "police.seize.items",
  200. --"police.jail",
  201. --"police.fine",
  202. "police.drag",
  203. "police.easy_cuff",
  204. "police.easy_fine",
  205. "police.easy_jail",
  206. "police.easy_unjail",
  207. "police.spikes",
  208. "police.menu",
  209. "police.check",
  210. "toggle.service",
  211. "police.freeze",
  212. "police.announce",
  213. -- "-police.store_weapons",
  214. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  215. "police.vehicle",
  216. "Coronel.loadshop",
  217. "cop.whitelisted",
  218. "emergency.market",
  219. "emergency.revive",
  220. "emergency.shop",
  221. "player.list",
  222. "police.menu_interaction",
  223. "major.paycheck"
  224. },
  225. ["Samu"] = {
  226. _config = { gtype = "job",
  227. onspawn = function(player) vRPclient.notify(player,{"You are a medic, salary : $1500."}) end
  228. },
  229. "emergency.revive",
  230. "police.pc",
  231. --"police.wanted",
  232. "emergency.shop",
  233. "emergency.service",
  234. "emergency.cloakroom",
  235. "emergency.vehicle",
  236. "emergency.market",
  237. "samu.whitelisted",
  238. "Samu.loadshop",
  239. "player.list",
  240. "police.menu_interaction",
  241. "emergency.paycheck"
  242. },
  243. ["Mecanico"] = {
  244. _config = { gtype = "job",
  245. onspawn = function(player) vRPclient.notify(player,{"Voce e um Mecanico."}) end
  246. },
  247. "vehicle.repair",
  248. "vehicle.replace",
  249. "repair.service",
  250. "mission.repair.satellite_dishes",
  251. "mission.repair.wind_turbines",
  252. "repair.vehicle",
  253. "repair.market",
  254. "repair.paycheck"
  255. },
  256. ["Uber"] = {
  257. _config = { gtype = "job",
  258. onspawn = function(player) vRPclient.notify(player,{"Voce e um motorista de Uber."}) end
  259. },
  260. "uber.service",
  261. "uber.vehicle",
  262. "uber.paycheck"
  263. },
  264. -- ["Gunrunning"] = {
  265. -- _config = { gtype = "job",
  266. --onspawn = function(player) vRPclient.notify(player,{"Coming soon, Please wait!"}) end
  267. --}
  268. --},
  269. ["Desempregado"] = {
  270. _config = { gtype = "job",
  271. onspawn = function(player) vRPclient.notify(player,{"Voce esta Desempregado."}) end
  272. },
  273. "citizen.paycheck"
  274. },
  275. ["Entregador iFood"] = {
  276. _config = { gtype = "job",
  277. onspawn = function(player) vRPclient.notify(player,{"Voce e um Entregador do iFood."}) end
  278. },
  279. "mission.delivery.food",
  280. "delivery.vehicle",
  281. "delivery.paycheck"
  282. },
  283. ["Advogado"] = {
  284. _config = { gtype = "job",
  285. onspawn = function(player) vRPclient.notify(player,{"Voce e um Advogado."}) end
  286. },
  287. "Lawyer.vehicle",
  288. "Lawyer.whitelisted",
  289. "Lawyer.cloakroom",
  290. "Lawyer.paycheck"
  291. },
  292. ["Traficante de Drogas"] = {
  293. _config = { gtype = "job",
  294. onspawn = function(player) vRPclient.notify(player,{"Voce e um Traficante de Drogas."}) end
  295. },
  296. "mission.drugseller.weed",
  297. "drugseller.market",
  298. "harvest.weed"
  299. },
  300. ["Santa"] = {
  301. _config = { gtype = "job",
  302. onspawn = function(player) vRPclient.notify(player,{"You are Santa, ho ho ho."}) end
  303. },
  304. "mission.santa", -- What mission Santa has
  305. "santa.vehicle", -- Access to his garage
  306. "santa.paycheck", -- How much santa gets paid per 15 mins
  307. "santa.cloakroom", -- Santa's cloakroom
  308. "harvest.presents" -- What he gathers (item transformers.lua)
  309. },
  310. ["Hacker"] = {
  311. _config = { gtype = "job",
  312. onspawn = function(player) vRPclient.notify(player,{"Voce e um Hacker."}) end
  313. },
  314. "mission.hacker.information",
  315. "hacker.hack",
  316. "hacker.credit_cards"
  317. },
  318. ["Motorista de Carro-Forte"] = {
  319. _config = { gtype = "job",
  320. onspawn = function(player) vRPclient.notify(player,{"Voce e um Motorista de Carro-Forte."}) end
  321. },
  322. "mission.bankdriver.moneybank",
  323. "mission.bankdriver.moneybank2",
  324. "bankdriver.vehicle",
  325. "motoristacarroforte.paycheck",
  326. "bankdriver.money"
  327. },
  328. ["Soldado"] = {
  329. _config = { gtype = "job",
  330. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  331. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  332. onleave = function(player) vRPclient.setCop(player,{false}) end
  333. },
  334. "Officer.cloakroom",
  335. "police.putinveh",
  336. "police.getoutveh",
  337. "police.service",
  338. "police.seize.weapons",
  339. "police.drag",
  340. "police.easy_cuff",
  341. "police.easy_fine",
  342. "police.easy_jail",
  343. "police.easy_unjail",
  344. "police.spikes",
  345. "police.menu",
  346. "police.check",
  347. "toggle.service",
  348. "police.freeze",
  349. "police.announce",
  350. -- "-police.store_weapons",
  351. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  352. "Soldado.vehicle",
  353. "Soldado.loadshop",
  354. "cop.whitelisted",
  355. "police.menu_interaction",
  356. "soldado.paycheck"
  357. },
  358. ["GOE"] = {
  359. _config = { gtype = "job",
  360. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  361. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  362. onleave = function(player) vRPclient.setCop(player,{false}) end
  363. },
  364. "SWAT.cloakroom",
  365. "police.pc",
  366. --"police.handcuff",
  367. "police.putinveh",
  368. "police.getoutveh",
  369. "police.service",
  370. "police.wanted",
  371. "police.seize.weapons",
  372. "police.seize.items",
  373. --"police.jail",
  374. "police.drag",
  375. "police.easy_cuff",
  376. "police.easy_fine",
  377. "police.easy_jail",
  378. "police.easy_unjail",
  379. "police.spikes",
  380. "police.menu",
  381. "police.check",
  382. "toggle.service",
  383. "police.freeze",
  384. "police.announce",
  385. -- "-police.store_weapons",
  386. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  387. "police.vehicle",
  388. "GOE.loadshop",
  389. "emergency.market",
  390. "emergency.revive",
  391. "emergency.shop",
  392. "cop.whitelisted",
  393. "police.menu_interaction",
  394. "SWAT.paycheck"
  395. },
  396. ["Chief of Police"] = {
  397. _config = { gtype = "job",
  398. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  399. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  400. onleave = function(player) vRPclient.setCop(player,{false}) end
  401. },
  402. "Chief.cloakroom",
  403. "police.pc",
  404. --"police.handcuff",
  405. "police.putinveh",
  406. "police.getoutveh",
  407. "police.service",
  408. "police.drag",
  409. "police.easy_cuff",
  410. "police.easy_fine",
  411. "police.easy_jail",
  412. "police.easy_unjail",
  413. "police.spikes",
  414. "police.menu",
  415. "police.check",
  416. "toggle.service",
  417. "police.freeze",
  418. "police.wanted",
  419. "police.seize.weapons",
  420. "police.seize.items",
  421. --"police.jail",
  422. --"police.fine",
  423. "police.announce",
  424. --"-police.store_weapons",
  425. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  426. "police.vehicle",
  427. "police.loadshop",
  428. "emergency.market",
  429. "emergency.revive",
  430. "emergency.shop",
  431. "cop.whitelisted",
  432. "police.menu_interaction",
  433. "Chief.paycheck"
  434. },
  435. ["Cacador de Recompensas"] = {
  436. _config = { gtype = "job",
  437. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  438. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  439. onleave = function(player) vRPclient.setCop(player,{false}) end
  440. },
  441. "Bounty.cloakroom",
  442. --"police.handcuff",
  443. "police.putinveh",
  444. "police.getoutveh",
  445. "police.drag",
  446. "police.easy_cuff",
  447. "police.easy_fine",
  448. "police.easy_jail",
  449. "police.easy_unjail",
  450. "police.spikes",
  451. "police.menu",
  452. "police.check",
  453. "toggle.service",
  454. "police.freeze",
  455. "police.service",
  456. "police.wanted",
  457. "Bounty.vehicle",
  458. -- "-police.store_weapons",
  459. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  460. "Bounty.vehicle",
  461. "cop.whitelisted",
  462. },
  463. ["Tenente Coronel"] = {
  464. _config = { gtype = "job",
  465. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  466. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  467. onleave = function(player) vRPclient.setCop(player,{false}) end
  468. },
  469. "Sergeant.cloakroom",
  470. "police.pc",
  471. --"police.handcuff",
  472. "police.putinveh",
  473. "police.getoutveh",
  474. "police.service",
  475. "police.drag",
  476. "police.easy_cuff",
  477. "police.easy_fine",
  478. "police.easy_jail",
  479. "police.easy_unjail",
  480. "police.spikes",
  481. "police.menu",
  482. "police.check",
  483. "toggle.service",
  484. "police.freeze",
  485. "police.wanted",
  486. "police.seize.weapons",
  487. "police.seize.items",
  488. --"police.jail",
  489. --"police.fine",
  490. "police.announce",
  491. -- "-police.store_weapons",
  492. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  493. "police.vehicle",
  494. "Coronel.loadshop",
  495. "emergency.market",
  496. "emergency.revive",
  497. "emergency.shop",
  498. "cop.whitelisted",
  499. "police.menu_interaction",
  500. "tenentecoronel.paycheck"
  501. },
  502. ["State Trooper"] = {
  503. _config = { gtype = "job",
  504. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  505. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  506. onleave = function(player) vRPclient.setCop(player,{false}) end
  507. },
  508. "Commander.cloakroom",
  509. "police.pc",
  510. --"police.handcuff",
  511. "police.putinveh",
  512. "police.getoutveh",
  513. "police.service",
  514. "police.wanted",
  515. "police.seize.weapons",
  516. "police.drag",
  517. "police.easy_cuff",
  518. "police.easy_fine",
  519. "police.easy_jail",
  520. "police.easy_unjail",
  521. "police.spikes",
  522. "police.menu",
  523. "police.check",
  524. "toggle.service",
  525. "police.freeze",
  526. "police.seize.items",
  527. --"police.jail",
  528. --"police.fine",
  529. "police.announce",
  530. --"-police.store_weapons",
  531. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  532. "police.vehicle",
  533. "police.loadshop",
  534. "emergency.market",
  535. "emergency.revive",
  536. "emergency.shop",
  537. "cop.whitelisted",
  538. "police.menu_interaction",
  539. "Commander.paycheck"
  540. },
  541. ["Coronel"] = {
  542. _config = { gtype = "job",
  543. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  544. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  545. onleave = function(player) vRPclient.setCop(player,{false}) end
  546. },
  547. "Sergeant.cloakroom",
  548. "police.pc",
  549. --"police.handcuff",
  550. "police.putinveh",
  551. "police.getoutveh",
  552. "police.service",
  553. "police.wanted",
  554. "police.drag",
  555. "police.easy_cuff",
  556. "police.easy_fine",
  557. "police.easy_jail",
  558. "police.easy_unjail",
  559. "police.spikes",
  560. "police.menu",
  561. "police.check",
  562. "toggle.service",
  563. "police.freeze",
  564. "police.seize.weapons",
  565. "police.seize.items",
  566. --"police.jail",
  567. --"police.fine",
  568. "police.announce",
  569. -- "-police.store_weapons",
  570. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  571. "police.vehicle",
  572. "Coronel.loadshop",
  573. "emergency.market",
  574. "emergency.revive",
  575. "emergency.shop",
  576. "cop.whitelisted",
  577. "police.menu_interaction",
  578. "coronel.paycheck"
  579. },
  580. ["Capitao"] = {
  581. _config = { gtype = "job",
  582. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  583. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  584. onleave = function(player) vRPclient.setCop(player,{false}) end
  585. },
  586. "Sergeant.cloakroom",
  587. "police.pc",
  588. --"police.handcuff",
  589. "police.putinveh",
  590. "police.getoutveh",
  591. "police.service",
  592. "police.drag",
  593. "police.easy_cuff",
  594. "police.easy_fine",
  595. "police.easy_jail",
  596. "police.easy_unjail",
  597. "police.spikes",
  598. "police.menu",
  599. "police.check",
  600. "toggle.service",
  601. "police.freeze",
  602. "police.wanted",
  603. "police.seize.weapons",
  604. "police.seize.items",
  605. --"police.jail",
  606. --"police.fine",
  607. "police.announce",
  608. -- "-police.store_weapons",
  609. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  610. "police.vehicle",
  611. "Coronel.loadshop",
  612. "emergency.market",
  613. "emergency.revive",
  614. "emergency.shop",
  615. "cop.whitelisted",
  616. "police.menu_interaction",
  617. "capitao.paycheck"
  618. },
  619. ["Tenente"] = {
  620. _config = { gtype = "job",
  621. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  622. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  623. onleave = function(player) vRPclient.setCop(player,{false}) end
  624. },
  625. "Officer.cloakroom",
  626. "police.pc",
  627. --"police.handcuff",
  628. "police.putinveh",
  629. "police.getoutveh",
  630. "police.service",
  631. "police.drag",
  632. "police.easy_cuff",
  633. "police.easy_fine",
  634. "police.easy_jail",
  635. "police.easy_unjail",
  636. "police.spikes",
  637. "police.menu",
  638. "police.check",
  639. "toggle.service",
  640. "police.freeze",
  641. "police.wanted",
  642. "police.seize.weapons",
  643. "police.seize.items",
  644. --"police.jail",
  645. --"police.fine",
  646. "police.announce",
  647. -- "-police.store_weapons",
  648. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  649. "police.vehicle",
  650. "Sargento.loadshop",
  651. "emergency.market",
  652. "emergency.revive",
  653. "emergency.shop",
  654. "cop.whitelisted",
  655. "police.menu_interaction",
  656. "tenente.paycheck"
  657. },
  658. ["Sargento"] = {
  659. _config = { gtype = "job",
  660. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  661. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  662. onleave = function(player) vRPclient.setCop(player,{false}) end
  663. },
  664. "Officer.cloakroom",
  665. "police.pc",
  666. --"police.handcuff",
  667. "police.putinveh",
  668. "police.getoutveh",
  669. "police.service",
  670. "police.wanted",
  671. "police.drag",
  672. "police.easy_cuff",
  673. "police.easy_fine",
  674. "police.easy_jail",
  675. "police.easy_unjail",
  676. "police.spikes",
  677. "police.menu",
  678. "police.check",
  679. "toggle.service",
  680. "police.freeze",
  681. "police.seize.weapons",
  682. "police.seize.items",
  683. --"police.jail",
  684. --"police.fine",
  685. "police.announce",
  686. -- "-police.store_weapons",
  687. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  688. "police.vehicle",
  689. "Sargento.loadshop",
  690. "emergency.market",
  691. "emergency.revive",
  692. "emergency.shop",
  693. "cop.whitelisted",
  694. "police.menu_interaction",
  695. "sargento.paycheck"
  696. },
  697. ["Dispatcher"] = {
  698. _config = { gtype = "job",
  699. onjoin = function(player) vRPclient.setCop(player,{true}) end,
  700. onspawn = function(player) vRPclient.setCop(player,{true}) end,
  701. onleave = function(player) vRPclient.setCop(player,{false}) end
  702. },
  703. "police.pc",
  704. "police.check",
  705. "police.service",
  706. "police.drag",
  707. "police.easy_cuff",
  708. "police.easy_fine",
  709. "police.easy_jail",
  710. "police.easy_unjail",
  711. "police.spikes",
  712. "police.menu",
  713. "police.check",
  714. "toggle.service",
  715. "police.freeze",
  716. "police.wanted",
  717. "police.announce",
  718. -- "-police.store_weapons",
  719. "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  720. "emergency.market",
  721. "emergency.revive",
  722. "emergency.shop",
  723. "cop.whitelisted",
  724. "police.menu_interaction",
  725. "Dispatch.paycheck"
  726. },
  727.  
  728.  
  729. -- ["trafficguard"] = {
  730. -- _config = { gtype = "job",
  731. -- onjoin = function(player) vRPclient.setCop(player,{true}) end,
  732. -- onspawn = function(player) vRPclient.setCop(player,{true}) end,
  733. -- onleave = function(player) vRPclient.setCop(player,{false}) end
  734. -- },
  735. -- "police.cloakroom",
  736. -- "police.pc",
  737. -- "police.handcuff",
  738. -- "police.putinveh",
  739. -- "police.getoutveh",
  740. -- "police.check",
  741. -- "police.service",
  742. -- "police.wanted",
  743. -- "police.seize.weapons",
  744. -- "police.seize.items",
  745. -- "police.jail",
  746. -- "police.fine",
  747. -- "police.announce",
  748. -- "-police.store_weapons",
  749. -- "-police.seizable", -- negative permission, police can't seize itself, even if another group add the permission
  750. -- "police.vehicle",
  751. -- "police.loadshop",
  752. -- "cop.whitelisted",
  753. -- "trafficguard.paycheck"
  754. -- },
  755.  
  756.  
  757. -- whitelist group for police, emergency and president jobs / add player to this group and user can view the job selection / search in the map
  758. -- moderator=president / president is guy from the server give a player group cop ems moderator when admin is offline / sallary : $10.000
  759. ["cop"] = {
  760. "cop.whitelisted"
  761. },
  762. ["Exotic Car Dealer"] = {
  763. _config = { gtype = "job",
  764. onspawn = function(player) vRPclient.notify(player,{"You are an Exotic Car Dealer"}) end
  765. },
  766. "exotic.whitelisted",
  767. "exotic.vehicle",
  768. "player.group.add",
  769. "player.group.remove",
  770. "player.list"
  771. },
  772. ["buyer"] = {
  773. "exotic.vehicle"
  774. },
  775. ["samu"] = {
  776. "samu.whitelisted"
  777. },
  778. ["moderator"] = {
  779. "president.whitelisted"
  780. }
  781. }
  782.  
  783. -- groups are added dynamically using the API or the menu, but you can add group when an user join here
  784. cfg.users = {
  785. [1] = { -- give superadmin and admin group to the first created user on the database
  786. "superadmin",
  787. "admin",
  788. "recruiter"
  789. }
  790. }
  791.  
  792. -- group selectors
  793. -- _config
  794. --- x,y,z, blipid, blipcolor, permissions (optional)
  795.  
  796. cfg.selectors = {
  797. ["Empregos Legais"] = {
  798. _config = {x = -268.363739013672, y = -957.255126953125, z = 31.22313880920410, blipid = 351, blipcolor = 47},
  799. "Uber",
  800. "Mecanico",
  801. "Entregador iFood",
  802. "Motorista de Carro-Forte",
  803. "Pescador",
  804. "Transporte Medico",
  805. "Desempregado"
  806. },
  807. --["Police job"] = { -- Alta Street
  808. -- _config = {x = 447.35137939453, y = -975.57592773438, z = 30.689584732056, blipid = 351, blipcolor = 38, permissions = {"cop.whitelisted"} },
  809. -- "Coronel",
  810. -- "Tenente Coronel",
  811. -- "Major",
  812. -- "Capitao",
  813. -- "Tenente",
  814. -- "Sargento",
  815. -- "Cabo",
  816. -- "Soldado",
  817. -- "Desempregado"
  818. -- },
  819. -- ["Police job 2"] = { -- Sandy Shores
  820. -- _config = {x = 1857.5961914063, y = 3688.8952636719, z = 34.267040252686, blipid = 351, blipcolor = 38, permissions = {"cop.whitelisted"} },
  821. -- "Coronel",
  822. -- "Tenente Coronel",
  823. -- "Major",
  824. -- "Capitao",
  825. -- "Tenente",
  826. -- "Sargento",
  827. -- "Cabo",
  828. -- "Soldado",
  829. -- "Desempregado"
  830. -- },
  831. --["Police job 3"] = { -- Paleto Bay
  832. -- _config = {x = -449.00927734375, y = 6017.1953125, z = 31.716377258301, blipid = 351, blipcolor = 38, permissions = {"cop.whitelisted"} },
  833. --"Coronel",
  834. --"Tenente Coronel",
  835. --"Major",
  836. --"Capitao",
  837. --"Tenente",
  838. --"Sargento",
  839. --"Cabo",
  840. --"Soldado",
  841. --"Desempregado"
  842. --},
  843. ["Empregos Hospital"] = { -- Spawn Hospital
  844. _config = {x = 249.50639343262, y = -1375.0694580078, z = 39.534378051758, blipid = 351, blipcolor = 2, permissions = {"samu.whitelisted"} },
  845. "Samu"
  846. },
  847. -- ["Lawyer"] = {
  848. -- _config = {x = -1911.9273681641, y = -569.71649169922, z = 19.097215652466, blipid = 351, blipcolor = 7, permissions = {"Lawyer.whitelisted"} },
  849. -- "Lawyer"
  850. -- },
  851. ["Empregos Ilegais"] = {
  852. _config = {x = 705.61859130859, y = -964.17913818359, z = 30.395343780518, blipid = 351, blipcolor = 1},
  853. "Traficante de Drogas",
  854. "Traficante de Armas",
  855. "Hacker",
  856. "Desempregado"
  857. },
  858. -- ["Airline Pilot"] = {
  859. -- _config = {x = -759.6591796875, y = -1515.3978271484, z = 4.9768991470337},
  860. -- "Airline Pilot",
  861. -- "Desempregado"
  862. -- },
  863. -- ["Cargo Pilot"] = {
  864. -- _config = {x = -928.89624023438, y = -2937.396484375, z = 13.945074081421,blipid = 472, blipcolor = 4},
  865. -- "Cargo Pilot",
  866. -- "Desempregado"
  867. -- },
  868.  
  869. }
  870.  
  871. return cfg
Add Comment
Please, Sign In to add comment