From 246996f2d9af0678070ce75effddbc7885146d60 Mon Sep 17 00:00:00 2001 From: Hawk Date: Sun, 29 Dec 2024 21:06:22 +0100 Subject: [PATCH] Part 9 --- resources/[qb]/[qb_jobs]/cad-diving/README.md | 2 + .../[qb]/[qb_jobs]/cad-diving/cl_diving.lua | 73 + .../[qb]/[qb_jobs]/cad-diving/fxmanifest.lua | 7 + .../[qb]/[qb_jobs]/cad-diving/sv_diving.lua | 17 + .../[qb]/[qb_jobs]/cad-postalop/README.md | 15 + .../[qb]/[qb_jobs]/cad-postalop/client.lua | 283 + .../[qb]/[qb_jobs]/cad-postalop/config.lua | 44 + .../[qb_jobs]/cad-postalop/fxmanifest.lua | 19 + .../[qb]/[qb_jobs]/cad-postalop/handling.meta | 62 + .../[qb]/[qb_jobs]/cad-postalop/server.lua | 18 + .../[qb]/[qb_jobs]/keep-oilwell/.gitignore | 2 + resources/[qb]/[qb_jobs]/keep-oilwell/LICENSE | 674 ++ .../[qb]/[qb_jobs]/keep-oilwell/README.md | 223 + .../[qb_jobs]/keep-oilwell/client/client.lua | 407 ++ .../client/client_lib/client_lib_entry.lua | 203 + .../client/client_lib/menu/CDU_menu.lua | 122 + .../client/client_lib/menu/blender_menu.lua | 199 + .../client/client_lib/menu/edit_menu.lua | 83 + .../client/client_lib/menu/pump_menu.lua | 290 + .../client/client_lib/menu/storage_menu.lua | 322 + .../client/client_lib/menu/transport_menu.lua | 205 + .../keep-oilwell/client/target/qb_target.lua | 285 + .../keep-oilwell/client/target/target.lua | 137 + .../[qb]/[qb_jobs]/keep-oilwell/config.lua | 167 + .../[qb_jobs]/keep-oilwell/fxmanifest.lua | 33 + .../inventoryicons/drive_shaft.png | Bin 0 -> 5935 bytes .../keep-oilwell/inventoryicons/oilBarrel.png | Bin 0 -> 15971 bytes .../inventoryicons/oil_filter.png | Bin 0 -> 16512 bytes .../keep-oilwell/inventoryicons/oilwell.png | Bin 0 -> 12091 bytes .../inventoryicons/relief_valve_string.png | Bin 0 -> 11278 bytes .../keep-oilwell/inventoryicons/skew_gear.png | Bin 0 -> 21548 bytes .../inventoryicons/timing_chain.png | Bin 0 -> 18502 bytes .../server_lib/Server_GlobalScirptData.lua | 715 +++ .../keep-oilwell/server/server_lib/refund.lua | 24 + .../server/server_lib/server_lib_entry.lua | 294 + .../keep-oilwell/server/server_main.lua | 1034 +++ .../keep-oilwell/shared/shared_main.lua | 120 + resources/[qb]/[qb_jobs]/keep-oilwell/sql.sql | 49 + .../[qb_jobs]/kloud-farmjob/.gitattributes | 2 + .../[qb]/[qb_jobs]/kloud-farmjob/LICENSE | 674 ++ .../[qb]/[qb_jobs]/kloud-farmjob/README.md | 209 + .../kloud-farmjob/framework/client/esx.lua | 37 + .../kloud-farmjob/framework/client/qb.lua | 52 + .../kloud-farmjob/framework/server/esx.lua | 47 + .../kloud-farmjob/framework/server/qb.lua | 26 + .../[qb_jobs]/kloud-farmjob/fxmanifest.lua | 37 + .../[qb]/[qb_jobs]/kloud-farmjob/init.lua | 221 + .../kloud-farmjob/install/images/cabbage.png | Bin 0 -> 10088 bytes .../install/images/coffee_beans.png | Bin 0 -> 8997 bytes .../install/images/dirty_cabbage.png | Bin 0 -> 9312 bytes .../install/images/dirty_coffee_beans.png | Bin 0 -> 13723 bytes .../install/images/dirty_potato.png | Bin 0 -> 11714 bytes .../install/images/dirty_tomato.png | Bin 0 -> 11827 bytes .../kloud-farmjob/install/images/orange.png | Bin 0 -> 12364 bytes .../kloud-farmjob/install/images/potato.png | Bin 0 -> 8347 bytes .../kloud-farmjob/install/images/shovel.png | Bin 0 -> 7205 bytes .../kloud-farmjob/install/images/tomato.png | Bin 0 -> 9297 bytes .../kloud-farmjob/install/images/trowel.png | Bin 0 -> 7743 bytes .../inventory/client/ox_inventory.lua | 7 + .../inventory/client/qb-inventory.lua | 23 + .../inventory/client/qs-inventory.lua | 8 + .../inventory/server/ox_inventory.lua | 28 + .../inventory/server/qb-inventory.lua | 62 + .../inventory/server/qs-inventory.lua | 39 + .../[qb_jobs]/kloud-farmjob/locales/da.json | 14 + .../[qb_jobs]/kloud-farmjob/locales/en.json | 14 + .../kloud-farmjob/modules/field/events.lua | 129 + .../kloud-farmjob/modules/field/functions.lua | 148 + .../kloud-farmjob/modules/shops/events.lua | 87 + .../[qb]/[qb_jobs]/kloud-farmjob/server.lua | 77 + .../kloud-farmjob/shared/animations.lua | 24 + .../[qb_jobs]/kloud-farmjob/shared/checks.lua | 13 + .../[qb_jobs]/kloud-farmjob/shared/config.lua | 14 + .../kloud-farmjob/shared/location_config.lua | 414 ++ .../[qb_jobs]/kloud-farmjob/shared/utils.lua | 225 + .../kloud-farmjob/target/ox_target.lua | 32 + .../kloud-farmjob/target/qb-target.lua | 74 + .../[qb]/[qb_jobs]/pickle_taxijob/README.md | 51 + .../pickle_taxijob/bridge/esx/client.lua | 48 + .../pickle_taxijob/bridge/esx/server.lua | 75 + .../pickle_taxijob/bridge/qb/client.lua | 42 + .../pickle_taxijob/bridge/qb/server.lua | 67 + .../bridge/standalone/client.lua | 4 + .../bridge/standalone/server.lua | 4 + .../[qb]/[qb_jobs]/pickle_taxijob/config.lua | 74 + .../[qb_jobs]/pickle_taxijob/core/client.lua | 62 + .../[qb_jobs]/pickle_taxijob/core/shared.lua | 10 + .../[qb_jobs]/pickle_taxijob/fxmanifest.lua | 24 + .../pickle_taxijob/locales/locale.lua | 14 + .../locales/translations/da.lua | 26 + .../modules/business/client.lua | 109 + .../modules/business/server.lua | 32 + .../pickle_taxijob/modules/mission/client.lua | 174 + .../pickle_taxijob/modules/mission/server.lua | 19 + .../[qb]/[qb_jobs]/qb-ambulancejob/LICENSE | 674 ++ .../[qb]/[qb_jobs]/qb-ambulancejob/README.md | 35 + .../[qb_jobs]/qb-ambulancejob/client/dead.lua | 223 + .../qb-ambulancejob/client/emsbag_cl.lua | 74 + .../[qb_jobs]/qb-ambulancejob/client/job.lua | 1025 +++ .../qb-ambulancejob/client/laststand.lua | 181 + .../[qb_jobs]/qb-ambulancejob/client/main.lua | 1067 ++++ .../qb-ambulancejob/client/wounding.lua | 238 + .../[qb]/[qb_jobs]/qb-ambulancejob/config.lua | 599 ++ .../[qb_jobs]/qb-ambulancejob/fxmanifest.lua | 30 + .../[qb_jobs]/qb-ambulancejob/locales/da.lua | 133 + .../qb-ambulancejob/server/emsbag_sv.lua | 39 + .../[qb_jobs]/qb-ambulancejob/server/main.lua | 482 ++ resources/[qb]/[qb_jobs]/qb-busjob/LICENSE | 674 ++ resources/[qb]/[qb_jobs]/qb-busjob/README.md | 21 + .../[qb]/[qb_jobs]/qb-busjob/client/main.lua | 343 + resources/[qb]/[qb_jobs]/qb-busjob/config.lua | 164 + .../[qb]/[qb_jobs]/qb-busjob/fxmanifest.lua | 25 + .../[qb]/[qb_jobs]/qb-busjob/locales/da.lua | 29 + .../[qb]/[qb_jobs]/qb-busjob/server/main.lua | 28 + .../[qb_jobs]/qb-deliveries/client/client.lua | 422 ++ .../[qb]/[qb_jobs]/qb-deliveries/config.lua | 90 + .../[qb_jobs]/qb-deliveries/fxmanifest.lua | 23 + .../qb-deliveries/images/delivery-package.png | Bin 0 -> 8255 bytes .../[qb]/[qb_jobs]/qb-deliveries/readme.md | 47 + .../[qb_jobs]/qb-deliveries/server/server.lua | 55 + resources/[qb]/[qb_jobs]/qb-djbooth/README.md | 28 + .../[qb]/[qb_jobs]/qb-djbooth/client.lua | 161 + .../[qb]/[qb_jobs]/qb-djbooth/config.lua | 12 + .../[qb]/[qb_jobs]/qb-djbooth/fxmanifest.lua | 22 + .../[qb]/[qb_jobs]/qb-djbooth/server.lua | 70 + resources/[qb]/[qb_jobs]/qb-frontdesk/LICENSE | 674 ++ .../[qb]/[qb_jobs]/qb-frontdesk/README.md | 16 + .../[qb_jobs]/qb-frontdesk/client/cl_main.lua | 333 + .../[qb_jobs]/qb-frontdesk/fxmanifest.lua | 20 + .../[qb_jobs]/qb-frontdesk/server/main.lua | 22 + .../qb-frontdesk/shared/sh_config.lua | 41 + .../[qb_jobs]/qb-garbagejob/client/main.lua | 552 ++ .../[qb]/[qb_jobs]/qb-garbagejob/config.lua | 154 + .../[qb_jobs]/qb-garbagejob/fxmanifest.lua | 24 + .../[qb_jobs]/qb-garbagejob/locales/da.lua | 62 + .../[qb_jobs]/qb-garbagejob/locales/en.lua | 59 + .../[qb_jobs]/qb-garbagejob/server/main.lua | 148 + .../[qb_jobs]/qb-gardening/client/client.lua | 305 + .../qb-gardening/client/functions.lua | 249 + .../[qb]/[qb_jobs]/qb-gardening/config.lua | 35 + .../[qb_jobs]/qb-gardening/fxmanifest.lua | 10 + .../[qb_jobs]/qb-gardening/server/server.lua | 33 + resources/[qb]/[qb_jobs]/qb-impound/LICENSE | 674 ++ resources/[qb]/[qb_jobs]/qb-impound/README.md | 14 + .../[qb]/[qb_jobs]/qb-impound/client/main.lua | 74 + .../[qb]/[qb_jobs]/qb-impound/fxmanifest.lua | 19 + .../[qb]/[qb_jobs]/qb-impound/server/main.lua | 31 + .../.github/ISSUE_TEMPLATE/bug_report.md | 32 + .../.github/ISSUE_TEMPLATE/feature-request.md | 20 + .../qb-policejob/.github/auto_assign.yml | 17 + .../qb-policejob/.github/contributing.md | 201 + .../.github/pull_request_template.md | 10 + .../qb-policejob/.github/workflows/lint.yml | 23 + resources/[qb]/[qb_jobs]/qb-policejob/LICENSE | 674 ++ .../[qb]/[qb_jobs]/qb-policejob/README.md | 499 ++ .../[qb_jobs]/qb-policejob/client/anpr.lua | 62 + .../[qb_jobs]/qb-policejob/client/camera.lua | 205 + .../qb-policejob/client/evidence.lua | 355 ++ .../[qb_jobs]/qb-policejob/client/heli.lua | 304 + .../qb-policejob/client/interactions.lua | 567 ++ .../[qb_jobs]/qb-policejob/client/job.lua | 1275 ++++ .../[qb_jobs]/qb-policejob/client/main.lua | 223 + .../[qb_jobs]/qb-policejob/client/objects.lua | 301 + .../[qb_jobs]/qb-policejob/client/tracker.lua | 59 + .../[qb]/[qb_jobs]/qb-policejob/config.lua | 488 ++ .../[qb_jobs]/qb-policejob/fxmanifest.lua | 46 + .../qb-policejob/html/fingerprint.png | Bin 0 -> 1396104 bytes .../[qb_jobs]/qb-policejob/html/index.html | 264 + .../[qb]/[qb_jobs]/qb-policejob/html/main.css | 342 + .../[qb_jobs]/qb-policejob/html/script.js | 170 + .../qb-policejob/html/tablet-frame.png | Bin 0 -> 34730 bytes .../[qb_jobs]/qb-policejob/html/vcr-ocd.ttf | Bin 0 -> 75864 bytes .../[qb_jobs]/qb-policejob/html/vue.min.js | 6 + .../[qb_jobs]/qb-policejob/locales/ar.lua | 198 + .../[qb_jobs]/qb-policejob/locales/de.lua | 198 + .../[qb_jobs]/qb-policejob/locales/en.lua | 196 + .../[qb_jobs]/qb-policejob/locales/es.lua | 198 + .../[qb_jobs]/qb-policejob/locales/et.lua | 198 + .../[qb_jobs]/qb-policejob/locales/fi.lua | 198 + .../[qb_jobs]/qb-policejob/locales/fr.lua | 198 + .../[qb_jobs]/qb-policejob/locales/it.lua | 195 + .../[qb_jobs]/qb-policejob/locales/lt.lua | 198 + .../[qb_jobs]/qb-policejob/locales/pt.lua | 196 + .../[qb_jobs]/qb-policejob/locales/ro.lua | 202 + .../[qb_jobs]/qb-policejob/locales/sk.lua | 195 + .../[qb_jobs]/qb-policejob/locales/th.lua | 198 + .../[qb_jobs]/qb-policejob/locales/tr.lua | 198 + .../[qb_jobs]/qb-policejob/server/main.lua | 1154 ++++ .../[qb]/[qb_jobs]/qb-upnatoms/README.md | 106 + .../qb-upnatoms/client/cl_consumables.lua | 1517 +++++ .../qb-upnatoms/client/cl_upnatoms.lua | 217 + .../[qb]/[qb_jobs]/qb-upnatoms/config.lua | 216 + .../[qb]/[qb_jobs]/qb-upnatoms/fxmanifest.lua | 22 + .../images/Breakfast/atoms-bacon-eggs.png | Bin 0 -> 9836 bytes .../images/Breakfast/atoms-bacon-rolls.png | Bin 0 -> 12833 bytes .../images/Breakfast/atoms-eggs-benedict.png | Bin 0 -> 9934 bytes .../Breakfast/atoms-eggs-florentine.png | Bin 0 -> 8188 bytes .../Breakfast/atoms-french-toast-bacon.png | Bin 0 -> 14304 bytes .../images/Breakfast/atoms-hashbrown.png | Bin 0 -> 6596 bytes .../images/Breakfast/atoms-sausages.png | Bin 0 -> 9943 bytes .../images/Burgers/atoms-bacon-burger.png | Bin 0 -> 12358 bytes .../images/Burgers/atoms-burger.png | Bin 0 -> 10799 bytes .../images/Burgers/atoms-chicken-burger.png | Bin 0 -> 11390 bytes .../images/Burgers/atoms-db-burger.png | Bin 0 -> 12448 bytes .../Burgers/atoms-db-chicken-burger.png | Bin 0 -> 12344 bytes .../images/Burgers/atoms-pickle-burger.png | Bin 0 -> 10429 bytes .../images/Burgers/atoms-sandwich.png | Bin 0 -> 13656 bytes .../images/Chicken/atoms-chicken-fillets.png | Bin 0 -> 12485 bytes .../images/Chicken/atoms-chicken-salad.png | Bin 0 -> 19102 bytes .../images/Chicken/atoms-chicken-sandwich.png | Bin 0 -> 15729 bytes .../images/Chicken/atoms-chicken-stars.png | Bin 0 -> 7975 bytes .../images/Chicken/atoms-grilled-chicken.png | Bin 0 -> 10657 bytes .../images/Chicken/atoms-hunk-o-hen.png | Bin 0 -> 18777 bytes .../qb-upnatoms/images/Drinks/atoms-ecola.png | Bin 0 -> 11312 bytes .../images/Drinks/atoms-hercules.png | Bin 0 -> 13978 bytes .../qb-upnatoms/images/Drinks/atoms-junk.png | Bin 0 -> 7279 bytes .../images/Drinks/atoms-orangtang.png | Bin 0 -> 9949 bytes .../qb-upnatoms/images/Drinks/atoms-raine.png | Bin 0 -> 10189 bytes .../images/Drinks/atoms-sprunk.png | Bin 0 -> 11228 bytes .../qb-upnatoms/images/Drinks/atoms-water.png | Bin 0 -> 9665 bytes .../images/Ingredients/atoms-bacon.png | Bin 0 -> 16911 bytes .../images/Ingredients/atoms-beef-patty.png | Bin 0 -> 10341 bytes .../images/Ingredients/atoms-bread.png | Bin 0 -> 9838 bytes .../images/Ingredients/atoms-bun.png | Bin 0 -> 13758 bytes .../Ingredients/atoms-carbonated-water.png | Bin 0 -> 7337 bytes .../atoms-cheddar-cheese-slices.png | Bin 0 -> 6733 bytes .../Ingredients/atoms-chicken-patty.png | Bin 0 -> 15690 bytes .../Ingredients/atoms-chicken-slices.png | Bin 0 -> 13477 bytes .../images/Ingredients/atoms-chicken.png | Bin 0 -> 10115 bytes .../images/Ingredients/atoms-eggs.png | Bin 0 -> 8897 bytes .../Ingredients/atoms-english-muffin.png | Bin 0 -> 6282 bytes .../Ingredients/atoms-frozen-sausages.png | Bin 0 -> 11981 bytes .../images/Ingredients/atoms-ham-slices.png | Bin 0 -> 16369 bytes .../images/Ingredients/atoms-lettuce.png | Bin 0 -> 18678 bytes .../atoms-mozzarella-cheese-slices.png | Bin 0 -> 8222 bytes .../images/Ingredients/atoms-pickles.png | Bin 0 -> 15103 bytes .../images/Ingredients/atoms-potatos.png | Bin 0 -> 15392 bytes .../images/Ingredients/atoms-raw-bacon.png | Bin 0 -> 16451 bytes .../Ingredients/atoms-raw-beef-patty.png | Bin 0 -> 10134 bytes .../Ingredients/atoms-raw-chicken-patty.png | Bin 0 -> 10088 bytes .../images/Ingredients/atoms-raw-chicken.png | Bin 0 -> 9720 bytes .../images/Ingredients/atoms-spinach.png | Bin 0 -> 16236 bytes .../images/Ingredients/atoms-sugar-cubes.png | Bin 0 -> 10452 bytes .../images/Ingredients/atoms-tomato.png | Bin 0 -> 11679 bytes .../images/Meals/atoms-bacon-burger-meal.png | Bin 0 -> 9531 bytes .../images/Meals/atoms-burger-meal.png | Bin 0 -> 9531 bytes .../Meals/atoms-chicken-burger-meal.png | Bin 0 -> 9531 bytes .../images/Meals/atoms-db-burger-meal.png | Bin 0 -> 9531 bytes .../Meals/atoms-db-chicken-burger-meal.png | Bin 0 -> 9531 bytes .../images/Meals/atoms-pickle-burger-meal.png | Bin 0 -> 9531 bytes .../qb-upnatoms/server/sv_upnatoms.lua | 661 ++ .../[qb_jobs]/qb-upnatoms/sounds/deepfry.ogg | Bin 0 -> 127830 bytes .../[qb_jobs]/qb-upnatoms/sounds/grilling.ogg | Bin 0 -> 96299 bytes resources/[qb]/[qb_jobs]/qb-uwucafe/LICENSE | 674 ++ resources/[qb]/[qb_jobs]/qb-uwucafe/README.md | 122 + .../qb-uwucafe/client/cl_consumables.lua | 1118 ++++ .../qb-uwucafe/client/cl_uwucafe.lua | 282 + .../[qb]/[qb_jobs]/qb-uwucafe/config.lua | 374 ++ .../[qb]/[qb_jobs]/qb-uwucafe/fxmanifest.lua | 20 + .../awwdorable_valentines_chocolate.png | Bin 0 -> 13491 bytes .../qb-uwucafe/images/baking_powder.png | Bin 0 -> 13970 bytes .../qb-uwucafe/images/ballbarry_cupcake.png | Bin 0 -> 11364 bytes .../[qb_jobs]/qb-uwucafe/images/bar_bowl.png | Bin 0 -> 5536 bytes .../qb-uwucafe/images/bar_bowl_dirty.png | Bin 0 -> 7574 bytes .../[qb_jobs]/qb-uwucafe/images/beans.png | Bin 0 -> 12804 bytes .../qb-uwucafe/images/booba_milk_tea_1.png | Bin 0 -> 9189 bytes .../qb-uwucafe/images/booba_milk_tea_2.png | Bin 0 -> 11583 bytes .../qb-uwucafe/images/brewed_coffee.png | Bin 0 -> 9908 bytes .../[qb_jobs]/qb-uwucafe/images/brown_dye.png | Bin 0 -> 17485 bytes .../[qb_jobs]/qb-uwucafe/images/butter.png | Bin 0 -> 12469 bytes .../qb-uwucafe/images/cat_macaroon_brown.png | Bin 0 -> 11735 bytes .../qb-uwucafe/images/cat_macaroon_green.png | Bin 0 -> 11953 bytes .../qb-uwucafe/images/cat_macaroon_pink.png | Bin 0 -> 12217 bytes .../images/cat_macaroon_turquoise.png | Bin 0 -> 12333 bytes .../[qb_jobs]/qb-uwucafe/images/chicken.png | Bin 0 -> 12605 bytes .../qb-uwucafe/images/chicken_breast.png | Bin 0 -> 12439 bytes .../qb-uwucafe/images/chicken_thighs.png | Bin 0 -> 11762 bytes .../qb-uwucafe/images/cocoa_powder.png | Bin 0 -> 14571 bytes .../[qb]/[qb_jobs]/qb-uwucafe/images/cup.png | Bin 0 -> 4849 bytes .../[qb_jobs]/qb-uwucafe/images/cup_dirty.png | Bin 0 -> 5447 bytes .../qb-uwucafe/images/doki_doki_pancakes.png | Bin 0 -> 13656 bytes .../qb-uwucafe/images/dragos_fire_cupcake.png | Bin 0 -> 9596 bytes .../images/dried_boba_tapioca_pearls.png | Bin 0 -> 13653 bytes .../[qb]/[qb_jobs]/qb-uwucafe/images/egg.png | Bin 0 -> 10510 bytes .../[qb_jobs]/qb-uwucafe/images/flour.png | Bin 0 -> 14047 bytes .../qb-uwucafe/images/gingerkitty_cookie.png | Bin 0 -> 12014 bytes .../qb-uwucafe/images/glass_tall.png | Bin 0 -> 5654 bytes .../qb-uwucafe/images/glass_tall_dirty.png | Bin 0 -> 6963 bytes .../[qb_jobs]/qb-uwucafe/images/green_dye.png | Bin 0 -> 13907 bytes .../qb-uwucafe/images/hamburg_steak.png | Bin 0 -> 10911 bytes .../qb-uwucafe/images/hot_chocolate.png | Bin 0 -> 12002 bytes .../[qb]/[qb_jobs]/qb-uwucafe/images/ice.png | Bin 0 -> 8969 bytes .../qb-uwucafe/images/jelly_beans.png | Bin 0 -> 12371 bytes .../[qb_jobs]/qb-uwucafe/images/juice.png | Bin 0 -> 10844 bytes .../qb-uwucafe/images/kira_kira_currye.png | Bin 0 -> 14565 bytes .../[qb_jobs]/qb-uwucafe/images/lemon.png | Bin 0 -> 10906 bytes .../images/lovely_hot_chocolate.png | Bin 0 -> 11070 bytes .../qb-uwucafe/images/matcha_coffee.png | Bin 0 -> 9091 bytes .../qb-uwucafe/images/matcha_powder.png | Bin 0 -> 12493 bytes .../images/meowchi_mochi_ice_cream.png | Bin 0 -> 13592 bytes .../[qb]/[qb_jobs]/qb-uwucafe/images/milk.png | Bin 0 -> 8561 bytes .../[qb]/[qb_jobs]/qb-uwucafe/images/mint.png | Bin 0 -> 7484 bytes .../[qb_jobs]/qb-uwucafe/images/noodles.png | Bin 0 -> 13901 bytes .../[qb]/[qb_jobs]/qb-uwucafe/images/nuts.png | Bin 0 -> 11851 bytes .../qb-uwucafe/images/om_nom_omurice.png | Bin 0 -> 13751 bytes .../[qb_jobs]/qb-uwucafe/images/onion.png | Bin 0 -> 11529 bytes .../qb-uwucafe/images/oxygen_cake.png | Bin 0 -> 12311 bytes .../[qb_jobs]/qb-uwucafe/images/pink_dye.png | Bin 0 -> 18043 bytes .../[qb_jobs]/qb-uwucafe/images/plate.png | Bin 0 -> 2994 bytes .../qb-uwucafe/images/plate_dirty.png | Bin 0 -> 4523 bytes .../qb-uwucafe/images/pullman_bread.png | Bin 0 -> 13325 bytes .../qb-uwucafe/images/purrfect_parfait.png | Bin 0 -> 9671 bytes .../images/purrfect_parfait_ballaberry.png | Bin 0 -> 12129 bytes .../qb-uwucafe/images/rice flour.png | Bin 0 -> 13102 bytes .../[qb]/[qb_jobs]/qb-uwucafe/images/rice.png | Bin 0 -> 16379 bytes .../qb-uwucafe/images/rice_balls.png | Bin 0 -> 13620 bytes .../qb-uwucafe/images/rice_flour.png | Bin 0 -> 13102 bytes .../[qb_jobs]/qb-uwucafe/images/sea_moss.png | Bin 0 -> 14554 bytes .../qb-uwucafe/images/shiny_wasabi.png | Bin 0 -> 14795 bytes .../[qb_jobs]/qb-uwucafe/images/soy_sauce.png | Bin 0 -> 6699 bytes .../[qb_jobs]/qb-uwucafe/images/steak.png | Bin 0 -> 13647 bytes .../qb-uwucafe/images/strawberry.png | Bin 0 -> 5707 bytes .../images/strawberry_shortcake.png | Bin 0 -> 15971 bytes .../[qb_jobs]/qb-uwucafe/images/suger.png | Bin 0 -> 9754 bytes .../qb-uwucafe/images/sugoi_katsu_sando.png | Bin 0 -> 14128 bytes .../qb-uwucafe/images/sweet_herbal_tea.png | Bin 0 -> 11146 bytes .../qb-uwucafe/images/turquoise_dye.png | Bin 0 -> 14897 bytes .../qb-uwucafe/images/virgin_olive_oil.png | Bin 0 -> 8733 bytes .../qb-uwucafe/images/warm_chicken_noodle.png | Bin 0 -> 10839 bytes .../qb-uwucafe/server/sv_uwucafe.lua | 467 ++ .../qb-uwucafe/vehicle livery/nspeedo.ytd | Bin 0 -> 4423020 bytes .../.github/ISSUE_TEMPLATE/bug_report.md | 32 + .../.github/ISSUE_TEMPLATE/feature-request.md | 20 + .../qb-vehicleshop/.github/auto_assign.yml | 17 + .../qb-vehicleshop/.github/contributing.md | 201 + .../.github/pull_request_template.md | 10 + .../qb-vehicleshop/.github/workflows/lint.yml | 23 + .../.github/workflows/stale.yml | 29 + .../[qb]/[qb_jobs]/qb-vehicleshop/LICENSE | 674 ++ .../[qb]/[qb_jobs]/qb-vehicleshop/README.md | 224 + .../[qb]/[qb_jobs]/qb-vehicleshop/client.lua | 878 +++ .../[qb]/[qb_jobs]/qb-vehicleshop/config.lua | 273 + .../[qb_jobs]/qb-vehicleshop/fxmanifest.lua | 28 + .../[qb_jobs]/qb-vehicleshop/locales/cs.lua | 84 + .../[qb_jobs]/qb-vehicleshop/locales/da.lua | 85 + .../[qb_jobs]/qb-vehicleshop/locales/de.lua | 84 + .../[qb_jobs]/qb-vehicleshop/locales/en.lua | 82 + .../[qb_jobs]/qb-vehicleshop/locales/es.lua | 85 + .../[qb_jobs]/qb-vehicleshop/locales/fr.lua | 85 + .../qb-vehicleshop/locales/pt-br.lua | 85 + .../[qb_jobs]/qb-vehicleshop/locales/pt.lua | 84 + .../[qb_jobs]/qb-vehicleshop/locales/ro.lua | 89 + .../[qb]/[qb_jobs]/qb-vehicleshop/server.lua | 550 ++ .../[qb]/[qb_jobs]/qb-vehicleshop/vehshop.sql | 38 + resources/[qb]/[qb_jobs]/qb-vineyard/LICENSE | 674 ++ .../[qb]/[qb_jobs]/qb-vineyard/README.md | 25 + .../[qb]/[qb_jobs]/qb-vineyard/client.lua | 332 + .../[qb]/[qb_jobs]/qb-vineyard/config.lua | 44 + .../[qb]/[qb_jobs]/qb-vineyard/fxmanifest.lua | 27 + .../[qb]/[qb_jobs]/qb-vineyard/locales/de.lua | 28 + .../[qb]/[qb_jobs]/qb-vineyard/locales/en.lua | 33 + .../[qb]/[qb_jobs]/qb-vineyard/locales/es.lua | 36 + .../[qb]/[qb_jobs]/qb-vineyard/locales/fi.lua | 28 + .../[qb]/[qb_jobs]/qb-vineyard/locales/fr.lua | 36 + .../[qb]/[qb_jobs]/qb-vineyard/locales/ge.lua | 28 + .../[qb]/[qb_jobs]/qb-vineyard/locales/it.lua | 28 + .../[qb]/[qb_jobs]/qb-vineyard/locales/nl.lua | 36 + .../[qb]/[qb_jobs]/qb-vineyard/locales/pt.lua | 36 + .../[qb]/[qb_jobs]/qb-vineyard/locales/sv.lua | 28 + .../[qb]/[qb_jobs]/qb-vineyard/locales/tr.lua | 36 + .../[qb]/[qb_jobs]/qb-vineyard/server.lua | 70 + .../[qb]/[qb_shops]/qb-animalfarm/README.md | 5 + .../[qb_shops]/qb-animalfarm/client/main.lua | 111 + .../[qb]/[qb_shops]/qb-animalfarm/config.lua | 13 + .../[qb_shops]/qb-animalfarm/fxmanifest.lua | 13 + .../[qb_shops]/qb-animalfarm/server/main.lua | 53 + .../.github/ISSUE_TEMPLATE/bug_report.md | 32 + .../.github/ISSUE_TEMPLATE/feature-request.md | 20 + .../qb-diving/.github/auto_assign.yml | 17 + .../qb-diving/.github/contributing.md | 201 + .../.github/pull_request_template.md | 10 + .../qb-diving/.github/workflows/lint.yml | 23 + resources/[qb]/[qb_shops]/qb-diving/LICENSE | 674 ++ resources/[qb]/[qb_shops]/qb-diving/README.md | 22 + .../[qb]/[qb_shops]/qb-diving/client/main.lua | 421 ++ .../[qb]/[qb_shops]/qb-diving/config.lua | 296 + .../[qb]/[qb_shops]/qb-diving/fxmanifest.lua | 22 + .../[qb]/[qb_shops]/qb-diving/locales/da.lua | 41 + .../[qb]/[qb_shops]/qb-diving/server/main.lua | 124 + resources/[qb]/[qb_shops]/qb-pawnshop/LICENSE | 674 ++ .../[qb]/[qb_shops]/qb-pawnshop/README.md | 20 + .../[qb_shops]/qb-pawnshop/client/main.lua | 334 + .../[qb]/[qb_shops]/qb-pawnshop/config.lua | 116 + .../[qb_shops]/qb-pawnshop/fxmanifest.lua | 26 + .../[qb_shops]/qb-pawnshop/locales/da.lua | 35 + .../[qb_shops]/qb-pawnshop/server/main.lua | 93 + .../[qb]/[qb_shops]/qb-shop/client/main.lua | 158 + resources/[qb]/[qb_shops]/qb-shop/config.lua | 108 + .../[qb]/[qb_shops]/qb-shop/fxmanifest.lua | 27 + .../qb-shop/html/fonts/Akrobat-ExtraBold.otf | Bin 0 -> 59140 bytes .../qb-shop/html/fonts/Akrobat-Regular.otf | Bin 0 -> 55176 bytes .../html/fonts/PFDinDisplayPro-Bold.woff | Bin 0 -> 159032 bytes .../html/fonts/PFDinDisplayPro-Regular.woff | Bin 0 -> 156644 bytes .../[qb]/[qb_shops]/qb-shop/html/img/home.png | Bin 0 -> 1282 bytes .../[qb_shops]/qb-shop/html/img/shop_bg.png | Bin 0 -> 198704 bytes .../[qb]/[qb_shops]/qb-shop/html/index.html | 112 + .../qb-shop/html/js/jquery-3.6.3.min.js | 2 + .../[qb]/[qb_shops]/qb-shop/html/js/main.js | 165 + .../[qb]/[qb_shops]/qb-shop/html/style.css | 606 ++ .../[qb]/[qb_shops]/qb-shop/server/main.lua | 75 + .../[qb_shops]/qb-vape/client/cl_vape.lua | 191 + resources/[qb]/[qb_shops]/qb-vape/config.lua | 24 + .../[qb]/[qb_shops]/qb-vape/fxmanifest.lua | 19 + .../[qb_shops]/qb-vape/server/sv_vape.lua | 70 + .../.github/ISSUE_TEMPLATE/bug_report.md | 32 + .../.github/ISSUE_TEMPLATE/feature-request.md | 20 + .../qb-vehiclesales/.github/auto_assign.yml | 17 + .../qb-vehiclesales/.github/contributing.md | 201 + .../.github/pull_request_template.md | 10 + .../.github/workflows/lint.yml | 23 + .../[qb]/[qb_shops]/qb-vehiclesales/LICENSE | 674 ++ .../[qb]/[qb_shops]/qb-vehiclesales/README.md | 347 + .../qb-vehiclesales/client/main.lua | 478 ++ .../[qb_shops]/qb-vehiclesales/config.lua | 48 + .../[qb_shops]/qb-vehiclesales/fxmanifest.lua | 37 + .../[qb_shops]/qb-vehiclesales/html/logo.svg | 26 + .../[qb_shops]/qb-vehiclesales/html/ui.css | 339 + .../[qb_shops]/qb-vehiclesales/html/ui.html | 89 + .../[qb_shops]/qb-vehiclesales/html/ui.js | 130 + .../qb-vehiclesales/html/vue.min.js | 6 + .../[qb_shops]/qb-vehiclesales/locales/da.lua | 53 + .../qb-vehiclesales/qb-vehiclesales.sql | 12 + .../qb-vehiclesales/server/main.lua | 152 + resources/[qb]/qb-core/.editorconfig | 14 + resources/[qb]/qb-core/.gitignore | 5 + .../[qb]/qb-core/.vscode/extensions.json | 10 + resources/[qb]/qb-core/.vscode/settings.json | 4 + resources/[qb]/qb-core/LICENSE | 674 ++ resources/[qb]/qb-core/README.md | 21 + resources/[qb]/qb-core/client/drawtext.lua | 60 + resources/[qb]/qb-core/client/events.lua | 266 + resources/[qb]/qb-core/client/functions.lua | 860 +++ resources/[qb]/qb-core/client/loops.lua | 24 + resources/[qb]/qb-core/client/main.lua | 14 + resources/[qb]/qb-core/config.lua | 64 + resources/[qb]/qb-core/fxmanifest.lua | 51 + resources/[qb]/qb-core/html/css/drawtext.css | 98 + resources/[qb]/qb-core/html/css/style.css | 81 + resources/[qb]/qb-core/html/index.html | 20 + resources/[qb]/qb-core/html/js/app.js | 65 + resources/[qb]/qb-core/html/js/config.js | 46 + resources/[qb]/qb-core/html/js/drawtext.js | 124 + resources/[qb]/qb-core/html/js/testing.js | 44 + resources/[qb]/qb-core/html/js/utils.js | 27 + resources/[qb]/qb-core/locale/da.lua | 129 + resources/[qb]/qb-core/locale/en.lua | 126 + resources/[qb]/qb-core/qbcore.sql | 44 + resources/[qb]/qb-core/server/commands.lua | 295 + resources/[qb]/qb-core/server/debug.lua | 45 + resources/[qb]/qb-core/server/events.lua | 343 + resources/[qb]/qb-core/server/exports.lua | 335 + resources/[qb]/qb-core/server/functions.lua | 564 ++ resources/[qb]/qb-core/server/main.lua | 13 + resources/[qb]/qb-core/server/player.lua | 720 +++ resources/[qb]/qb-core/shared/gangs.lua | 96 + resources/[qb]/qb-core/shared/items.lua | 3403 ++++++++++ resources/[qb]/qb-core/shared/jobs.lua | 537 ++ resources/[qb]/qb-core/shared/locale.lua | 145 + resources/[qb]/qb-core/shared/locations.lua | 47 + resources/[qb]/qb-core/shared/main.lua | 163 + resources/[qb]/qb-core/shared/vehicles.lua | 5585 +++++++++++++++++ resources/[qb]/qb-core/shared/weapons.lua | 157 + 472 files changed, 64373 insertions(+) create mode 100644 resources/[qb]/[qb_jobs]/cad-diving/README.md create mode 100644 resources/[qb]/[qb_jobs]/cad-diving/cl_diving.lua create mode 100644 resources/[qb]/[qb_jobs]/cad-diving/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/cad-diving/sv_diving.lua create mode 100644 resources/[qb]/[qb_jobs]/cad-postalop/README.md create mode 100644 resources/[qb]/[qb_jobs]/cad-postalop/client.lua create mode 100644 resources/[qb]/[qb_jobs]/cad-postalop/config.lua create mode 100644 resources/[qb]/[qb_jobs]/cad-postalop/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/cad-postalop/handling.meta create mode 100644 resources/[qb]/[qb_jobs]/cad-postalop/server.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/.gitignore create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/LICENSE create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/README.md create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/client/client.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/client_lib_entry.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/CDU_menu.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/blender_menu.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/edit_menu.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/pump_menu.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/storage_menu.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/transport_menu.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/client/target/qb_target.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/client/target/target.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/config.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/drive_shaft.png create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/oilBarrel.png create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/oil_filter.png create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/oilwell.png create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/relief_valve_string.png create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/skew_gear.png create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/timing_chain.png create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/Server_GlobalScirptData.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/refund.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/server_lib_entry.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/server/server_main.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/shared/shared_main.lua create mode 100644 resources/[qb]/[qb_jobs]/keep-oilwell/sql.sql create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/.gitattributes create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/LICENSE create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/README.md create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/framework/client/esx.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/framework/client/qb.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/framework/server/esx.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/framework/server/qb.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/init.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/cabbage.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/coffee_beans.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/dirty_cabbage.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/dirty_coffee_beans.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/dirty_potato.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/dirty_tomato.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/orange.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/potato.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/shovel.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/tomato.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/trowel.png create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/inventory/client/ox_inventory.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/inventory/client/qb-inventory.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/inventory/client/qs-inventory.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/inventory/server/ox_inventory.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/inventory/server/qb-inventory.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/inventory/server/qs-inventory.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/locales/da.json create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/locales/en.json create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/modules/field/events.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/modules/field/functions.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/modules/shops/events.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/server.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/shared/animations.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/shared/checks.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/shared/config.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/shared/location_config.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/shared/utils.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/target/ox_target.lua create mode 100644 resources/[qb]/[qb_jobs]/kloud-farmjob/target/qb-target.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/README.md create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/bridge/esx/client.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/bridge/esx/server.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/bridge/qb/client.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/bridge/qb/server.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/bridge/standalone/client.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/bridge/standalone/server.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/config.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/core/client.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/core/shared.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/locales/locale.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/locales/translations/da.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/modules/business/client.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/modules/business/server.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/modules/mission/client.lua create mode 100644 resources/[qb]/[qb_jobs]/pickle_taxijob/modules/mission/server.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/LICENSE create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/README.md create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/client/dead.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/client/emsbag_cl.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/client/job.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/client/laststand.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/client/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/client/wounding.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/locales/da.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/server/emsbag_sv.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-ambulancejob/server/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-busjob/LICENSE create mode 100644 resources/[qb]/[qb_jobs]/qb-busjob/README.md create mode 100644 resources/[qb]/[qb_jobs]/qb-busjob/client/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-busjob/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-busjob/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-busjob/locales/da.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-busjob/server/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-deliveries/client/client.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-deliveries/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-deliveries/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-deliveries/images/delivery-package.png create mode 100644 resources/[qb]/[qb_jobs]/qb-deliveries/readme.md create mode 100644 resources/[qb]/[qb_jobs]/qb-deliveries/server/server.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-djbooth/README.md create mode 100644 resources/[qb]/[qb_jobs]/qb-djbooth/client.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-djbooth/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-djbooth/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-djbooth/server.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-frontdesk/LICENSE create mode 100644 resources/[qb]/[qb_jobs]/qb-frontdesk/README.md create mode 100644 resources/[qb]/[qb_jobs]/qb-frontdesk/client/cl_main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-frontdesk/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-frontdesk/server/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-frontdesk/shared/sh_config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-garbagejob/client/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-garbagejob/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-garbagejob/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-garbagejob/locales/da.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-garbagejob/locales/en.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-garbagejob/server/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-gardening/client/client.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-gardening/client/functions.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-gardening/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-gardening/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-gardening/server/server.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-impound/LICENSE create mode 100644 resources/[qb]/[qb_jobs]/qb-impound/README.md create mode 100644 resources/[qb]/[qb_jobs]/qb-impound/client/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-impound/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-impound/server/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/.github/ISSUE_TEMPLATE/feature-request.md create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/.github/auto_assign.yml create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/.github/contributing.md create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/.github/pull_request_template.md create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/.github/workflows/lint.yml create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/LICENSE create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/README.md create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/client/anpr.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/client/camera.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/client/evidence.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/client/heli.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/client/interactions.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/client/job.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/client/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/client/objects.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/client/tracker.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/html/fingerprint.png create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/html/index.html create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/html/main.css create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/html/script.js create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/html/tablet-frame.png create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/html/vcr-ocd.ttf create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/html/vue.min.js create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/ar.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/de.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/en.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/es.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/et.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/fi.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/fr.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/it.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/lt.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/pt.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/ro.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/sk.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/th.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/locales/tr.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-policejob/server/main.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/README.md create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/client/cl_consumables.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/client/cl_upnatoms.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Breakfast/atoms-bacon-eggs.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Breakfast/atoms-bacon-rolls.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Breakfast/atoms-eggs-benedict.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Breakfast/atoms-eggs-florentine.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Breakfast/atoms-french-toast-bacon.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Breakfast/atoms-hashbrown.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Breakfast/atoms-sausages.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Burgers/atoms-bacon-burger.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Burgers/atoms-burger.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Burgers/atoms-chicken-burger.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Burgers/atoms-db-burger.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Burgers/atoms-db-chicken-burger.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Burgers/atoms-pickle-burger.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Burgers/atoms-sandwich.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Chicken/atoms-chicken-fillets.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Chicken/atoms-chicken-salad.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Chicken/atoms-chicken-sandwich.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Chicken/atoms-chicken-stars.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Chicken/atoms-grilled-chicken.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Chicken/atoms-hunk-o-hen.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Drinks/atoms-ecola.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Drinks/atoms-hercules.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Drinks/atoms-junk.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Drinks/atoms-orangtang.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Drinks/atoms-raine.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Drinks/atoms-sprunk.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Drinks/atoms-water.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-bacon.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-beef-patty.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-bread.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-bun.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-carbonated-water.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-cheddar-cheese-slices.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-chicken-patty.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-chicken-slices.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-chicken.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-eggs.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-english-muffin.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-frozen-sausages.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-ham-slices.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-lettuce.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-mozzarella-cheese-slices.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-pickles.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-potatos.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-raw-bacon.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-raw-beef-patty.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-raw-chicken-patty.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-raw-chicken.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-spinach.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-sugar-cubes.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Ingredients/atoms-tomato.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Meals/atoms-bacon-burger-meal.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Meals/atoms-burger-meal.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Meals/atoms-chicken-burger-meal.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Meals/atoms-db-burger-meal.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Meals/atoms-db-chicken-burger-meal.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/images/Meals/atoms-pickle-burger-meal.png create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/server/sv_upnatoms.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/sounds/deepfry.ogg create mode 100644 resources/[qb]/[qb_jobs]/qb-upnatoms/sounds/grilling.ogg create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/LICENSE create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/README.md create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/client/cl_consumables.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/client/cl_uwucafe.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/awwdorable_valentines_chocolate.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/baking_powder.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/ballbarry_cupcake.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/bar_bowl.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/bar_bowl_dirty.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/beans.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/booba_milk_tea_1.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/booba_milk_tea_2.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/brewed_coffee.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/brown_dye.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/butter.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/cat_macaroon_brown.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/cat_macaroon_green.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/cat_macaroon_pink.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/cat_macaroon_turquoise.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/chicken.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/chicken_breast.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/chicken_thighs.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/cocoa_powder.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/cup.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/cup_dirty.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/doki_doki_pancakes.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/dragos_fire_cupcake.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/dried_boba_tapioca_pearls.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/egg.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/flour.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/gingerkitty_cookie.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/glass_tall.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/glass_tall_dirty.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/green_dye.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/hamburg_steak.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/hot_chocolate.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/ice.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/jelly_beans.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/juice.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/kira_kira_currye.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/lemon.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/lovely_hot_chocolate.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/matcha_coffee.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/matcha_powder.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/meowchi_mochi_ice_cream.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/milk.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/mint.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/noodles.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/nuts.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/om_nom_omurice.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/onion.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/oxygen_cake.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/pink_dye.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/plate.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/plate_dirty.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/pullman_bread.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/purrfect_parfait.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/purrfect_parfait_ballaberry.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/rice flour.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/rice.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/rice_balls.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/rice_flour.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/sea_moss.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/shiny_wasabi.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/soy_sauce.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/steak.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/strawberry.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/strawberry_shortcake.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/suger.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/sugoi_katsu_sando.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/sweet_herbal_tea.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/turquoise_dye.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/virgin_olive_oil.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/images/warm_chicken_noodle.png create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/server/sv_uwucafe.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-uwucafe/vehicle livery/nspeedo.ytd create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/.github/ISSUE_TEMPLATE/feature-request.md create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/.github/auto_assign.yml create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/.github/contributing.md create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/.github/pull_request_template.md create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/.github/workflows/lint.yml create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/.github/workflows/stale.yml create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/LICENSE create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/README.md create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/client.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/locales/cs.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/locales/da.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/locales/de.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/locales/en.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/locales/es.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/locales/fr.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/locales/pt-br.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/locales/pt.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/locales/ro.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/server.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vehicleshop/vehshop.sql create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/LICENSE create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/README.md create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/client.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/config.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/fxmanifest.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/de.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/en.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/es.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/fi.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/fr.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/ge.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/it.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/nl.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/pt.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/sv.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/locales/tr.lua create mode 100644 resources/[qb]/[qb_jobs]/qb-vineyard/server.lua create mode 100644 resources/[qb]/[qb_shops]/qb-animalfarm/README.md create mode 100644 resources/[qb]/[qb_shops]/qb-animalfarm/client/main.lua create mode 100644 resources/[qb]/[qb_shops]/qb-animalfarm/config.lua create mode 100644 resources/[qb]/[qb_shops]/qb-animalfarm/fxmanifest.lua create mode 100644 resources/[qb]/[qb_shops]/qb-animalfarm/server/main.lua create mode 100644 resources/[qb]/[qb_shops]/qb-diving/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 resources/[qb]/[qb_shops]/qb-diving/.github/ISSUE_TEMPLATE/feature-request.md create mode 100644 resources/[qb]/[qb_shops]/qb-diving/.github/auto_assign.yml create mode 100644 resources/[qb]/[qb_shops]/qb-diving/.github/contributing.md create mode 100644 resources/[qb]/[qb_shops]/qb-diving/.github/pull_request_template.md create mode 100644 resources/[qb]/[qb_shops]/qb-diving/.github/workflows/lint.yml create mode 100644 resources/[qb]/[qb_shops]/qb-diving/LICENSE create mode 100644 resources/[qb]/[qb_shops]/qb-diving/README.md create mode 100644 resources/[qb]/[qb_shops]/qb-diving/client/main.lua create mode 100644 resources/[qb]/[qb_shops]/qb-diving/config.lua create mode 100644 resources/[qb]/[qb_shops]/qb-diving/fxmanifest.lua create mode 100644 resources/[qb]/[qb_shops]/qb-diving/locales/da.lua create mode 100644 resources/[qb]/[qb_shops]/qb-diving/server/main.lua create mode 100644 resources/[qb]/[qb_shops]/qb-pawnshop/LICENSE create mode 100644 resources/[qb]/[qb_shops]/qb-pawnshop/README.md create mode 100644 resources/[qb]/[qb_shops]/qb-pawnshop/client/main.lua create mode 100644 resources/[qb]/[qb_shops]/qb-pawnshop/config.lua create mode 100644 resources/[qb]/[qb_shops]/qb-pawnshop/fxmanifest.lua create mode 100644 resources/[qb]/[qb_shops]/qb-pawnshop/locales/da.lua create mode 100644 resources/[qb]/[qb_shops]/qb-pawnshop/server/main.lua create mode 100644 resources/[qb]/[qb_shops]/qb-shop/client/main.lua create mode 100644 resources/[qb]/[qb_shops]/qb-shop/config.lua create mode 100644 resources/[qb]/[qb_shops]/qb-shop/fxmanifest.lua create mode 100644 resources/[qb]/[qb_shops]/qb-shop/html/fonts/Akrobat-ExtraBold.otf create mode 100644 resources/[qb]/[qb_shops]/qb-shop/html/fonts/Akrobat-Regular.otf create mode 100644 resources/[qb]/[qb_shops]/qb-shop/html/fonts/PFDinDisplayPro-Bold.woff create mode 100644 resources/[qb]/[qb_shops]/qb-shop/html/fonts/PFDinDisplayPro-Regular.woff create mode 100644 resources/[qb]/[qb_shops]/qb-shop/html/img/home.png create mode 100644 resources/[qb]/[qb_shops]/qb-shop/html/img/shop_bg.png create mode 100644 resources/[qb]/[qb_shops]/qb-shop/html/index.html create mode 100644 resources/[qb]/[qb_shops]/qb-shop/html/js/jquery-3.6.3.min.js create mode 100644 resources/[qb]/[qb_shops]/qb-shop/html/js/main.js create mode 100644 resources/[qb]/[qb_shops]/qb-shop/html/style.css create mode 100644 resources/[qb]/[qb_shops]/qb-shop/server/main.lua create mode 100644 resources/[qb]/[qb_shops]/qb-vape/client/cl_vape.lua create mode 100644 resources/[qb]/[qb_shops]/qb-vape/config.lua create mode 100644 resources/[qb]/[qb_shops]/qb-vape/fxmanifest.lua create mode 100644 resources/[qb]/[qb_shops]/qb-vape/server/sv_vape.lua create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/.github/ISSUE_TEMPLATE/feature-request.md create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/.github/auto_assign.yml create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/.github/contributing.md create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/.github/pull_request_template.md create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/.github/workflows/lint.yml create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/LICENSE create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/README.md create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/client/main.lua create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/config.lua create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/fxmanifest.lua create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/html/logo.svg create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/html/ui.css create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/html/ui.html create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/html/ui.js create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/html/vue.min.js create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/locales/da.lua create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/qb-vehiclesales.sql create mode 100644 resources/[qb]/[qb_shops]/qb-vehiclesales/server/main.lua create mode 100644 resources/[qb]/qb-core/.editorconfig create mode 100644 resources/[qb]/qb-core/.gitignore create mode 100644 resources/[qb]/qb-core/.vscode/extensions.json create mode 100644 resources/[qb]/qb-core/.vscode/settings.json create mode 100644 resources/[qb]/qb-core/LICENSE create mode 100644 resources/[qb]/qb-core/README.md create mode 100644 resources/[qb]/qb-core/client/drawtext.lua create mode 100644 resources/[qb]/qb-core/client/events.lua create mode 100644 resources/[qb]/qb-core/client/functions.lua create mode 100644 resources/[qb]/qb-core/client/loops.lua create mode 100644 resources/[qb]/qb-core/client/main.lua create mode 100644 resources/[qb]/qb-core/config.lua create mode 100644 resources/[qb]/qb-core/fxmanifest.lua create mode 100644 resources/[qb]/qb-core/html/css/drawtext.css create mode 100644 resources/[qb]/qb-core/html/css/style.css create mode 100644 resources/[qb]/qb-core/html/index.html create mode 100644 resources/[qb]/qb-core/html/js/app.js create mode 100644 resources/[qb]/qb-core/html/js/config.js create mode 100644 resources/[qb]/qb-core/html/js/drawtext.js create mode 100644 resources/[qb]/qb-core/html/js/testing.js create mode 100644 resources/[qb]/qb-core/html/js/utils.js create mode 100644 resources/[qb]/qb-core/locale/da.lua create mode 100644 resources/[qb]/qb-core/locale/en.lua create mode 100644 resources/[qb]/qb-core/qbcore.sql create mode 100644 resources/[qb]/qb-core/server/commands.lua create mode 100644 resources/[qb]/qb-core/server/debug.lua create mode 100644 resources/[qb]/qb-core/server/events.lua create mode 100644 resources/[qb]/qb-core/server/exports.lua create mode 100644 resources/[qb]/qb-core/server/functions.lua create mode 100644 resources/[qb]/qb-core/server/main.lua create mode 100644 resources/[qb]/qb-core/server/player.lua create mode 100644 resources/[qb]/qb-core/shared/gangs.lua create mode 100644 resources/[qb]/qb-core/shared/items.lua create mode 100644 resources/[qb]/qb-core/shared/jobs.lua create mode 100644 resources/[qb]/qb-core/shared/locale.lua create mode 100644 resources/[qb]/qb-core/shared/locations.lua create mode 100644 resources/[qb]/qb-core/shared/main.lua create mode 100644 resources/[qb]/qb-core/shared/vehicles.lua create mode 100644 resources/[qb]/qb-core/shared/weapons.lua diff --git a/resources/[qb]/[qb_jobs]/cad-diving/README.md b/resources/[qb]/[qb_jobs]/cad-diving/README.md new file mode 100644 index 0000000..99f5210 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/cad-diving/README.md @@ -0,0 +1,2 @@ +# cad-diving +Sunken Ship Diving Script for QBCore (Legacy Inspired) diff --git a/resources/[qb]/[qb_jobs]/cad-diving/cl_diving.lua b/resources/[qb]/[qb_jobs]/cad-diving/cl_diving.lua new file mode 100644 index 0000000..e22a22b --- /dev/null +++ b/resources/[qb]/[qb_jobs]/cad-diving/cl_diving.lua @@ -0,0 +1,73 @@ +QBCore = exports['qb-core']:GetCoreObject() + +local locations = { + [1] = {x = 3144.94, y = -280.54, z = -10.31}, + [2] = {x = 3151.75, y = -286.02, z = -27.16}, + [3] = {x = 3127.14, y = -341.26, z = -23.14}, + [4] = {x = 3162.18, y = -357.39, z = -27.6}, + [5] = {x = 3195.47, y = -388.18, z = -32.16}, + [6] = {x = 3188.67, y = -395.82, z = -27.51}, + [7] = {x = 3221.45, y = -405.6, z = -48.48}, + [8] = {x = 3192.30, y = -385.23, z = -16.81}, +} + +local normal = { + [1] = {item = 'steel'}, + [2] = {item = 'iron'}, + [3] = {item = 'plastic'}, +} + +local rare = { + [1] = {item = 'goldbar'}, + [2] = {item = 'diamond'}, +} + +local pickup = math.random(1, #locations) + +Citizen.CreateThread(function() + Wait(1000) + CreateBlip() + while true do + inRange = false + x = locations[pickup].x + y = locations[pickup].y + z = locations[pickup].z + local playerPed = PlayerPedId() + local coords = GetEntityCoords(playerPed) + local distance = #(vector3(coords.x, coords.y, coords.z) - vector3(x, y, z)) + if distance < 250 then + inRange = true + if distance > 3 then + QBCore.Functions.DrawText3D(x, y, z, "Distance: "..(math.floor(distance*10)/10).."m") + else + pickup = math.random(1, #locations) + local random = math.random(1, 1000) + if random > 0 and random < 600 then + TriggerServerEvent("cad-diving:collected", "normal", normal[math.random(1,#normal)].item, math.random(1, 4)) + elseif random > 980 and random < 1000 then + TriggerServerEvent("cad-diving:collected", "rare", rare[math.random(1,#rare)].item, 1) + else + TriggerServerEvent("cad-diving:collected", "none", nil) + end + Citizen.Wait(2000) + end + end + if inRange then + Citizen.Wait(4) + else + Citizen.Wait(2000) + end + end +end) + +function CreateBlip() + local divingblip = AddBlipForCoord(3146.24, -280.84, -8.44) + SetBlipSprite(divingblip, 465) + SetBlipDisplay(diving, 4) + SetBlipScale(divingblip, 0.9) + SetBlipColour(divingblip, 3) + SetBlipAsShortRange(divingblip, true) + BeginTextCommandSetBlipName("STRING") + AddTextComponentString('Sunket skib') + EndTextCommandSetBlipName(divingblip) +end \ No newline at end of file diff --git a/resources/[qb]/[qb_jobs]/cad-diving/fxmanifest.lua b/resources/[qb]/[qb_jobs]/cad-diving/fxmanifest.lua new file mode 100644 index 0000000..562225c --- /dev/null +++ b/resources/[qb]/[qb_jobs]/cad-diving/fxmanifest.lua @@ -0,0 +1,7 @@ +fx_version 'cerulean' +game "gta5" + +author "Cadburry#7547" + +client_script "cl_diving.lua" +server_script 'sv_diving.lua' \ No newline at end of file diff --git a/resources/[qb]/[qb_jobs]/cad-diving/sv_diving.lua b/resources/[qb]/[qb_jobs]/cad-diving/sv_diving.lua new file mode 100644 index 0000000..b34aa85 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/cad-diving/sv_diving.lua @@ -0,0 +1,17 @@ +QBCore = exports['qb-core']:GetCoreObject() + +RegisterServerEvent("cad-diving:collected") +AddEventHandler("cad-diving:collected", function(type, item, count) + local xPlayer = QBCore.Functions.GetPlayer(source) + if xPlayer ~= nil then + if type == "normal" then + xPlayer.Functions.AddItem(item, count) + TriggerClientEvent('inventory:client:ItemBox', source, QBCore.Shared.Items[item], "add") + elseif type == "rare" then + xPlayer.Functions.AddItem(item, count) + TriggerClientEvent('inventory:client:ItemBox', source, QBCore.Shared.Items[item], "add") + else + TriggerClientEvent("QBCore:Notify", source, "Du fangede intet") + end + end +end) \ No newline at end of file diff --git a/resources/[qb]/[qb_jobs]/cad-postalop/README.md b/resources/[qb]/[qb_jobs]/cad-postalop/README.md new file mode 100644 index 0000000..2b9cdb8 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/cad-postalop/README.md @@ -0,0 +1,15 @@ +# Postal Op Delivery Job +This is a job where you sign in near the postal op and put in a deposit for a truck which will be used to deliver packages to store, banks, etc + +# Dependencies +- qb-core +- qb-target +- PolyZone + +# How to install? +- Download latest version from releases +- Put in resources and ensure in server.cfg +- Thats all! + +# Support +Join Discord: https://discord.gg/qxGPARNwNP diff --git a/resources/[qb]/[qb_jobs]/cad-postalop/client.lua b/resources/[qb]/[qb_jobs]/cad-postalop/client.lua new file mode 100644 index 0000000..7b80c3e --- /dev/null +++ b/resources/[qb]/[qb_jobs]/cad-postalop/client.lua @@ -0,0 +1,283 @@ +local QBCore = exports['qb-core']:GetCoreObject() +--=================================================== +-- LOCALS +--=================================================== +local currentJob = {} +local onJob = false +local onDelivery = false +local goPostalVehicle = nil +local currentJobPay = 0 +local totalpayamount = 0 +local MaxDelivery = 0 +local PackageObject = nil +local missionblip = nil +local isDeliverySignedIn = false +local PlayerJob = {} +--=================================================== +-- CONFIG +--=================================================== +local locations = Config.deliveryLocations +local vehicleSpawnLocations = Config.vehicleSpawnLocations +--=================================================== +-- FUNCTIONS +--=================================================== +CreateThread(function() + local bCfg = Config.blip + PostalBlip = AddBlipForCoord(bCfg.coords) + SetBlipSprite(PostalBlip, bCfg.sprite) + SetBlipScale(PostalBlip, bCfg.scale) + SetBlipDisplay(PostalBlip, 4) + SetBlipColour(PostalBlip, bCfg.color) + SetBlipAsShortRange(PostalBlip, true) + BeginTextCommandSetBlipName("STRING") + AddTextComponentString(bCfg.label) + EndTextCommandSetBlipName(PostalBlip) +end) + +RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function() + PlayerJob = QBCore.Functions.GetPlayerData().job +end) + +RegisterNetEvent('QBCore:Client:OnJobUpdate', function() + PlayerJob = QBCore.Functions.GetPlayerData().job +end) + +AddEventHandler('onResourceStart', function(resourceName) + if GetCurrentResourceName() == resourceName then + PlayerJob = QBCore.Functions.GetPlayerData().job + end +end) + +function NewDeliveryShift() + if MaxDelivery >= 0 then + local jobLocation = locations[math.random(1, #locations)] + SetDeliveryJobBlip(jobLocation[1], jobLocation[2], jobLocation[3]) + currentJob = jobLocation + currentJobPay = CalculateTravelDistanceBetweenPoints(GetEntityCoords(goPostalVehicle), currentJob[1], + currentJob[2], currentJob[3]) / 2 / 4 + if currentJobPay > 60 then + currentJobPay = math.random(1200, 1500) + end + QBCore.Functions.Notify("Kør til næste leverings punkt!") + else + onJob = false + RemoveJobBlip() + SetNewWaypoint(-425.44, -2787.76, 6.0) + QBCore.Functions.Notify("Du er færdig! Kør tilbage til depottet.") + end +end + +function SpawnGoPostal(x, y, z, h) + local vehicleHash = GetHashKey(Config.vehicleModel) + RequestModel(vehicleHash) + while not HasModelLoaded(vehicleHash) do + Wait(0) + end + goPostalVehicle = CreateVehicle(vehicleHash, x, y, z, h, true, false) + local id = NetworkGetNetworkIdFromEntity(goPostalVehicle) + SetNetworkIdCanMigrate(id, true) + SetNetworkIdExistsOnAllMachines(id, true) + SetVehicleDirtLevel(goPostalVehicle, 0) + SetVehicleHasBeenOwnedByPlayer(goPostalVehicle, true) + SetEntityAsMissionEntity(goPostalVehicle, true, true) + SetVehicleEngineOn(goPostalVehicle, true) + SetVehicleColours(goPostalVehicle, 131, 74) + TaskWarpPedIntoVehicle(PlayerPedId(), goPostalVehicle, -1) + TriggerEvent('vehiclekeys:client:SetOwner', GetVehicleNumberPlateText(goPostalVehicle)) + exports['qb-fuel']:SetFuel(goPostalVehicle, 100.0) +end + +function getParkingPosition(spots) + for id, v in pairs(spots) do + if GetClosestVehicle(v.x, v.y, v.z, 3.0, 0, 70) == 0 then + return true, v + end + end + QBCore.Functions.Notify("Parkeringspladsen er fuld, vent venligst.") +end + +function SetDeliveryJobBlip(x, y, z) + if DoesBlipExist(missionblip) then RemoveBlip(missionblip) end + missionblip = AddBlipForCoord(x, y, z) + SetBlipSprite(missionblip, 164) + SetBlipColour(missionblip, 53) + SetNewWaypoint(x, y) + BeginTextCommandSetBlipName("STRING") + AddTextComponentString("Destination") + EndTextCommandSetBlipName(missionblip) +end + +function RemoveJobBlip() + if DoesBlipExist(missionblip) then RemoveBlip(missionblip) end +end + +function LoadAnim(animDict) + RequestAnimDict(animDict) + while not HasAnimDictLoaded(animDict) do + Wait(10) + end +end + +function LoadModel(model) + RequestModel(model) + while not HasModelLoaded(model) do + Wait(10) + end +end + +--=================================================== +-- JOB WORK +--=================================================== + +CreateThread(function() + local pedModel = GetHashKey(Config.pedModel) + RequestModel(pedModel) + while not HasModelLoaded(pedModel) do + Wait(1) + end + local ped = CreatePed(4, pedModel, Config.pedCoords.x, Config.pedCoords.y, Config.pedCoords.z, + Config.pedCoords.w, false, false) + SetBlockingOfNonTemporaryEvents(ped, true) + SetPedDiesWhenInjured(ped, false) + SetEntityHeading(ped, Config.pedCoords.w) + SetPedCanPlayAmbientAnims(ped, true) + SetPedCanRagdollFromPlayerImpact(ped, false) + SetEntityInvincible(ped, true) + FreezeEntityPosition(ped, true) + + if PlayerJob.name == Config.JobName then + exports['qb-target']:AddTargetModel('s_m_m_postal_01', { + options = { + { + type = "client", + event = "cad-postalop:startwork", + icon = "fas fa-sign-in-alt", + label = "Gå på arbejde", + canInteract = function(entity, data) + return not isDeliverySignedIn + end, + }, + { + type = "client", + event = "cad-postalop:finishwork", + icon = "fas fa-money-check-alt", + label = "Modtag løn og afslut arbejde", + canInteract = function(entity, data) + return isDeliverySignedIn + end, + }, + }, + distance = 1.5 + }) + end + exports['qb-target']:AddTargetBone('boot', { + options = { + { + type = "client", + event = "cad-postalop:takepackage", + icon = "fas fa-box", + label = "Tag pakke", + canInteract = function(entity, data) + return onJob and (entity == goPostalVehicle) + end, + } + }, + distance = 2.5, + }) + +end) + +CreateThread(function() + while true do + local inRange = false + if isDeliverySignedIn then + if (GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), currentJob[1], currentJob[2], currentJob[3], true) < 50) and onJob and onDelivery then + inRange = true + DrawMarker(2, currentJob[1], currentJob[2], currentJob[3], 0, 0, 0, 0, 0, 0, 0.3, 0.2, -0.2, 100, 100, + 155, 255, true, true, 0, 0) + if (GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), currentJob[1], currentJob[2], currentJob[3], true) < 1.5) and onJob and onDelivery then + LoadAnim("creatures@rottweiler@tricks@") + TaskPlayAnim(PlayerPedId(), "creatures@rottweiler@tricks@", "petting_franklin", 8.0, 8.0, -1, 50, 0, + false, false, false) + FreezeEntityPosition(PlayerPedId(), true) + Wait(5000) + DeleteObject(PackageObject) + FreezeEntityPosition(PlayerPedId(), false) + ClearPedTasksImmediately(PlayerPedId()) + PackageObject = nil + onDelivery = false + totalpayamount = totalpayamount + currentJobPay + MaxDelivery = MaxDelivery - 1 + NewDeliveryShift() + end + end + end + if not inRange then + Wait(1000) + end + Wait(4) + end +end) + +RegisterNetEvent('cad-postalop:startwork', function() + if not isDeliverySignedIn and not onJob then + if not DoesEntityExist(goPostalVehicle) then + local freespot, v = getParkingPosition(vehicleSpawnLocations) + if freespot then SpawnGoPostal(v.x, v.y, v.z, v.h) end + MaxDelivery = math.random(2, 8) + NewDeliveryShift() + onJob = true + isDeliverySignedIn = true + else + QBCore.Functions.Notify("Du har allerede et køretøj!") + end + else + QBCore.Functions.Notify("Du er allerede igang med et job, færdiggør det først.") + end +end) + +RegisterNetEvent('cad-postalop:takepackage', function() + if not onDelivery and onJob and not IsPedInAnyVehicle(PlayerPedId()) and GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), currentJob[1], currentJob[2], currentJob[3], true) < 40 then + LoadModel("hei_prop_heist_box") + local pos = GetEntityCoords(PlayerPedId(), false) + PackageObject = CreateObject(GetHashKey("hei_prop_heist_box"), pos.x, pos.y, pos.z, true, true, true) + AttachEntityToEntity(PackageObject, PlayerPedId(), GetPedBoneIndex(PlayerPedId(), 28422), 0.0, -0.03, 0.0, 5.0, + 0.0, 0.0, 1, 1, 0, 1, 0, 1) + LoadAnim("anim@heists@box_carry@") + TaskPlayAnim(PlayerPedId(), "anim@heists@box_carry@", "idle", 8.0, 8.0, -1, 50, 0, false, false, false) + onDelivery = true + end +end) + +RegisterNetEvent('cad-postalop:finishwork', function() + if isDeliverySignedIn then + if not onJob then + if DoesEntityExist(goPostalVehicle) then + DeleteVehicle(goPostalVehicle) + RemoveJobBlip() + if IsVehicleDamaged(goPostalVehicle) then + totalpayamount = totalpayamount - 1000 + QBCore.Functions.Notify("Din lastbil blev beskadiget, du er blevet trukket 1000,- for at dække skaderne.") + end + isDeliverySignedIn = false + onJob = false + TriggerServerEvent('cad-delivery:cash', totalpayamount, 0) + Wait(500) + totalpayamount = 0 + else + isDeliverySignedIn = false + onJob = false + QBCore.Functions.Notify("Den lastbil var altså dyr... Du får ingen løn denne omgang.") + end + else + QBCore.Functions.Notify("Du er nødt til at afslutte dit job først.") + end + else + QBCore.Functions.Notify("Gå på arbejde før du kan få dine penge!") + end +end) + + +--=================================================== +-- END +--===================================================s diff --git a/resources/[qb]/[qb_jobs]/cad-postalop/config.lua b/resources/[qb]/[qb_jobs]/cad-postalop/config.lua new file mode 100644 index 0000000..a599acf --- /dev/null +++ b/resources/[qb]/[qb_jobs]/cad-postalop/config.lua @@ -0,0 +1,44 @@ +Config = {} + +Config.blip = { + label = 'HPNord', + coords = vector3(-425.44, -2787.76, 6.0), + sprite = 304, + scale = 0.5, + color = 10 +} + +Config.JobName = "delivery" +Config.pedModel = 's_m_m_postal_01' +Config.pedCoords = vector4(-425.44, -2787.76, 5.0, 326.65) + +Config.vehicleModel = 'benson' + +Config.vehicleSpawnLocations = { + { x = -446.24, y = -2789.72, z = 5.96, h = 46.04 }, + { x = -451.24, y = -2793.8, z = 5.96, h = 47.51 }, + { x = -455.8, y = -2798.48, z = 5.96, h = 44.91 } +} + +Config.deliveryLocations = { + [1] = { 441.12, -981.12, 30.68 }, + [2] = { 306.72, -594.88, 43.28 }, + [3] = { -37.2, -1110.36, 26.44 }, + [4] = { -267.08, -955.64, 31.24 }, + [5] = { -1200.36, -891.12, 14.0 }, + [6] = { -705.72, -906.68, 19.2 }, + [7] = { 26.04, -1339.24, 29.48 }, + [8] = { -41.52, -1752.52, 29.44 }, + [9] = { -534.64, -165.96, 38.32 }, + [10] = { -633.08, 233.88, 81.88 }, + [11] = { 246.92, 222.2, 106.28 }, + [12] = { 375.64, 333.72, 103.56 }, + [13] = { 314.48, -278.6, 54.16 }, + [14] = { 149.44, -1040.0, 29.36 }, + [15] = { -1081.96, -248.24, 37.76 }, + [16] = { -350.76, -48.84, 49.04 }, + [17] = { -1484.2, -380.24, 40.16 }, + [18] = { 2550.24, 382.0, 108.64 }, + [19] = { -1816.56, -1193.48, 14.32 }, + [20] = { -2966.64, 388.0, 15.04 }, +} diff --git a/resources/[qb]/[qb_jobs]/cad-postalop/fxmanifest.lua b/resources/[qb]/[qb_jobs]/cad-postalop/fxmanifest.lua new file mode 100644 index 0000000..e61442a --- /dev/null +++ b/resources/[qb]/[qb_jobs]/cad-postalop/fxmanifest.lua @@ -0,0 +1,19 @@ +fx_version 'cerulean' +game "gta5" +lua54 'yes' + +author "Cadburry" +description "Postal Op Job which uses qb-target & polyzone" +version "1.1" + +shared_scripts { + 'config.lua', +} +server_script 'server.lua' +client_script 'client.lua' + +files { + 'handling.meta', +} + +data_file 'HANDLING_FILE' 'handling.meta' diff --git a/resources/[qb]/[qb_jobs]/cad-postalop/handling.meta b/resources/[qb]/[qb_jobs]/cad-postalop/handling.meta new file mode 100644 index 0000000..0f51875 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/cad-postalop/handling.meta @@ -0,0 +1,62 @@ + + + + + benson + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 224048 + 0 + 0 + TRUCK + + + + + + + + \ No newline at end of file diff --git a/resources/[qb]/[qb_jobs]/cad-postalop/server.lua b/resources/[qb]/[qb_jobs]/cad-postalop/server.lua new file mode 100644 index 0000000..c971336 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/cad-postalop/server.lua @@ -0,0 +1,18 @@ +local QBCore = exports['qb-core']:GetCoreObject() +--=================================================== +-- JOB CASH +--=================================================== +RegisterNetEvent('cad-delivery:cash', function(currentJobPay, value) + local _source = source + local Player = QBCore.Functions.GetPlayer(_source) + local job = Player.PlayerData.job.name + if value ~= 0 then + --User triggering anti-cheat + DropPlayer(_source, "Anti-cheat triggered") + else + if job == Config.JobName then + Player.Functions.AddMoney("bank", currentJobPay, "HPNord Indbetaling") + TriggerClientEvent("QBCore:Notify", _source, "Du modtog en indbetaling på " .. currentJobPay..",-") + end + end +end) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/.gitignore b/resources/[qb]/[qb_jobs]/keep-oilwell/.gitignore new file mode 100644 index 0000000..cb13fa4 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/.gitignore @@ -0,0 +1,2 @@ +/test +watch.cjs \ No newline at end of file diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/LICENSE b/resources/[qb]/[qb_jobs]/keep-oilwell/LICENSE new file mode 100644 index 0000000..f288702 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/README.md b/resources/[qb]/[qb_jobs]/keep-oilwell/README.md new file mode 100644 index 0000000..e225b8b --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/README.md @@ -0,0 +1,223 @@ +![Keep oilwell](https://raw.githubusercontent.com/swkeep/keep-oilwell/main/.github/images/banner3.png) + +# Preview + +- [Youtube video](https://youtu.be/lGgsUonmXmw) + +# Dependencies + +- [qb-target](https://github.com/BerkieBb/qb-target) +- [qb-menu](https://github.com/qbcore-framework/qb-menu) + +# Key Features + +- NoPixel inspired oil company +- Owning oilwells +- ... + +## Patch 1.1.0 (employees) + +- new notifications when an oilwell part breaks. +- oilwell owners can employ a person to operate their oilwells for them. (employees have access to crude oil transfer, but when they use it, it sends available oil to the owner's storage, not the employee's storage.) +- employees should have `oilwell` job. +- owners can fire their employees at will employees access will be revoked immediately. +- removed some data which should not be available on client-side. +- added script loading report. +- the CEO have ability to remove any oilwell from now on (this is not a permanent removal therefore oil wells are just flagged as deleted for easy recovery). +- information menu is now recives data directly from server. + +### How to update to new patch (database changes): + +- 1. update your `oilrig_position` by using ALTER TABLE available at end of sql.sql +- 2. import new table `oilcompany_employees` + +## Patch 1.0.0 + +- (important) if you are using old version make sure you have a backup. + +- balanced oil production for 1 hour +- to be able to operate oilwells players must be on duty +- oilwells now take damege and players should fix them or they will stop working +- new items to fix oilwells +- transport accepts all oil types +- new oil types +- blender new formula and new elemnts +- qb-target won't despawn with objects +- fixed qb-target not showing up +- fixed props blinking +- fixed props not spawning if players don't have oilwell job +- better check for job and onduty +- new withdraw system +- withdraw purge menu +- added octane calculation +- showing oilwell prop before assigning them +- oilbarell props +- to be honest there was so many changes i don't remember most of them! + +## Usage + +- add oilwell by "/create oilwell" and then place and asign it to a player. (admins) +- or use 'oilwell' item to spawn oilwell + +## Installation + +## Step 0: + +- import sql.sql in your database + +## Step 1: + +\*\* qb-core shared items.lua + +```lua +["oilbarell"] = { + ["name"] = "oilbarell", + ["label"] = "Oil barell", + ["weight"] = 15000, + ["type"] = "item", + ["image"] = "oilBarrel.png", + ["unique"] = true, + ["useable"] = false, + ["shouldClose"] = true, + ["combinable"] = nil, + ["description"] = "Oil Barrel" +}, +["oilwell"] = { + ["name"] = "oilwell", + ["label"] = "Oilwell", + ["weight"] = 50000, + ["type"] = "item", + ["image"] = "oilwell.png", + ["unique"] = false, + ["useable"] = true, + ["shouldClose"] = true, + ["combinable"] = nil, + ["description"] = "Oilwell" +}, +["reliefvalvestring"] = { + ["name"] = "reliefvalvestring", + ["label"] = "Relief Valve String", + ["weight"] = 4000, + ["type"] = "item", + ["image"] = "relief_valve_string.png", + ["unique"] = false, + ["useable"] = true, + ["shouldClose"] = true, + ["combinable"] = nil, + ["description"] = "Relief Valve String" +}, +["oilfilter"] = { + ["name"] = "oilfilter", + ["label"] = "Oil Filter", + ["weight"] = 5000, + ["type"] = "item", + ["image"] = "oil_filter.png", + ["unique"] = false, + ["useable"] = true, + ["shouldClose"] = true, + ["combinable"] = nil, + ["description"] = "Oil Filter" +}, +["skewgear"] = { + ["name"] = "skewgear", + ["label"] = "Skew Gear", + ["weight"] = 6000, + ["type"] = "item", + ["image"] = "skew_gear.png", + ["unique"] = false, + ["useable"] = true, + ["shouldClose"] = true, + ["combinable"] = nil, + ["description"] = "Skew Gear" +}, +["timingchain"] = { + ["name"] = "timingchain", + ["label"] = "Timing Chain", + ["weight"] = 7000, + ["type"] = "item", + ["image"] = "timing_chain.png", + ["unique"] = false, + ["useable"] = true, + ["shouldClose"] = true, + ["combinable"] = nil, + ["description"] = "Timing Chain" +}, +["driveshaft"] = { + ["name"] = "driveshaft", + ["label"] = "Drive Shaft", + ["weight"] = 5000, + ["type"] = "item", + ["image"] = "drive_shaft.png", + ["unique"] = false, + ["useable"] = true, + ["shouldClose"] = true, + ["combinable"] = nil, + ["description"] = "Drive Shaft" +}, + +``` + +## Step 2: + +\*\* qb-core shared jobs.lua + +```lua +['oilwell'] = { + label = 'Oil Company', + defaultDuty = true, + offDutyPay = false, + grades = { + ['0'] = { + name = 'Oilwell Operator', + payment = 50 + }, + ['1'] = { + name = 'Oilwell Operator tier 2', + payment = 75 + }, + ['2'] = { + name = 'Event Driver tier 2', + payment = 100 + }, + ['3'] = { + name = 'Sales', + payment = 125 + }, + ['4'] = { + name = 'CEO', + isboss = true, + payment = 150 + }, + }, +}, +``` + +## Step 3: tooltip + +- in qb-inventory\js\app.js find FormatItemInfo() there is if statement like: if (itemData.name == "id_card") +- track where all of elseif statments are ended then add code below. + +```javascript +else if (itemData.name == "oilbarell") { + $(".item-info-title").html("

" + itemData.label + "

"); + $(".item-info-description").html("

Gal: " + itemData.info.gal + "

" + "

Type: " + itemData.info.type + "

" + "

Octane: " + itemData.info.avg_gas_octane + "

"); +} +``` + +# Support + +- [Discord](https://discord.gg/ccMArCwrPV) + +# Donation + +- [Donation](https://swkeep.github.io) + +![Keep oilwell](https://raw.githubusercontent.com/swkeep/keep-oilwell/main/.github/images/screenshots/2022-05-17-16_00_11-000275.jpg) +![Keep oilwell](https://raw.githubusercontent.com/swkeep/keep-oilwell/main/.github/images/screenshots/2022-05-17-16_00_18-000276.jpg) +![Keep oilwell](https://raw.githubusercontent.com/swkeep/keep-oilwell/main/.github/images/screenshots/2022-05-17-16_00_34-000277.jpg) +![Keep oilwell](https://raw.githubusercontent.com/swkeep/keep-oilwell/main/.github/images/screenshots/2022-05-17-16_00_46-000278.jpg) +![Keep oilwell](https://raw.githubusercontent.com/swkeep/keep-oilwell/main/.github/images/screenshots/2022-05-17-16_00_50-000279.jpg) +![Keep oilwell](https://raw.githubusercontent.com/swkeep/keep-oilwell/main/.github/images/screenshots/2022-05-17-16_01_04-000280.jpg) +![Keep oilwell](https://raw.githubusercontent.com/swkeep/keep-oilwell/main/.github/images/screenshots/2022-05-17-16_01_09-000281.jpg) +![Keep oilwell](https://raw.githubusercontent.com/swkeep/keep-oilwell/main/.github/images/screenshots/2022-05-17-16_01_11-000282.jpg) +![Keep oilwell](https://raw.githubusercontent.com/swkeep/keep-oilwell/main/.github/images/screenshots/2022-05-17-16_01_13-000283.jpg) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/client/client.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client.lua new file mode 100644 index 0000000..830d74f --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client.lua @@ -0,0 +1,407 @@ +local QBCore = exports['qb-core']:GetCoreObject() + +PlayerJob = {} +OnDuty = nil +OBJECT = nil +local rigmodel = GetHashKey('p_oil_pjack_03_s') + +function CheckJob() + return (PlayerJob.name == 'oilwell') +end + +function CheckOnduty() + return (PlayerJob.name == 'oilwell' and PlayerJob.onduty) +end + +-- class +OilRigs = { + dynamicSpawner_state = false, + data_table = {}, -- this table holds oilwells data and defined by server + core_entities = {} -- this table holds objects that has some functions to them and filled by dynamic spawner +} + +function OilRigs:add(s_res, id) + if self.data_table[id] ~= nil then + return + end + self.data_table[id] = {} + self.data_table[id] = s_res + if self.data_table[id].isOwner == true then + local blip_settings = Oilwell_config.Settings.oil_well.blip + blip_settings.type = 'oil_well' + blip_settings.id = id + self.data_table[id].blip_handle = createCustom(self.data_table[id].position.coord, blip_settings) + end +end + +function OilRigs:update(s_res, id) + if self.data_table[id] == nil then return end + s_res.entity = self.data_table[id].entity + s_res.Qbtarget = self.data_table[id].Qbtarget + self.data_table[id] = s_res + QBCore.Functions.TriggerCallback('keep-oilwell:server:oilwell_metadata', function(metadata) + self:syncSpeed(self.data_table[id].entity, metadata.speed) + end, self.data_table[id].oilrig_hash) +end + +function OilRigs:startUpdate(cb) + QBCore.Functions.TriggerCallback('keep-oilrig:server:getNetIDs', function(result) + for key, value in pairs(result) do + self:update(value, key) + Wait(15) + end + cb(true) + end) +end + +function OilRigs:syncSpeed(entity, speed) + local anim_speed = Round((speed / Oilwell_config.AnimationSpeedDivider), 2) + SetEntityAnimSpeed(entity, 'p_v_lev_des_skin', 'p_oil_pjack_03_s', anim_speed + .0) +end + +function OilRigs:getById(id) + for key, value in pairs(self.data_table) do + if value.id == id then + return value + end + end + return false +end + +function OilRigs:getByEntityHandle(handle) + for key, value in pairs(self.data_table) do + if value.entity == handle then + return value + end + end + return false +end + +function OilRigs:readAll() + return self.data_table +end + +function OilRigs:DynamicSpawner() + self.dynamicSpawner_state = true + local object_spawn_distance = 125.0 + + CreateThread(function() + -- create core blips + Wait(50) + for index, value in pairs(Oilwell_config.locations) do + value.blip.type = index + if not value.blip.handle and PlayerJob.name == 'oilwell' then + value.blip.handle = createCustom(value.position, value.blip) + end + if not value.qbtarget then + Add_3rd_eye(value.position, index) + value.qbtarget = true + end + end + + for _, oilwell in pairs(self.data_table) do + if not oilwell.qbtarget then + local c = oilwell.position.coord + local coord = vector3(c.x, c.y, c.z) + createOwnerQbTarget(oilwell.oilrig_hash, coord) + oilwell.qbtarget = true + end + end + + while self.dynamicSpawner_state do + local pedCoord = GetEntityCoords(PlayerPedId()) + -- oilwells/pumps + for index, value in pairs(self.data_table) do + local c = value.position.coord + c = vector3(c.x, c.y, c.z) + local distance = #(c - pedCoord) + if distance < object_spawn_distance and self.data_table[index].entity == nil then + self.data_table[index].entity = spawnObjects(rigmodel, self.data_table[index].position) + QBCore.Functions.TriggerCallback('keep-oilwell:server:oilwell_metadata', function(metadata) + self:syncSpeed(self.data_table[index].entity, metadata.speed) + end, self.data_table[index].oilrig_hash) + elseif distance > object_spawn_distance and self.data_table[index].entity ~= nil then + DeleteEntity(self.data_table[index].entity) + self.data_table[index].entity = nil + end + end + + for index, value in pairs(Oilwell_config.locations) do + local position = vector3(value.position.x, value.position.y, value.position.z) + local distance = #(position - pedCoord) + if self.core_entities[index] == nil then + self.core_entities[index] = {} + end + if distance < object_spawn_distance and self.core_entities[index].entity == nil then + self.core_entities[index].entity = spawnObjects(value.model, { + coord = { x = position.x, y = position.y, z = position.z, }, + rotation = { x = value.rotation.x, y = value.rotation.y, z = value.rotation.z, } + }) + elseif distance > object_spawn_distance and self.core_entities[index].entity ~= nil then + DeleteEntity(self.core_entities[index].entity) + self.core_entities[index].entity = nil + end + end + Wait(1250) + end + end) +end + +function OilRigs:Flush_Entities() + for _, oilwell in pairs(self.data_table) do + if oilwell.entity then + DeleteObject(oilwell.entity) + end + RemoveBlip(oilwell.blip_handle) + end + self.dynamicSpawner_state = false + Wait(5) + self.data_table = {} +end + +-- +RegisterNetEvent('keep-oilrig:client:changeRigSpeed', function(qbtarget) + if not CheckJob() then + QBCore.Functions.Notify('Du er ikke hyret af et oliefirma', "error") + return false + end + if not CheckOnduty() then + QBCore.Functions.Notify('Du skal være på job!', "error") + return false + end + local rig = OilRigs:getByEntityHandle(qbtarget.entity) + if not rig then + return --print('oilwell not found') + end + QBCore.Functions.TriggerCallback('keep-oilwell:server:oilwell_metadata', function(metadata) + OilRigs:startUpdate(function() + + local inputData = exports['qb-input']:ShowInput({ + header = "Skift hastighed", + submitText = "change", + inputs = { + { + type = 'text', + isRequired = true, + name = 'Hastighed', + text = 'Nuværrende hastighed ' .. metadata.speed + }, + } + }) + if inputData then + local speed = tonumber(inputData.speed) + if not inputData.speed then + return + end + if not (0 <= speed and speed <= 100) then + QBCore.Functions.Notify('Hastighed skal være mellem 0-100', "error") + return + end + QBCore.Functions.Notify('Hanstighed er nu ' .. speed, "success") + TriggerServerEvent('keep-oilrig:server:updateSpeed', inputData, rig.id) + end + end) + end, rig.oilrig_hash) +end) + +local function loadData() + OilRigs:Flush_Entities() + QBCore.Functions.GetPlayerData(function(PlayerData) + PlayerJob = PlayerData.job + OnDuty = PlayerData.job.onduty + QBCore.Functions.TriggerCallback('keep-oilrig:server:getNetIDs', function(result) + for key, value in pairs(result) do + OilRigs:add(value, key) + end + + OilRigs:DynamicSpawner() + end) + end) +end + +RegisterNetEvent('keep-oilrig:client:syncSpeed', function(id, speed) + local rig = OilRigs:getById(id) + if rig then + OilRigs:syncSpeed(rig.entity, speed) + end +end) + +function spawnObjects(model, position) + TriggerEvent('keep-oilrig:client:clearArea', position.coord) + -- every oilwell exist only on client side! + local entity = CreateObject(model, position.coord.x, position.coord.y, position.coord.z, 0, 0, 0) + while not DoesEntityExist(entity) do Wait(10) end + SetEntityRotation(entity, position.rotation.x, position.rotation.y, position.rotation.z, 0.0, true) + FreezeEntityPosition(entity, true) + SetEntityProofs(entity, 1, 1, 1, 1, 1, 1, 1, 1) + return entity +end + +-- -------------------------------------------------------------- + +RegisterNetEvent('keep-oilrig:client:spawn') +AddEventHandler('keep-oilrig:client:spawn', function() + local coords = ChooseSpawnLocation() + QBCore.Functions.TriggerCallback('keep-oilrig:server:createNewOilrig', function(NetId) + if NetId ~= nil then + local entity = NetworkGetEntityFromNetworkId(NetId) + OBJECT = entity + exports['qb-target']:AddEntityZone("oil-rig-" .. entity, entity, { + name = "oil-rig-" .. entity, + heading = GetEntityHeading(entity), + debugPoly = false, + }, { + options = { + { + type = "client", + event = "keep-oilrig:client:enterInformation", + icon = "fa-regular fa-file-lines", + label = "Tildel personel", + canInteract = function(entity) + if not CheckJob() then return false end + if not (PlayerJob.grade.level == 4) then + TriggerEvent('QBCore:Notify', 'Du skal være på job!', "error") + Wait(2000) + return false + end + if not CheckOnduty() then + TriggerEvent('QBCore:Notify', 'Du skal være på job!', "error") + Wait(2000) + return false + end + return true + end, + }, + { + type = "client", + event = "keep-oilwell:menu:OPENMENU", + icon = "fa-regular fa-file-lines", + label = "Adjust position", + canInteract = function(entity) + if not CheckJob() then + TriggerEvent('QBCore:Notify', 'Kun chefen kan dette', "error") + Wait(2000) + return false + end + if not (PlayerJob.grade.level == 4) then + TriggerEvent('QBCore:Notify', 'Kun chefen kan dette', "error") + Wait(2000) + return false + end + if not CheckOnduty() then + TriggerEvent('QBCore:Notify', 'Du skal være på job!', "error") + Wait(2000) + return false + end + return true + end, + }, + }, + distance = 2.5 + }) + end + end, coords) +end) + + +RegisterNetEvent('keep-oilrig:client:enterInformation', function(qbtarget) + local inputData = exports['qb-input']:ShowInput({ + header = "Tildel oliebrønd: ", + submitText = "Tildel", + inputs = { { + type = 'text', + isRequired = true, + name = 'Navn', + text = "Navn på oliebrønd" + }, + { + type = 'number', + isRequired = true, + name = 'BorgerID', + text = "Borgerens ID" + }, + } + }) + if inputData then + if not inputData.name and not inputData.cid then + return + end + local netId = NetworkGetNetworkIdFromEntity(qbtarget.entity) + + inputData.netId = netId + QBCore.Functions.TriggerCallback('keep-oilrig:server:regiserOilrig', function(result) + DeleteEntity(qbtarget.entity) + if result == true then + Wait(1500) + QBCore.Functions.Notify('Registrerer oliebrønd til: ' .. inputData.cid, "success") + loadData() + end + end, inputData) + end +end) + +RegisterNetEvent('keep-oilwell:client:force_reload', function() + Wait(25) + loadData() +end) + +AddEventHandler('onResourceStart', function(resourceName) + if (GetCurrentResourceName() ~= resourceName) then + return + end + Wait(500) + + QBCore.Functions.GetPlayerData(function(PlayerData) + PlayerJob = PlayerData.job + OnDuty = PlayerData.job.onduty + loadData() + end) + StartBarellAnimation() +end) + +RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function() + Wait(3000) + QBCore.Functions.GetPlayerData(function(PlayerData) + PlayerJob = PlayerData.job + OnDuty = PlayerData.job.onduty + loadData() + end) + StartBarellAnimation() +end) + +RegisterNetEvent('QBCore:Client:OnPlayerUnload', function() + OilRigs.dynamicSpawner_state = false +end) + +RegisterNetEvent('QBCore:Client:OnJobUpdate', function(JobInfo) + PlayerJob = JobInfo + OnDuty = PlayerJob.onduty + loadData() +end) + +RegisterNetEvent('QBCore:Client:SetDuty', function(duty) + OnDuty = duty + loadData() +end) + +RegisterNetEvent('keep-oilrig:client:local_mail_sender', function(data) + local Lang = Oilwell_config.Locale + Lang.mail.message = string.format(Lang.mail.message, data.gender, data.charinfo.lastname, data.money, data.amount, + data.refund) + TriggerServerEvent('qb-phone:server:sendNewMail', { + sender = Lang.mail.sender, + subject = Lang.mail.subject, + message = Lang.mail.message, + button = {} + }) +end) + +RegisterNetEvent('keep-oilwell:server_lib:AddExplosion', function(bullding_type) + local c = Oilwell_config.locations[bullding_type].position + local t = 0 + for i = 1, 5, 1 do + AddExplosion(c.x, c.y, c.z + 0.5, 9, 10.0, true, false, true) + t = t + 1000 + Wait(t) + end +end) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/client_lib_entry.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/client_lib_entry.lua new file mode 100644 index 0000000..4db940d --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/client_lib_entry.lua @@ -0,0 +1,203 @@ +local QBCore = exports['qb-core']:GetCoreObject() + +function isOwner(entity) + local oilrig = OilRigs:getByEntityHandle(entity) + if not oilrig then + return --print('failed to get oilwell') + end + local is_employee = nil + local is_owner = nil + -- await didn't work! + QBCore.Functions.TriggerCallback('keep-oilwell:server:is_employee', function(_is_employee, _is_owner) + is_employee, is_owner = _is_employee, _is_owner + end, oilrig.oilrig_hash) + for i = 1, 5, 1 do + if is_employee ~= nil then + break + end + Wait(50) + end + return is_employee, is_owner +end + +local function Draw2DText(content, font, colour, scale, x, y) + SetTextFont(font) + SetTextScale(scale, scale) + SetTextColour(colour[1], colour[2], colour[3], 255) + SetTextEntry("STRING") + SetTextDropShadow(0, 0, 0, 0, 255) + SetTextDropShadow() + SetTextEdge(4, 0, 0, 0, 255) + SetTextOutline() + AddTextComponentString(content) + DrawText(x, y) +end + +local function RotationToDirection(rotation) + local adjustedRotation = { + x = (math.pi / 180) * rotation.x, + y = (math.pi / 180) * rotation.y, + z = (math.pi / 180) * rotation.z + } + local direction = { + x = -math.sin(adjustedRotation.z) * + math.abs(math.cos(adjustedRotation.x)), + y = math.cos(adjustedRotation.z) * + math.abs(math.cos(adjustedRotation.x)), + z = math.sin(adjustedRotation.x) + } + return direction +end + +local function RayCastGamePlayCamera(distance) + local cameraRotation = GetGameplayCamRot() + local cameraCoord = GetGameplayCamCoord() + local direction = RotationToDirection(cameraRotation) + local destination = { + x = cameraCoord.x + direction.x * distance, + y = cameraCoord.y + direction.y * distance, + z = cameraCoord.z + direction.z * distance + } + local a, b, c, d, e = GetShapeTestResult( + StartShapeTestRay(cameraCoord.x, cameraCoord.y, + cameraCoord.z, destination.x, + destination.y, destination.z, + -1, PlayerPedId(), 0)) + return c, e +end + +function ChooseSpawnLocation() + local plyped = PlayerPedId() + local pedCoord = GetEntityCoords(plyped) + local activeLaser = true + local oilrig = CreateObject(GetHashKey('p_oil_pjack_03_s'), pedCoord.x, pedCoord.y, pedCoord.z, 1, 1, 0) + SetEntityAlpha(oilrig, 150, true) + + while activeLaser do + Wait(0) + local color = { + r = 2, + g = 241, + b = 181, + a = 200 + } + local position = GetEntityCoords(plyped) + local coords, entity = RayCastGamePlayCamera(1000.0) + Draw2DText('Tryk ~g~E~w~ for at placere oliebrønd', 4, { 255, 255, 255 }, 0.4, 0.43, + 0.888 + 0.025) + if IsControlJustReleased(0, 38) then + activeLaser = false + DeleteEntity(oilrig) + return coords + end + DrawLine(position.x, position.y, position.z, coords.x, coords.y, + coords.z, color.r, color.g, color.b, color.a) + SetEntityCollision(oilrig, false, false) + SetEntityCoords(oilrig, coords.x, coords.y, coords.z, 0.0, 0.0, 0.0, 0) + end +end + +function createCustom(coord, o) + local blip = AddBlipForCoord( + coord.x, + coord.y, + coord.z + ) + SetBlipSprite(blip, o.sprite) + SetBlipColour(blip, o.colour) + if o.range == 'short' then + SetBlipAsShortRange(blip, true) + else + SetBlipAsShortRange(blip, false) + end + BeginTextCommandSetBlipName("STRING") + AddTextComponentString(replaceString(o)) + EndTextCommandSetBlipName(blip) + return blip +end + +function replaceString(o) + local s = o.name + if o.id ~= nil then + -- oilwells + local oilrig = OilRigs:getById(o.id) + s = s:gsub("OILWELLNAME", oilrig.name) + s = s:gsub("OILWELL_HASH", oilrig.oilrig_hash) + s = s:gsub("DB_ID_RAW", o.id) + s = s:gsub("TYPE", o.type) + + else + s = s:gsub("TYPE", o.type) + end + return s +end + +function createOwnerQbTarget(hash, coord) + exports['qb-target']:RemoveZone("oil-rig-" .. hash) + Targets.qb_target.oilwell(coord, hash) +end + +RegisterNetEvent('keep-oilwell:client:remove_oilwell', function(data) + local oilwell = OilRigs:getByEntityHandle(data.entity) + for i = 1, 3, 1 do + local value = RandomHash(4) + local inputData = exports['qb-input']:ShowInput({ + header = 'Gentag: ' .. value .. '', + inputs = { + { + type = 'text', + isRequired = true, + name = 'Gentag', + text = '' + }, + } + }) + if not inputData then + QBCore.Functions.Notify('Annulleret', "primary") + return + end + if inputData.RandomHash ~= value then + QBCore.Functions.Notify('Fejlede', "primary") + return + end + end + TriggerServerEvent('keep-oilwell:server:remove_oilwell', oilwell.oilrig_hash) +end) + +function Add_3rd_eye(coord, Type) + local key = Type + if key == 'storage' then + Targets.qb_target.storage(coord, key) + elseif key == 'distillation' then + Targets.qb_target.distillation(coord, key) + elseif key == 'blender' then + Targets.qb_target.blender(coord, key) + elseif key == 'barrel_withdraw' then + Targets.qb_target.barrel_withdraw(coord, key) + elseif key == 'crude_oil_transport' then + Targets.qb_target.crude_oil_transport(coord, key) + elseif key == 'toggle_job' then + Targets.qb_target.toggle_job(coord, key) + end +end + +---force remove objects in area +---@param coord table +RegisterNetEvent('keep-oilrig:client:clearArea', function(coord) + ClearAreaOfObjects(coord.x, coord.y, coord.z, 5.0, 1) +end) + +RegisterNetEvent('QBCore:Client:OnJobUpdate', function(PlayerJob) + if CheckJob() then + OnDuty = CheckOnduty() + end +end) + +RegisterNetEvent('keep-oilrig:client:goOnDuty', function(PlayerJob) + TriggerServerEvent("QBCore:ToggleDuty") + if CheckJob() and CheckOnduty() == false then + OnDuty = true + else + OnDuty = false + end +end) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/CDU_menu.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/CDU_menu.lua new file mode 100644 index 0000000..36778d7 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/CDU_menu.lua @@ -0,0 +1,122 @@ +local QBCore = exports['qb-core']:GetCoreObject() + +local function showCDU(data) + if not data then return end + local state = '' + if data.metadata.state == true then + state = 'Aktiv' + else + state = 'Inaktiv' + end + local header = "Råoile destilations-enhed (" .. state .. ')' + -- header + local CDU_Temperature = data.metadata.temp + local CDU_Gal = data.metadata.oil_storage + local openMenu = { + { + header = header, + isMenuHeader = true, + icon = 'fa-solid fa-gear' + }, { + header = 'Temperatur', + icon = 'fa-solid fa-temperature-high', + txt = "" .. CDU_Temperature .. " °C", + }, + { + header = 'Råoile i CDU', + icon = 'fa-solid fa-oil-can', + txt = CDU_Gal .. " Liter", + }, + { + header = 'Pump råoile til CDU', + icon = 'fa-solid fa-arrows-spin', + params = { + event = "keep-oilrig:CDU_menu:pumpCrudeOil_to_CDU" + } + }, + { + header = 'Skift temperatur', + icon = 'fa-solid fa-temperature-arrow-up', + params = { + event = "keep-oilrig:CDU_menu:set_CDU_temp" + } + }, + { + header = 'Toggle CDU', + icon = 'fa-solid fa-sliders', + params = { + event = "keep-oilrig:CDU_menu:switchPower_of_CDU" + } + }, + { + header = 'Forlad', + icon = 'fa-solid fa-circle-xmark', + params = { + event = "qb-menu:closeMenu" + } + } + } + exports['qb-menu']:openMenu(openMenu) +end + +AddEventHandler('keep-oilrig:CDU_menu:ShowCDU', function() + QBCore.Functions.TriggerCallback('keep-oilrig:server:get_CDU_Data', function(result) + showCDU(result) + end) +end) + +AddEventHandler('keep-oilrig:CDU_menu:switchPower_of_CDU', function() + QBCore.Functions.TriggerCallback('keep-oilrig:server:switchPower_of_CDU', function(result) + showCDU(result) + end) +end) + +AddEventHandler('keep-oilrig:CDU_menu:set_CDU_temp', function() + local inputData = exports['qb-input']:ShowInput({ + header = "CDU Temperatur", + submitText = "Angiv ny temperatur", + inputs = { { + type = 'number', + isRequired = true, + name = 'temp', + text = "Angiv ny temperatur" + }, + } + }) + if inputData then + if not inputData.temp then + return + end + QBCore.Functions.TriggerCallback('keep-oilrig:server:set_CDU_temp', function(result) + showCDU(result) + end, inputData) + end +end) + +AddEventHandler('keep-oilrig:CDU_menu:pumpCrudeOil_to_CDU', function() + local inputData = exports['qb-input']:ShowInput({ + header = "Pump råoile til CDU", + submitText = "Enter", + inputs = { { + type = 'number', + isRequired = true, + name = 'mændge', + text = "Angiv mængde råoile" + }, + } + }) + if inputData then + inputData.amount = tonumber(inputData.amount) + if not inputData.amount then + return + end + + if inputData.amount <= 0 then + QBCore.Functions.Notify('Mængde skal være mere end 0', "error") + return + end + QBCore.Functions.TriggerCallback('keep-oilrig:server:pumpCrudeOil_to_CDU', function(result) + showCDU(result) + end, inputData) + end +end) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/blender_menu.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/blender_menu.lua new file mode 100644 index 0000000..e8edf2a --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/blender_menu.lua @@ -0,0 +1,199 @@ +local QBCore = exports['qb-core']:GetCoreObject() + +local function showblender(data) + local state = '' + local start_btn = 'Start' + local start_icon = 'fa-solid fa-square-caret-right' + if type(data) == "table" and data.metadata.state == false then + state = 'Inactive' + start_btn = 'Start' + start_icon = 'fa-solid fa-square-caret-right' + else + state = 'Active' + start_btn = 'Stop' + start_icon = "fa-solid fa-circle-stop" + end + + local header = "Blender unit (" .. state .. ')' + -- header + local heavy_naphtha = data.metadata.heavy_naphtha + local light_naphtha = data.metadata.light_naphtha + local other_gases = data.metadata.other_gases + -- new elements + local diesel = data.metadata.diesel + local kerosene = data.metadata.kerosene + local fuel_oil = data.metadata.fuel_oil + + local openMenu = { + { + header = header, + isMenuHeader = true, + icon = 'fa-solid fa-blender' + }, { + header = 'Tung råoile', + icon = 'fa-solid fa-circle', + txt = heavy_naphtha .. " liter", + disabled = true + }, + { + header = 'Let råoile', + icon = 'fa-solid fa-circle', + txt = light_naphtha .. " liter", + disabled = true + }, + { + header = 'Andre gasser', + icon = 'fa-solid fa-circle', + txt = other_gases .. " liter", + disabled = true + }, + } + -- new elements + if diesel then + openMenu[#openMenu + 1] = { + header = 'Diesel', + icon = 'fa-solid fa-circle', + txt = diesel .. " liter", + disabled = true + } + end + + if kerosene then + openMenu[#openMenu + 1] = { + header = 'Petroleum', + icon = 'fa-solid fa-circle', + txt = kerosene .. " liter", + disabled = true + } + end + + if fuel_oil then + openMenu[#openMenu + 1] = { + header = 'Brændselsolie', + icon = 'fa-solid fa-circle', + txt = fuel_oil .. " Liter (Bruges ikke i blandingsprocessen)", + disabled = true + } + end + + openMenu[#openMenu + 1] = { + header = 'Skift opskrift', + icon = 'fa-solid fa-scroll', + params = { + event = "keep-oilrig:blender_menu:recipe_blender" + } + } + + openMenu[#openMenu + 1] = { + header = start_btn .. ' Blander', + icon = start_icon, + params = { + event = "keep-oilrig:blender_menu:toggle_blender" + } + } + + openMenu[#openMenu + 1] = { + header = 'Pump brændselsolie til tank', + icon = 'fa-solid fa-arrows-spin', + params = { + event = "keep-oilrig:blender_menu:pump_fueloil" + } + } + + openMenu[#openMenu + 1] = { + header = 'Forlad', + icon = 'fa-solid fa-circle-xmark', + params = { + event = "qb-menu:closeMenu" + } + } + + exports['qb-menu']:openMenu(openMenu) +end + +AddEventHandler('keep-oilrig:blender_menu:pump_fueloil', function() + QBCore.Functions.TriggerCallback('keep-oilrig:server:pump_fueloil', function(result) + showblender(result) + end) +end) + +AddEventHandler('keep-oilrig:blender_menu:ShowBlender', function() + QBCore.Functions.TriggerCallback('keep-oilrig:server:ShowBlender', function(result) + showblender(result) + end) +end) + +AddEventHandler('keep-oilrig:blender_menu:toggle_blender', function() + QBCore.Functions.TriggerCallback('keep-oilrig:server:toggle_blender', function(result) + showblender(result) + end) +end) + +local function inRange(x, min, max) + return (x >= min and x <= max) +end + +AddEventHandler('keep-oilrig:blender_menu:recipe_blender', function() + local inputData = exports['qb-input']:ShowInput({ + header = "Pump råoile til CDU", + submitText = "Enter", + inputs = { + { + type = 'number', + isRequired = true, + name = 'heavy_naphtha', + text = "Tung råoile" + }, + { + type = 'number', + isRequired = true, + name = 'light_naphtha', + text = "Let råoile" + }, + { + type = 'number', + isRequired = true, + name = 'other_gases', + text = "Andre gasser" + }, + -- new elements + + { + type = 'number', + isRequired = true, + name = 'diesel', + text = "Diesel" + }, + + { + type = 'number', + isRequired = true, + name = 'kerosene', + text = "Petroleum" + }, + } + }) + if inputData then + if not + ( + inputData.heavy_naphtha + and inputData.light_naphtha + and inputData.other_gases + and inputData.diesel + and inputData.kerosene + ) then + return + end + + for _, value in pairs(inputData) do + if not inRange(tonumber(value), 0, 100) then + QBCore.Functions.Notify('Nummer skal være mellem 0-100', "primary") + return + end + end + + QBCore.Functions.TriggerCallback('keep-oilrig:server:recipe_blender', function(result) + showblender(result) + end, inputData) + end +end) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/edit_menu.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/edit_menu.lua new file mode 100644 index 0000000..2af8e20 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/edit_menu.lua @@ -0,0 +1,83 @@ +local menu = MenuV:CreateMenu('Swkeep Oliebrønd', 'Menu', 'topright', 0, 0, 0, 'size-125', 'default', 'menuv', 'swkeep_oilwell', 'default') +menu.Title = ('Entity: %s'):format(OBJECT) + +local slider = menu:AddSlider({ icon = '❓', label = 'Præcision', value = '', values = { + { label = 'X1', value = 1 }, + { label = 'X2', value = 2 }, + { label = 'X3', value = 3 }, + { label = 'X4', value = 4 }, + { label = 'X5', value = 5 }, + { label = 'X6', value = 6 } +} }) + +local range = menu:AddRange({ + icon = '↔️', + label = 'Roter på Z', + min = -10, + max = 10, + value = 0, + saveOnUpdate = true +}) +local range2 = menu:AddRange({ + icon = '↕️', + label = 'Roter på Y', + min = -10, + max = 10, + value = 0, + saveOnUpdate = true +}) + +local range3 = menu:AddRange({ + icon = '↕️', + label = 'Roter på X', + min = -10, + max = 10, + value = 0, + saveOnUpdate = true +}) + +--- Events + +slider:On('change', function(item, newValue, oldValue) + local m = 10 * newValue + range.Max = m + range.Min = -m + + range2.Max = m + range2.Min = -m + + range3.Max = m + range3.Min = -m +end) + +range:On('change', function(item, newValue, oldValue) + menu.Title = ('Enhed: %s'):format(OBJECT) + range.Description = ('Nuværrende værdi (x) : %s'):format(newValue) + local roration = GetEntityRotation(OBJECT, 0) + SetEntityRotation(OBJECT, roration.x, roration.y, 0.0 + newValue * 6, 0.0, true) +end) + +range2:On('change', function(item, newValue, oldValue) + menu.Title = ('Enhed: %s'):format(OBJECT) + range2.Description = ('Nuværrende værdi (y) : %s'):format(newValue) + local roration = GetEntityRotation(OBJECT, 0) + SetEntityRotation(OBJECT, roration.x, 0.0 + newValue * 6, roration.z, 0.0, true) +end) + +range3:On('change', function(item, newValue, oldValue) + menu.Title = ('Enhed: %s'):format(OBJECT) + range3.Description = ('Nuværrende værdi (z) : %s'):format(newValue) + local roration = GetEntityRotation(OBJECT, 0) + SetEntityRotation(OBJECT, 0.0 + newValue * 3, roration.y, roration.z, 0.0, true) +end) + +local isOpen = false +AddEventHandler('keep-oilwell:menu:OPENMENU', function() + if not IsPauseMenuActive() and IsNuiFocused() ~= 1 and not isOpen then + MenuV:OpenMenu(menu) + isOpen = true + elseif isOpen == true then + MenuV:CloseMenu(menu) + isOpen = false + end +end) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/pump_menu.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/pump_menu.lua new file mode 100644 index 0000000..9ff4f44 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/pump_menu.lua @@ -0,0 +1,290 @@ +local QBCore = exports['qb-core']:GetCoreObject() + +local function showInfo(data) + QBCore.Functions.TriggerCallback('keep-oilwell:server:oilwell_metadata', function(selected_oilrig) + local header = "Navn: " .. data.name + local partInfoString = "Bælte: " .. + selected_oilrig.part_info.belt .. + " Polish: " .. selected_oilrig.part_info.polish .. " Clutch: " .. selected_oilrig.part_info.clutch + local duration = math.floor(selected_oilrig.duration / 60) + -- header + local openMenu = { + { + header = header, + isMenuHeader = true, + icon = 'fa-solid fa-oil-well' + }, { + header = 'Hastighed', + icon = 'fa-solid fa-gauge', + txt = "" .. selected_oilrig.speed .. " RPM", + disabled = true, + }, + { + header = 'Køretid', + icon = 'fa-solid fa-clock', + txt = "" .. duration .. " Min", + disabled = true, + }, + { + header = 'Temperatur', + icon = 'fa-solid fa-temperature-high', + txt = "" .. selected_oilrig.temp .. " °C", + disabled = true, + }, + { + header = 'Olie i tanken', + icon = 'fa-solid fa-oil-can', + txt = "" .. selected_oilrig.oil_storage .. "/L", + disabled = true, + }, + { + header = 'Part Info', + icon = 'fa-solid fa-oil-can', + txt = partInfoString, + disabled = true, + }, + { + header = 'Pump olie til tank', + icon = 'fa-solid fa-arrows-spin', + params = { + event = 'keep-oilrig:storage_menu:PumpOilToStorage', + args = { + oilrig_hash = data.oilrig_hash + } + } + }, + { + header = 'Manage ansatte', + icon = 'fa-solid fa-people-group', + params = { + event = 'keep-oilwell:menu:ManageEmployees', + args = data.oilrig_hash + + } + }, + { + header = 'Forlad', + icon = 'fa-solid fa-circle-xmark', + params = { + event = "qb-menu:closeMenu" + } + } + } + + exports['qb-menu']:openMenu(openMenu) + end, data.oilrig_hash) +end + +RegisterNetEvent('keep-oilwell:menu:ManageEmployees', function(oilrig_hash) + QBCore.Functions.TriggerCallback('keep-oilwell:server:employees_list', function(result) + if not result then return end + -- header + local Menu = { + { + header = 'Oliebrønd ansatte', + isMenuHeader = true, + icon = 'fa-solid fa-vest' + }, + } + + Menu[#Menu + 1] = { + header = 'Tilføj ansat', + icon = 'fa-solid fa-person-circle-plus', + params = { + event = "keep-oilwell:client:add_employee", + args = { + oilrig_hash = oilrig_hash, + state_id = 1 + } + } + } + + for index, employee in ipairs(result) do + local name = employee.charinfo.firstname .. ' ' .. employee.charinfo.lastname + local gender = (employee.charinfo.gender == 0 and 'Mand' or employee.charinfo.gender ~= 0 and 'Kvinde') + local information = 'Navn: %s
Telefon: %s
Køn: %s
' + local other = ' (Online: %s)' + local online = (employee.online and '🟢' or not employee.online and '🔴') + + Menu[#Menu + 1] = { + header = 'Ansat #' .. index .. string.format(other, online), + txt = string.format(information, name, employee.charinfo.phone, gender), + icon = 'fa-solid fa-person', + params = { + event = "keep-oilwell:menu:remove_employee", + args = { + employee = employee, + oilrig_hash = oilrig_hash + } + } + } + end + + Menu[#Menu + 1] = { + header = 'Forlad', + icon = 'fa-solid fa-circle-xmark', + params = { + event = "qb-menu:closeMenu" + } + } + + exports['qb-menu']:openMenu(Menu) + end, oilrig_hash) +end) + +RegisterNetEvent('keep-oilwell:client:add_employee', function(data) + local inputData = exports['qb-input']:ShowInput({ + header = 'BorgerID', + inputs = { + { + type = 'number', + isRequired = true, + name = 'BorgerID', + text = 'Skriv BorgerID' + }, + } + }) + if inputData then + if not inputData.stateId then return end + inputData.stateId = tonumber(inputData.stateId) + TriggerServerEvent('keep-oilwell:server:add_employee', data.oilrig_hash, inputData.stateId) + end +end) + +RegisterNetEvent('keep-oilwell:menu:remove_employee', function(data) + local employee = data.employee + local name = employee.charinfo.firstname .. ' ' .. employee.charinfo.lastname + -- header + local Menu = { + { + header = 'Tilbage', + icon = 'fa-solid fa-angle-left', + params = { + event = "keep-oilwell:menu:ManageEmployees", + args = data.oilrig_hash + } + }, + { + header = 'Fyr ansat', + txt = 'Name: ' .. name, + isMenuHeader = true, + icon = 'fa-solid fa-vest' + }, + { + header = 'Ja', + icon = 'fa-solid fa-circle-check', + params = { + event = "keep-oilwell:menu:fire_employee", + args = { + employee = data.employee, + oilrig_hash = data.oilrig_hash + } + } + } + } + + Menu[#Menu + 1] = { + header = 'Annuller', + icon = 'fa-solid fa-circle-xmark', + params = { + event = "qb-menu:closeMenu" + } + } + + exports['qb-menu']:openMenu(Menu) +end) + +RegisterNetEvent('keep-oilwell:menu:fire_employee', function(data) + TriggerServerEvent('keep-oilwell:server:remove_employee', data.oilrig_hash, data.employee.citizenid) +end) + +local function show_oilwell_stash(data) + QBCore.Functions.TriggerCallback('keep-oilwell:server:oilwell_metadata', function(selected_oilrig) + local header = "Navn: " .. data.name + local partInfoString = "Bælte: " .. + selected_oilrig.part_info.belt .. + " Polish: " .. selected_oilrig.part_info.polish .. " Clutch: " .. selected_oilrig.part_info.clutch + -- header + local openMenu = { + { + header = header, + isMenuHeader = true, + icon = 'fa-solid fa-oil-well' + }, + { + header = 'Part Info', + icon = 'fa-solid fa-oil-can', + txt = partInfoString, + disabled = true, + }, + { + header = 'Åben stash', + icon = 'fa-solid fa-cart-flatbed', + params = { + event = 'keep-oilwell:client:openOilPump', + args = { + oilrig_hash = data.oilrig_hash + } + } + }, + { + header = 'Fiks oliebrønd', + icon = 'fa-solid fa-screwdriver-wrench', + + params = { + event = 'keep-oilwell:client:fix_oilwell', + args = { + oilrig_hash = data.oilrig_hash + } + } + }, + { + header = 'Forlad', + icon = 'fa-solid fa-circle-xmark', + params = { + event = "qb-menu:closeMenu" + } + } + } + + exports['qb-menu']:openMenu(openMenu) + end, data.oilrig_hash) +end + +-- Events +AddEventHandler('keep-oilrig:storage_menu:PumpOilToStorage', function(data) + QBCore.Functions.TriggerCallback('keep-oilrig:server:PumpOilToStorageCallback', function(result) + + end, data.oilrig_hash) +end) + +AddEventHandler('keep-oilrig:client:viewPumpInfo', function(qbtarget) + -- ask for updated data + OilRigs:startUpdate(function() + showInfo(OilRigs:getByEntityHandle(qbtarget.entity)) + end) +end) + + +AddEventHandler('keep-oilrig:client:show_oilwell_stash', function(qbtarget) + -- ask for updated data + OilRigs:startUpdate(function() + show_oilwell_stash(OilRigs:getByEntityHandle(qbtarget.entity)) + end) +end) + +-- Open oil pump stash. +RegisterNetEvent("keep-oilwell:client:openOilPump", function(data) + if not data then return end + TriggerServerEvent("inventory:server:OpenInventory", "stash", "oilPump_" .. data.oilrig_hash, + { maxweight = 100000, slots = 5 }) + TriggerEvent("inventory:client:SetCurrentStash", "oilPump_" .. data.oilrig_hash) +end) + +AddEventHandler('keep-oilwell:client:fix_oilwell', function(data) + -- ask for updated data + QBCore.Functions.TriggerCallback('keep-oilwell:server:fix_oil_well', function(result) + -- print(result) + end, data.oilrig_hash) + +end) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/storage_menu.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/storage_menu.lua new file mode 100644 index 0000000..4304e16 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/storage_menu.lua @@ -0,0 +1,322 @@ +local QBCore = exports['qb-core']:GetCoreObject() + +local function showStorage(storage_data) + local header = storage_data.name + -- header + local openMenu = { + { + header = header, + isMenuHeader = true, + icon = 'fa-solid fa-warehouse' + }, { + header = 'Råoile', + icon = 'fa-solid fa-oil-can', + txt = "" .. storage_data.metadata.crudeOil .. " /l", + params = { + event = 'keep-oilrig:storage_menu:StorageActions', + args = { + type = 'crudeOil', + storage_data = storage_data + } + } + }, + { + header = 'Brændstof', + icon = 'fa-solid fa-oil-can', + txt = "" .. storage_data.metadata.gasoline .. " /l | Oktan: " .. storage_data.metadata.avg_gas_octane, + params = { + event = 'keep-oilrig:storage_menu:StorageActions', + args = { + type = 'gasoline', + storage_data = storage_data + } + } + }, + + } + + if storage_data.metadata.fuel_oil then + openMenu[#openMenu + 1] = { + header = 'Brændselsolie', + icon = 'fa-solid fa-oil-can', + txt = "" .. storage_data.metadata.fuel_oil .. " /l", + params = { + event = 'keep-oilrig:storage_menu:StorageActions', + args = { + type = 'fuel_oil', + storage_data = storage_data + } + } + } + end + + + openMenu[#openMenu + 1] = { + header = 'Forlad', + icon = 'fa-solid fa-circle-xmark', + params = { + event = "qb-menu:closeMenu" + } + } + + exports['qb-menu']:openMenu(openMenu) +end + +local function showStorageActions(data) + local header = "Actions " .. data.type + local storage_data = data.storage_data + -- header + local openMenu = { + { + header = header, + isMenuHeader = true, + icon = 'fa-solid fa-pump' + }, { + header = 'Tag fra lager', + icon = 'fa-solid fa-truck-ramp-box', + txt = "", + params = { + event = 'keep-oilrig:storage_menu:StorageWithdraw', + args = data + } + }, + { + header = 'Lagerhandling', + icon = 'fa-solid fa-arrow-right-arrow-left', + params = { + event = '', + } + }, + { + header = 'Tilbage', + icon = 'fa-solid fa-angle-left', + params = { + event = "keep-oilrig:storage_menu:ShowStorage" + } + } + } + + exports['qb-menu']:openMenu(openMenu) +end + +local function showStorageWithdraw(data) + local header = "Tag fra lager (" .. data.type .. ")" + local currentWithdrawTarget = data.storage_data.metadata[data.type] -- oil or gas + -- header + local openMenu = { + { + header = header, + isMenuHeader = true, + icon = 'fa-solid fa-boxes-packing' + }, + { + header = 'Du har ' .. currentWithdrawTarget .. ' liter ' .. data.type, + isMenuHeader = true, + icon = 'fa-solid fa-boxes-packing' + }, { + header = 'Gem i tønde', + icon = 'fa-solid fa-bottle-droplet', + txt = "Depositum: 500,- Kapacitet: 5000 /l", + params = { + event = 'keep-oilrig:storage_menu:Callback', + args = { + eventName = 'keep-oilrig:server:Withdraw', + citizenid = data.storage_data.citizenid, + type = data.type, + truck = false + } + } + }, + { + header = 'Fyld tankbil', + icon = 'fa-solid fa-truck-droplet', + txt = "Depositum: 25.000,- Kapacitet: 100.000 /l", + params = { + event = 'keep-oilrig:storage_menu:Callback', + args = { + eventName = 'keep-oilrig:server:Withdraw', + citizenid = data.storage_data.citizenid, + type = data.type, + truck = true + } + } + }, + { + header = 'Tilbage', + icon = 'fa-solid fa-angle-left', + params = { + event = "keep-oilrig:storage_menu:StorageActions", + args = data + } + } + } + exports['qb-menu']:openMenu(openMenu) +end + +MakeVehicle = function(model, Coord, TriggerLocation, DinstanceToTrigger, items) + local plyped = PlayerPedId() + local pedCoord = GetEntityCoords(plyped) + local finished = false + local distance = GetDistanceBetweenCoords(pedCoord.x, pedCoord.y, pedCoord.z, TriggerLocation.x, TriggerLocation.y, + TriggerLocation.z, true) + CreateThread(function() + while distance > DinstanceToTrigger do + local pedCoord = GetEntityCoords(plyped) + distance = GetDistanceBetweenCoords(pedCoord.x, pedCoord.y, pedCoord.z, TriggerLocation.x, + TriggerLocation.y, TriggerLocation.z, true) + Wait(1000) + end + finished = true + end) + + -- wait for player at delivery coord + while finished == false do + DrawMarker(2, TriggerLocation.x, TriggerLocation.y, TriggerLocation.z + 2, 0.0, 0.0, 0.0, 0.0, 180.0, 0.0, 1.0 + , 1.0, + 1.0, 255, 128, 0, 50, false, true, 2, nil, nil, false) + Wait(0) + end + + local vehiclePlate = "HPO" .. math.random(1, 9) .. math.random(1, 9) .. math.random(1, 9) + model = GetHashKey(model) + RequestModel(model) + while not HasModelLoaded(model) do + Wait(10) + end + + local veh = CreateVehicle(model, Coord.x, Coord.y, Coord.z, Coord.w, true, false) + local netid = NetworkGetNetworkIdFromEntity(veh) + SetVehicleHasBeenOwnedByPlayer(veh, true) + + SetNetworkIdCanMigrate(netid, true) + SetVehicleNeedsToBeHotwired(veh, false) + SetVehRadioStation(veh, "OFF") + + SetVehicleNumberPlateText(veh, vehiclePlate) + + exports[Oilwell_config.fuel_script]:SetFuel(veh, math.random(80, 90)) + SetVehicleEngineOn(veh, true, true) + + SetNetworkIdAlwaysExistsForPlayer(NetworkGetNetworkIdFromEntity(veh), PlayerPedId(), true) + TriggerEvent("vehiclekeys:client:SetOwner", QBCore.Functions.GetPlate(veh)) + TriggerEvent("vehiclekeys:client:SetOwner", vehiclePlate) + SetModelAsNoLongerNeeded(model) + Targets.qb_target.truck(vehiclePlate, veh) + + TriggerServerEvent('keep-oilwell:server_lib:update_vehicle', vehiclePlate, items) +end + + +RegisterNetEvent('keep-oilrig:client_lib:withdraw_from_queue', function(data) + QBCore.Functions.TriggerCallback('keep-oilrig:server:withdraw_from_queue', function(result) + -- res >> table of items + if result == false then + return + end + if not result.truck then + return + end + local SpawnLocation = Oilwell_config.Delivery.SpawnLocation + local TriggerLocation = Oilwell_config.Delivery.TriggerLocation + local DinstanceToTrigger = Oilwell_config.Delivery.DinstanceToTrigger + local model = Oilwell_config.Delivery.vehicleModel + + MakeVehicle(model, SpawnLocation, TriggerLocation, DinstanceToTrigger, result) + end, data.truck) +end) + +-- Events + +AddEventHandler('keep-oilrig:storage_menu:ShowStorage', function(data) + QBCore.Functions.TriggerCallback('keep-oilrig:server:getStorageData', function(result) + showStorage(result) + end) +end) + +AddEventHandler('keep-oilrig:storage_menu:StorageActions', function(storage_data) + showStorageActions(storage_data) +end) + +AddEventHandler('keep-oilrig:storage_menu:StorageWithdraw', function(data) + showStorageWithdraw(data) +end) + +AddEventHandler('keep-oilrig:storage_menu:Callback', function(data) + local inputData = exports['qb-input']:ShowInput({ + header = "Angiv mængde", + submitText = "Bekræft", + inputs = { + { + type = 'number', + isRequired = true, + name = 'Mængde', + text = "Mængde" + }, + } + }) + if inputData then + if not inputData.amount then + return + end + data.amount = inputData.amount + QBCore.Functions.TriggerCallback(data.eventName, function(res) + + end, data) + end +end) + + +-- withdraw spot +AddEventHandler("keep-oilwell:client:openWithdrawStash", function(data) + local player = QBCore.Functions.GetPlayerData() + if not data then return end + local settings = { maxweight = 100000, slots = 5 } + TriggerServerEvent("inventory:server:OpenInventory", "stash", "Withdraw_" .. player.citizenid, settings) + TriggerEvent("inventory:client:SetCurrentStash", "Withdraw_" .. player.citizenid) +end) + +-- purge menu +local function purge_menu() + local openMenu = { + { + header = 'TØM', + txt = 'Ønsker du at tømme lageret?', + icon = 'fa-solid fa-trash-can', + isMenuHeader = true, + }, + { + header = 'Bekræft', + icon = 'fa-solid fa-square-check', + params = { + event = 'keep-oilwell:client:purgeWithdrawStash', + } + }, + { + header = 'Annuller', + icon = 'fa-solid fa-circle-xmark', + params = { + event = "qb-menu:closeMenu" + } + } + } + exports['qb-menu']:openMenu(openMenu) +end + +AddEventHandler('keep-oilwell:client:open_purge_menu', function() + purge_menu() +end) + +local purge_conf = 0 +AddEventHandler('keep-oilwell:client:purgeWithdrawStash', function() + if purge_conf == 0 then + QBCore.Functions.Notify('Prøv igen! (Resetter om 5 sekunder)', "primary") + purge_conf = purge_conf + 1 + SetTimeout(5000, function() + purge_conf = 0 + end) + purge_menu() + return + end + purge_conf = 0 + TriggerServerEvent('keep-oilwell:server:purgeWithdrawStash') +end) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/transport_menu.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/transport_menu.lua new file mode 100644 index 0000000..7eb560f --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/client/client_lib/menu/transport_menu.lua @@ -0,0 +1,205 @@ +local QBCore = exports['qb-core']:GetCoreObject() + +local function show_transport_menu() + + -- header + local openMenu = { + { + header = 'Transport', + txt = "Sælg råoile for at tjene penge", + isMenuHeader = true, + icon = 'fa-solid fa-ship' + }, + { + header = 'Kontroller nuværende pris/lager', + icon = 'fa-solid fa-hand-holding-dollar', + txt = "", + params = { + event = 'keep-oilwell:menu:show_transport_menu:ask_stock_price', + } + }, + { + header = 'Anmod om salgsorder', + icon = 'fa-solid fa-diagram-successor', + txt = "", + params = { + event = 'keep-oilwell:menu:show_transport_menu:ask_to_sell_amount', + } + }, + { + header = 'Forlad', + icon = 'fa-solid fa-circle-xmark', + params = { + event = "qb-menu:closeMenu" + } + } + } + + exports['qb-menu']:openMenu(openMenu) +end + +AddEventHandler('keep-oilwell:menu:show_transport_menu', function() + show_transport_menu() +end) + +AddEventHandler('keep-oilwell:menu:show_transport_menu:ask_stock_price', function() + TriggerServerEvent('keep-oilrig:server:oil_transport:checkPrice') +end) + +local function disableCombat() + DisablePlayerFiring(PlayerId(), true) -- Disable weapon firing + DisableControlAction(0, 24, true) -- disable attack + DisableControlAction(0, 25, true) -- disable aim + DisableControlAction(1, 37, true) -- disable weapon select + DisableControlAction(0, 47, true) -- disable weapon + DisableControlAction(0, 58, true) -- disable weapon + DisableControlAction(0, 140, true) -- disable melee + DisableControlAction(0, 141, true) -- disable melee + DisableControlAction(0, 142, true) -- disable melee + DisableControlAction(0, 143, true) -- disable melee + DisableControlAction(0, 263, true) -- disable melee + DisableControlAction(0, 264, true) -- disable melee + DisableControlAction(0, 257, true) -- disable melee +end + +function LoadAnim(dict) + while not HasAnimDictLoaded(dict) do + RequestAnimDict(dict) + Wait(10) + end +end + +function LoadPropDict(model) + while not HasModelLoaded(GetHashKey(model)) do + RequestModel(GetHashKey(model)) + Wait(10) + end +end + +local active_prop = nil +function AttachProp(model, bone, x, y, z, rot1, rot2, rot3) + local playerped = PlayerPedId() + local model_hash = GetHashKey(model) + local playercoord = GetEntityCoords(playerped) + local bone_index = GetPedBoneIndex(playerped, bone) + local _x, _y, _z = table.unpack(playercoord) + + if not HasModelLoaded(model) then + LoadPropDict(model) + end + + active_prop = CreateObject(model_hash, _x, _y, _z + 0.2, true, true, true) + AttachEntityToEntity(active_prop, playerped, bone_index, x, y, z, rot1, rot2, rot3, true, true, false, true, 1, true) + SetModelAsNoLongerNeeded(model) +end + +local function start_barell_animation() + local playerped = PlayerPedId() + local dict = 'anim@heists@box_carry@' + local anim = 'idle' + local PropName = 'prop_barrel_exp_01a' + local PropBone = 60309 + + LoadAnim(dict) + ClearPedTasks(playerped) + RemoveAnimDict(dict) + Wait(250) + AttachProp(PropName, PropBone, 0.0, 0.41, 0.3, 130.0, 290.0, 0.0) + CreateThread(function() + while active_prop do + local not_animation = IsEntityPlayingAnim(playerped, dict, anim, 3) + if not_animation ~= 1 then + TaskPlayAnim(playerped, dict, anim, 2.0, 2.0, -1, 51, 0, false, false, false) + DisableControlAction(0, 22, true) + end + Wait(1500) + end + end) + CreateThread(function() + while active_prop do + --disable combat while player have barell in their hands + disableCombat() + Wait(1) + end + end) +end + +local function end_barell_animaiton() + local playerped = PlayerPedId() + local dict = 'anim@heists@box_carry@' + local anim = 'idle' + + if active_prop then + DeleteObject(active_prop) + active_prop = nil + end + StopAnimTask(playerped, dict, anim, 1.0) +end + +AddEventHandler('keep-oilwell:menu:show_transport_menu:ask_to_sell_amount', function() + local inputData = exports['qb-input']:ShowInput({ + header = "Antal tønder", + submitText = "Sælg", + inputs = { + { + type = 'number', + isRequired = true, + name = 'Mængde', + text = "Mængde" + }, + } + }) + if inputData then + if not inputData.amount then + return + end + if type(inputData.amount) == 'string' then + inputData.amount = math.floor(tonumber(inputData.amount)) + end + -- start_barell_animation() + QBCore.Functions.Progressbar("keep_oilwell_transport", 'Fylder', Oilwell_config.Transport.duration * 1000, + false, false, { + disableMovement = true, + disableCarMovement = false, + disableMouse = false, + disableCombat = true + }, {}, {}, {}, function() + QBCore.Functions.TriggerCallback('keep-oilrig:server:oil_transport:fillTransportWell', function(res) + -- end_barell_animaiton() + end, inputData.amount) + end) + end +end) + +local inventory_max_size = Oilwell_config.inventory_max_size + +local function isBarellInInventory() + local items = QBCore.Functions.GetPlayerData().items + for slot = 1, inventory_max_size, 1 do + if items[slot] and items[slot].name == 'oilbarell' then + return true + end + end + return false +end + +local already_started = false +function StartBarellAnimation() + if already_started then return end + already_started = true + CreateThread(function() + while true do + local b = isBarellInInventory() + if b then + if not active_prop then + start_barell_animation() + end + else + if active_prop then + end_barell_animaiton() + end + end + Wait(1500) + end + end) +end diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/client/target/qb_target.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/client/target/qb_target.lua new file mode 100644 index 0000000..a2c4772 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/client/target/qb_target.lua @@ -0,0 +1,285 @@ +local QBCore = exports['qb-core']:GetCoreObject() +local debugPoly = false + +Targets['qb_target'] = {} + +function Targets.qb_target.storage(coords, name) + local tmp_coord = vector3(coords.x, coords.y, coords.z + 2) + + exports['qb-target']:AddCircleZone(name, tmp_coord, 1, { + name = name, + debugPoly = debugPoly, + useZ = true + }, { + options = { + { + type = "client", + event = "keep-oilrig:storage_menu:ShowStorage", + icon = "fa-solid fa-arrows-spin", + label = "Vis lager", + canInteract = function(entity) + if not CheckJob() then return false end + if not CheckOnduty() then + QBCore.Functions.Notify('Du skal være på job!', "error") + Wait(2000) + return false + end + return true + end, + }, + }, + distance = 2.5 + }) +end + +function Targets.qb_target.distillation(coords, name) + local tmp_coord = vector3(coords.x, coords.y, coords.z + 1.1) + + exports['qb-target']:AddCircleZone(name, tmp_coord, 1.2, { + name = name, + debugPoly = debugPoly, + useZ = true + }, { + options = { + { + type = "client", + event = "keep-oilrig:CDU_menu:ShowCDU", + icon = "fa-solid fa-gear", + label = "Åben CDU panel", + canInteract = function(entity) + if not CheckJob() then return false end + if not CheckOnduty() then + QBCore.Functions.Notify('Du skal være på job!', "error") + Wait(2000) + return false + end + return true + end, + }, + }, + distance = 1.5 + }) +end + +function Targets.qb_target.toggle_job(coords, name) + local tmp_coord = vector3(coords.x, coords.y, coords.z + 1.1) + + exports['qb-target']:AddCircleZone(name, tmp_coord, 0.75, { + name = name, + debugPoly = debugPoly, + useZ = true + }, { + options = { + { + type = "client", + event = "keep-oilrig:client:goOnDuty", + icon = "fa-solid fa-boxes-packing", + label = "Gå hjem/på arbejde", + canInteract = function(entity) + if not CheckJob() then return false end + return true + end, + }, + }, + distance = 2.5 + }) +end + +function Targets.qb_target.barrel_withdraw(coords, name) + local tmp_coord = vector3(coords.x, coords.y, coords.z + 1.1) + + exports['qb-target']:AddCircleZone(name, tmp_coord, 1.0, { + name = name, + debugPoly = debugPoly, + useZ = true + }, { + options = { + { + type = "client", + event = "keep-oilrig:client_lib:withdraw_from_queue", + icon = "fa-solid fa-boxes-packing", + label = "Overfør til lager", + truck = false, + canInteract = function(entity) + if not CheckJob() then return false end + if not CheckOnduty() then + QBCore.Functions.Notify('Du skal være på job!', "error") + Wait(2000) + return false + end + return true + end, + }, + { + type = "client", + event = "keep-oilwell:client:openWithdrawStash", + icon = "fa-solid fa-boxes-packing", + label = "Open Withdraw Stash", + canInteract = function(entity) + if not CheckJob() then return false end + if not CheckOnduty() then + QBCore.Functions.Notify('Du skal være på job!', "error") + Wait(2000) + return false + end + return true + end, + }, + { + type = "client", + event = "keep-oilwell:client:open_purge_menu", + icon = "fa-solid fa-trash-can", + label = "Tøm lager", + canInteract = function(entity) + if not CheckJob() then return false end + if not CheckOnduty() then + QBCore.Functions.Notify('Du skal være på job!', "error") + Wait(2000) + return false + end + return true + end, + }, + }, + distance = 2.5 + }) +end + +function Targets.qb_target.blender(coords, name) + local tmp_coord = vector3(coords.x, coords.y, coords.z + 2.5) + + exports['qb-target']:AddCircleZone(name, tmp_coord, 3.5, { + name = name, + debugPoly = debugPoly, + useZ = true + }, { + options = { + { + type = "client", + event = "keep-oilrig:blender_menu:ShowBlender", + icon = "fa-solid fa-gear", + label = "Åben blandingspanel", + canInteract = function(entity) + if not CheckJob() then return false end + if not CheckOnduty() then + QBCore.Functions.Notify('Du skal være på job!', "error") + Wait(2000) + return false + end + return true + end, + }, + }, + distance = 2.5 + }) +end + +function Targets.qb_target.crude_oil_transport(coords, name) + local tmp_coord = vector3(coords.x, coords.y, coords.z + 2.5) + + exports['qb-target']:AddCircleZone(name, tmp_coord, 2, { + name = name, + debugPoly = debugPoly, + useZ = true + }, { + options = { + { + type = "client", + event = "keep-oilwell:menu:show_transport_menu", + icon = "fa-solid fa-boxes-packing", + label = "Fyld transportbrønd", + canInteract = function(entity) + if not CheckJob() then return false end + if not CheckOnduty() then + QBCore.Functions.Notify('Du skal være på job!', "error") + Wait(2000) + return false + end + return true + end, + }, + }, + distance = 2.5 + }) +end + +function Targets.qb_target.oilwell(coords, name) + local coord = vector3(coords.x, coords.y, coords.z + 2.5) + + exports['qb-target']:AddCircleZone("oil-rig-" .. name, coord, 3.5, { + name = "oil-rig-" .. name, + debugPoly = false, + useZ = true, + }, { + options = { + { + type = "client", + event = "keep-oilrig:client:viewPumpInfo", + icon = "fa-solid fa-info", + label = "Se pumpe info", + canInteract = function(entity) + return true + end, + }, + { + type = "client", + event = "keep-oilrig:client:changeRigSpeed", + icon = "fa-solid fa-gauge-high", + label = "Modificer pumpe indstillinger", + canInteract = function(entity) + if not CheckJob() then return false end + if not CheckOnduty() then return false end + return isOwner(entity) + end, + }, + { + type = "client", + event = "keep-oilrig:client:show_oilwell_stash", + icon = "fa-solid fa-gears", + label = "Håndter dele", + canInteract = function(entity) + if not CheckJob() then return false end + if not CheckOnduty() then return false end + return isOwner(entity) + end, + }, + { + type = "client", + event = "keep-oilwell:client:remove_oilwell", + icon = "fa-regular fa-file-lines", + label = "Fjern oliebrønd", + canInteract = function(entity) + if not CheckJob() then + return false + end + if not (PlayerJob.grade.level == 4) then + return false + end + if not CheckOnduty() then + return false + end + return true + end, + }, + }, + distance = 2.5 + }) +end + +function Targets.qb_target.truck(plate, truck) + exports['qb-target']:AddEntityZone("device-" .. plate, truck, { + name = "device-" .. plate, + debugPoly = false, + }, { + options = { + { + type = "client", + event = "keep-oilwell:client:refund_truck", + icon = "fa-solid fa-location-arrow", + label = "Refunder køretøj", + vehiclePlate = plate + }, + }, + distance = 2.5 + }) +end diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/client/target/target.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/client/target/target.lua new file mode 100644 index 0000000..116d627 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/client/target/target.lua @@ -0,0 +1,137 @@ +Targets = {} +local QBCore = exports['qb-core']:GetCoreObject() + +local loaded = false +local PED = nil +local function setPedVariation(pedHnadle, variation) + for componentId, v in pairs(variation) do + if IsPedComponentVariationValid(pedHnadle, componentId, v.drawableId, v.textureId) then + SetPedComponentVariation(pedHnadle, componentId, v.drawableId, v.textureId) + end + end +end + +function GETPED() + return PED +end + +function SETPED(ped) + PED = ped +end + +local function spawn_ped(data) + RequestModel(data.model) + while not HasModelLoaded(data.model) do + Wait(0) + end + + if type(data.model) == 'string' then data.model = GetHashKey(data.model) end + + local ped = CreatePed(1, data.model, data.coords, data.networked or false, true) + + if data.variant then setPedVariation(ped, data.variant) end + if data.freeze then FreezeEntityPosition(ped, true) end + if data.invincible then SetEntityInvincible(ped, true) end + if data.blockevents then SetBlockingOfNonTemporaryEvents(ped, true) end + if data.animDict and data.anim then + RequestAnimDict(data.animDict) + while not HasAnimDictLoaded(data.animDict) do + Wait(0) + end + + if type(data.anim) == "table" then + CreateThread(function() + while true do + local anim = data.anim[math.random(0, #data.anim)] + ClearPedTasks(ped) + TaskPlayAnim(ped, data.animDict, anim, 8.0, 0, -1, data.flag or 1, 0, 0, 0, 0) + SETPED(ped) + Wait(7000) + end + end) + else + TaskPlayAnim(ped, data.animDict, data.anim, 8.0, 0, -1, data.flag or 1, 0, 0, 0, 0) + end + end + + if data.scenario then + SetPedCanPlayAmbientAnims(ped, true) + TaskStartScenarioInPlace(ped, data.scenario, 0, true) + end + + if data.voice then + SetAmbientVoiceName(ped, 'A_F_Y_BUSINESS_01_WHITE_FULL_01') + end + SETPED(ped) +end + +local function makeCore() + if loaded then return end + Citizen.CreateThread(function() + local c = Oilwell_config.TruckWithdraw.npc.coords + local vec3_coord = vector3(c.x, c.y, c.z) + PED = spawn_ped(Oilwell_config.TruckWithdraw.npc) + + exports['qb-target']:AddBoxZone("keep_oilwell_withdraw_truck_target", vec3_coord, + Oilwell_config.TruckWithdraw.box.l, + Oilwell_config.TruckWithdraw.box.w, + { + name = "keep_oilwell_withdraw_truck_target", + heading = Oilwell_config.TruckWithdraw.box.heading, + debugPoly = false, + minZ = vec3_coord.z + Oilwell_config.TruckWithdraw.box.minz_offset, + maxZ = vec3_coord.z + Oilwell_config.TruckWithdraw.box.maxz_offset, + }, { + options = { + { + event = "keep-oilrig:client_lib:withdraw_from_queue", + icon = "fa-solid fa-truck-droplet", + label = 'Tag lastbil', + truck = true + }, + }, + distance = 2.0 + }) + loaded = true + end) +end + +AddEventHandler('keep-oilwell:client:refund_truck', function(data) + local coord = GetEntityCoords(data.entity) + local spawnLocation = vector3(Oilwell_config.Delivery.SpawnLocation.x, Oilwell_config.Delivery.SpawnLocation.y, + Oilwell_config.Delivery.SpawnLocation.z) + + local plate = data.vehiclePlate + + if #(coord - spawnLocation) > 5.0 then + QBCore.Functions.Notify('Du er ikke tæt nok på, for at kunne refundere', "primary") + return + end + QBCore.Functions.TriggerCallback('keep-oilwell:server:refund_truck', function(result) + if result == true then + local netId = NetworkGetNetworkIdFromEntity(data.entity) + local entity = NetworkGetEntityFromNetworkId(netId) + NetworkRequestControlOfEntity(entity) + DeleteEntity(entity) + end + end, plate) +end) + + +AddEventHandler('onResourceStart', function(resourceName) + if (GetCurrentResourceName() ~= resourceName) then return end + Wait(1000) + makeCore() +end) + +RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function() + Wait(1000) + makeCore() +end) + +AddEventHandler('onResourceStop', function(resourceName) + if resourceName ~= GetCurrentResourceName() then + return + end + DeleteEntity(GETPED()) +end) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/config.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/config.lua new file mode 100644 index 0000000..3088b9d --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/config.lua @@ -0,0 +1,167 @@ +Oilwell_config = Oilwell_config or {} + +Oilwell_config.inventory_max_size = 41 +Oilwell_config.AnimationSpeedDivider = 20 -- higher value => less animation speed at 100% +Oilwell_config.actionSpeed = 5 -- how fast oilpump actionspeed is updated to new action speed / just visual +Oilwell_config.fuel_script = 'qb-fuel' + +Oilwell_config.Settings = { + size = { + oilwell_storage = 10000, + }, + oil_well = { + blip = { + sprite = 436, + colour = 5, + range = 'short', + -- CITIZENID | OILWELLNAME | DB_ID_RAW | TYPE | OILWELL_HASH + -- if scirpt detect this keywords inside string it will replace them. + name = 'Oil DB_ID_RAW' + } + }, + capacity = { + oilbarell = { + size = 5000, -- gal + cost = 500 + }, + truck = { + size = 5000, -- gal placeholder + cost = 25000 + } + } +} + +Oilwell_config.locations = { + storage = { + position = vector4(1710.67, -1662.0, 110.8, 325.22), + rotation = vector3(0.0, 0.0, 0.0), + model = 'prop_storagetank_06', + blip = { + sprite = 478, + colour = 5, + range = 'short', + name = 'Olie-type' + } + }, + distillation = { + position = vector4(1674, -1650.5, 110.2, 10), + rotation = vector3(0.0, 0.0, 10.0), + model = 'prop_gas_tank_01a', + blip = { + sprite = 467, + colour = 5, + range = 'short', + name = 'Olie-type' + } + }, + blender = { + position = vector4(1737.56, -1635.58, 110.88, 190), + rotation = vector3(0.0, 0.0, 190.0), + model = 'prop_storagetank_01', + blip = { + sprite = 365, + colour = 5, + range = 'short', + name = 'Olie-type' + } + }, + barrel_withdraw = { + position = vector4(1712.23, -1622.53, 111.48, 214.88), + rotation = vector3(0.0, 0.0, 0.0), + model = 'imp_prop_groupbarrel_03', + blip = { + sprite = 549, + colour = 5, + range = 'short', + name = 'Olie-type' + } + }, + -- placeholder + -- oil_wellhead = { + -- position = vector4(1480.9, -1850.85, 70.1, 246.85), + -- rotation = vector3(0.0, 0.0, 0.0), + -- model = 'prop_oil_wellhead_01', + -- }, + toggle_job = { + position = vector4(1703.5, -1635, 111.49, 100.11), + rotation = vector3(0.0, 0.0, 100.0), + model = 'xm_base_cia_server_02', + blip = { + sprite = 306, + colour = 5, + range = 'short', + name = 'Olie-type' + } + }, + crude_oil_transport = { + position = vector4(1220.0, -2986.0, 4.7, 180), + rotation = vector3(0.0, 0.0, 180.0), + model = 'prop_oil_wellhead_04', + blip = { + sprite = 306, + colour = 5, + range = 'short', + name = 'Olie-type' + } + } +} + +Oilwell_config.Delivery = { + refund = 20000, + TriggerLocation = vector3(1737.45, -1691.28, 112.73), + SpawnLocation = vector4(1741.19, -1694.61, 112.73, 125.57), + DinstanceToTrigger = 5.0, + vehicleModel = 'rallytruck' +} + +Oilwell_config.Transport = { + max_stock = 20000, --gal per type + prices = { + crudeOil = 3, + gasoline = 7, + fuel_oil = 3.5 + }, + barell_refund = 200, + duration = 5 --sec +} + +-- Make separate file for locale +Oilwell_config.Locale = { + mail = { + sender = 'Olie-firma', + subject = 'Betalings kvittering', + message = 'Kære %s %s,

Denne email er en kopi af din kvittering.
Din betaling var: %.2f,-
Solgt mængde : %d (liter)
Tønde refundering : %d,-' + }, + info = { + mr = 'Hr.', + mrs = 'Fr.', + } +} + +Oilwell_config.TruckWithdraw = { + npc = { + model = 'S_M_Y_Construct_02', + variant = {}, + coords = vector4(1737.49, -1691.76, 111.73, 116.07), + scenario = 'WORLD_HUMAN_CLIPBOARD', + flag = 1, + freeze = true, + invincible = true, + blockevents = true, + }, + box = { + minz_offset = -1, + maxz_offset = 1.75, + w = 1.5, + l = 2.35, + heading = 160.0 + } +} + +-- prop_barrel_exp_01a.yft ron +-- prop_barrel_exp_01b.yft glob oil + +-- prop_oil_wellhead_01 +-- prop_oilcan_02a + +-- vector3(998.08, -1859.08, 30.89) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/fxmanifest.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/fxmanifest.lua new file mode 100644 index 0000000..308884f --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/fxmanifest.lua @@ -0,0 +1,33 @@ +fx_version 'cerulean' +games { 'gta5' } + +author "Swkeep#7049" + +shared_script { 'config.lua', 'shared/shared_main.lua' } + +client_scripts { + '@menuv/menuv.lua', + 'client/client.lua', + 'client/client_lib/client_lib_entry.lua', + 'client/client_lib/menu/CDU_menu.lua', + 'client/client_lib/menu/edit_menu.lua', + 'client/client_lib/menu/pump_menu.lua', + 'client/client_lib/menu/storage_menu.lua', + 'client/client_lib/menu/blender_menu.lua', + 'client/client_lib/menu/transport_menu.lua', + 'client/target/target.lua', + 'client/target/qb_target.lua', +} + +server_script { + '@oxmysql/lib/MySQL.lua', + 'server/server_lib/server_lib_entry.lua', + 'server/server_lib/Server_GlobalScirptData.lua', + 'server/server_lib/refund.lua', + 'server/server_main.lua', +} + + +dependency 'oxmysql' + +lua54 'yes' diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/drive_shaft.png b/resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/drive_shaft.png new file mode 100644 index 0000000000000000000000000000000000000000..8658ae97ea7ea470124bec87d37c56c39d5ddea7 GIT binary patch literal 5935 zcmcIo`8!m9*q+f~Fc=zH%UH@JrSL5w%NPdPqtM96mMu$zvX6bqlE}UcUu4Y^Sz@dq z*|P8ZE_-(4J>Ng!y{`8?*ZG|1y3Xg9&w0-C-1q(5q1u{QMtUxK5D3Jms)Er4;s;=P zLTP}fHI=Rp5a=9L4Bvo2443~~U{F#D2MBa!Ru!Y5_crCvWDM*^R z_ABOJ5aYY_AD-1pH=izT+ua{E|7dsr6j?jEu_?7n>lUaA7w9ZXOii3TJhq}FaAxLj zD-9OpKZ|N{F?LL0-#2vt9UjfIIHm1`NcOzNq*%%DcZ*+RS>}ui*?W&|dG|wLPUio9 zdv7$2adEMQ@e@%PRldYe=6N4JUhZYph+ z=!Bv(DWv|e?czKuuDqPRyp6hL-U+y4)r1^**aP5t1y&_j8T=aHOu@)7em#99<0__z zz8^l5Q+=gVlau8W4@c79I@Y$-O->Ood4I0%VSOn6Cih_TousjpCcNZre@+q z^*jD{n;@$=R&zrt9MyOw$(jo`=v%znE5YbZzPRNQ(dWN8m6km z$%Mec`S}8@c~~#6N1j1oo!A*krm|y^-&k6M7ltikYhq=AGEhG4e;9*I=G&CfD zlypd|VxB>~eJ3MUW71O3q)(;egM+b8dAIA|9Cjo}u1LmPn0Qkd(&eOnoka?YjZ`uY zXXE`~hM!oNg5jYUIE;prFAVvCH`GUjQ;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`Y8jIbBF z<3rgXAGwMg4EZ>SMy(jz2-S1mM3h-hmmKDm|7X@xNXM*si- literal 0 HcmV?d00001 diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/oilBarrel.png b/resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/oilBarrel.png new file mode 100644 index 0000000000000000000000000000000000000000..19dcf661c9ca4e2036a53eb488255d47fe6e3d5b GIT binary patch literal 15971 zcmV-pKAgdcP)veX|^vu|v@jigr3}Gw>DhX^ zXL^7AwtH_?o%72dr>bt<`<8yMm+2blZ|n8D@7}7q=hpe&-+q2a%#7Q(jq8El>H*xw zYah2sbQ{-=+a$V;>&9&o-Ntnzxzz)BHE?-(Sqon#Wf79H@JUhRS)S*aFN0bLn)DV* z%y22?`ub$?>`RyKSYBP-zcJbvjwj>3iUt)4Di)k`K~O|p5S5_Lg~Vy;oP{(^a#ab5 zb7imJ&$C{dXK9u@CuNc(r8)`yUOMh)y*$m*JWJF3@R6nRR^OlN#cPs8r(Qa{|MJD< zL(5l|_ph#x_g`AxI5ZmN{fie@kDNVw?)cjJ+T!}^c(}eXUYrz@ELhM|_};QqtTeDd z2mujClBB%p(KqqVuX!Vnyzw4hdhs$J`N(JZ!k3>UFLH{az=8pWP+|bV0m9U?wdQ}3 z00cy&`B9VVxIn6oo+db_xFq>MDll9at}Pwhw|wZxfeZKDcju`)jvY96=iNtMy7R81 zXC8U<;WMxD?cFn^>n{G6pZv-_Uwq=}w?6;eEB8P9%nJ`*xP0MAQTQb5_ulWEvayk~ zvOMO(#bq?zhb9hDkBTCyAci2Q0thOKid55{pw6LAx%1c(Z+!SpE}mQCndi^4Hoije zC1zk|2%rJX0I~R-0Tsc#t4L)ECV+t%W}v3kpYb|kfEhk`d?5ZV17%r~7ZZG*V_`&= z=~J(}|IX*X_3wV&AAR7TzyE`G-gR{2*381r=q!o;@Q*+F)gS!ehkyLk^B3+rcWLF_ zY3BH`AN^jw;p^VQ!KH%?2Ym*E0jfgjOP=`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TUN7(CU%OkiXsXwGI zl*?s>dCC?lqx;xr&?S+ZJ3$H7N7_TxxfQNC&5L+hT3!Gi+!Fus_YKI1MCBH3vWQ_n zs?m(IpfMR`31bh;HrgKny`4Tu%3ZVIJ>=7yqA(n8))|!GoVa%DPLm{m5{*Z9G>+_O zY>n-83YOu0|bo_lX0>GE_t#u<;KStTl^x#0NG>w)>oQ)eLKm{l0rhlw-P1RPp z&yC~Dgk`lD3DO_C-sv*#u(%>#8YkgI(jt)jMMx>g4<2|Yo)RNOkCgW@=N1n_HzSn} zu89V5u$_0Z`UPi@{)7k(2XEUnuwKDRN(>{|5?=j8Fgo literal 0 HcmV?d00001 diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/timing_chain.png b/resources/[qb]/[qb_jobs]/keep-oilwell/inventoryicons/timing_chain.png new file mode 100644 index 0000000000000000000000000000000000000000..f6c27fa294a120c53bc6b6bcd9412f0345cbd029 GIT binary patch literal 18502 zcmb_^`9GEI8|@}ZQiLSQJZDOhP>4(kNkS4rl1!NsA%qY@5<=2`g@jC*k|arzBy$Lv zXEL4je9u2{emH&h8?WrWpXa`>VO?vjdxz@jsPCj@qa~3@J2f>__3oOZO3$$v~@YO z-*GXLwo{r5*s@V+?l1{U515EsO9?b=zO{H@HF@Cp^}P16+b$1M<6R%{H@?vb6VM2= z6wu(=UCs4nesFX&W%S8SohkahrPc>5r$}1_u1y}heUD<>`L^@L4r`MhTXPI|jJ+1W zzWYyX<|KjLgJ{SY0~DipsS z@5XPEaOD5_*I8NwZ&O^~Q`MXIU;7vj$+pPER+=r{Bu60EFq<*xWOVDOt7ef&H`N_g z9&S5nHlBG`(Ag54!Rs;VPP?s zNlG&iX|a{&Vy5M0py6T($NxJ2{Z2NzbxYn}X1_j}*`<^nPr{X`^6VCgqkY#eIq2f$ zkz;sTh&k-7VRnw+x8BVHz5w0*AAU_OWxJF<(HCNtd8U8ug<-a`5c9jKrHl^yclI(@ z+}&BQFZjdC&aPU}p(>Mfs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><#NAKc_}J$ag$W26VP7qB+9>H=VT$FUx;fS=+!fV!A9}{rB$= z&Mg11lDf@z+7efLPPE2cFIp$-2*gjgc2Ct=o;3ukP4H~xQgS_&Kq5N&UW#C?O`=ef4PL6Nvm_wmJS xCq-?<|NV%Y9dnwOtIK>A|Nnm`PW&e4pZvQkk6O&|VL&93<|!T3+>_=3{|Cka4A=kw literal 0 HcmV?d00001 diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/Server_GlobalScirptData.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/Server_GlobalScirptData.lua new file mode 100644 index 0000000..f2c7acd --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/Server_GlobalScirptData.lua @@ -0,0 +1,715 @@ +local QBCore = exports['qb-core']:GetCoreObject() + +GlobalScirptData = { + oldTable = { 'deepcopy of oil_well' }, + oil_well = { + ['id'] = { + id = 'integer', + citizenid = 'string', + position = { + coord = { 'table' }, + rotation = { 'table' } + }, + name = 'string', + metadata = { + temp = 'float', + secduration = 'integer', + speed = 'integer', + oil_storage = 'float', + part_info = { + belt = 'float', + clutch = 'float', + polish = 'float' + } + }, + state = 'bool', + oilrig_hash = 'string' + } + }, + devices = { + oilrig_storage = { + { + id = 0, + citizenid = '', + name = '', + metadata = { + avg_gas_octane = 0, + gasoline = 0.0, + crudeOil = 0.0 + }, + } + }, + oilrig_cdu = { + { + id = 0, + citizenid = '', + metadata = { + temp = 0.0, + req_temp = 0.0, + state = false, + oil_storage = 0.0, + }, + } + }, + oilrig_blender = { + { + id = 0, + citizenid = '', + metadata = { + heavy_naphtha = 0.0, + light_naphtha = 0.0, + other_gases = 0.0, + state = false, + recipe = { + heavy_naphtha = 0.0, + light_naphtha = 0.0, + other_gases = 0.0, + } + }, + } + }, + } +} + +local serverUpdateInterval = 10000 -- database update interval + +function GlobalScirptData:newOilwell(oilwell, employees) + if self.oil_well[oilwell] ~= nil then return end + local id = #employees + 1 + employees[id] = { + id = id, + oilrig_hash = oilwell.oilrig_hash, + citizenid = oilwell.citizenid + } + + self.oil_well[oilwell.id] = {} + self.oil_well[oilwell.id] = oilwell + -- last employee is owner of oilwell + self.oil_well[oilwell.id].employees = employees + + self.oil_well[oilwell.id].is_employee = function(citizenid) + for key, value in ipairs(self.oil_well[oilwell.id].employees) do + if value.citizenid == citizenid then + if self.oil_well[oilwell.id].citizenid == citizenid then + return true, true + end + return true, false + end + end + return false, false + end + + self.oil_well[oilwell.id].employees_list = function() + return self.oil_well[oilwell.id].employees + end +end + +function GlobalScirptData:newDevice(device, Type) + if self.devices[Type][device.id] == nil then + self.devices[Type][device.id] = {} + end + + if Type == 'oilrig_storage' then + device.metadata = json.decode(device.metadata) + self.devices.oilrig_storage[device.id] = device + elseif Type == 'oilrig_cdu' then + device.metadata = json.decode(device.metadata) + self.devices.oilrig_cdu[device.id] = device + elseif Type == 'oilrig_blender' then + device.metadata = json.decode(device.metadata) + self.devices.oilrig_blender[device.id] = device + end +end + +function GlobalScirptData:saveThread() + CreateThread(function() + while true do + self.oldTable_oilwells = deepcopy(self.oil_well) + self.oldTable_oilrig_storage = deepcopy(self.devices.oilrig_storage) + self.oldTable_oilrig_cdu = deepcopy(self.devices.oilrig_cdu) + self.oldTable_oilrig_blender = deepcopy(self.devices.oilrig_blender) + + Wait(serverUpdateInterval) + for id, value in pairs(self.oil_well) do + if not equals(self.oldTable_oilwells[id], self.oil_well[id]) then + GeneralUpdate_2({ + type = 'oilrig_oilwell', + citizenid = value.citizenid, + oilrig_hash = value.oilrig_hash, + metadata = value.metadata + }) + end + end + + -- save storage data + for id, storage in pairs(self.devices.oilrig_storage) do + if not equals(self.oldTable_oilrig_storage[id], self.devices.oilrig_storage[id]) then + + GeneralUpdate_2({ + type = 'oilrig_storage', + citizenid = storage.citizenid, + metadata = storage.metadata + }) + end + end + + -- save CDU data + for id, storage in pairs(self.devices.oilrig_cdu) do + if not equals(self.oldTable_oilrig_cdu[id], self.devices.oilrig_cdu[id]) then + GeneralUpdate_2({ + type = 'oilrig_cdu', + citizenid = storage.citizenid, + metadata = storage.metadata + }) + end + end + + for id, blender in pairs(self.devices.oilrig_blender) do + if not equals(self.oldTable_oilrig_blender[id], self.devices.oilrig_blender[id]) then + GeneralUpdate_2({ + type = 'oilrig_blender', + citizenid = blender.citizenid, + metadata = blender.metadata + }) + end + end + end + end) +end + +--- wipes all data +function GlobalScirptData:wipeALL() + self.oil_well = {} + self.devices = { + oilrig_storage = {}, + oilrig_cdu = {}, + oilrig_blender = {}, + } + self.oldTable_oilwells = {} + self.oldTable_oilrig_storage = {} + self.oldTable_oilrig_cdu = {} + self.oldTable_oilrig_blender = {} +end + +function GlobalScirptData:getByHash(oilrig_hash) + for key, value in pairs(self.oil_well) do + if value.oilrig_hash == oilrig_hash then + return value, key + end + end + return false +end + +function GlobalScirptData:read(id) + return self.oil_well[id] +end + +function GlobalScirptData:readAll() + return self.oil_well +end + +function GlobalScirptData:getDeviceById(Type, id) + return self.devices[Type][id] +end + +function GlobalScirptData:getDeviceByCitizenId(Type, citizenid) + for key, value in pairs(self.devices[Type]) do + if value.citizenid == citizenid then + return value + end + end + return false +end + +local function cal_avg_octane(res) + local avg = 0 + for key, Type in pairs(res) do + avg = avg + Type.octane + end + return math.ceil((avg / 5) + 0.5) +end + +local function blender_calculations(blender) + if blender.metadata.state == false then + return + end + + local storage = GlobalScirptData:getDeviceByCitizenId('oilrig_storage', blender.citizenid) + + if storage == false then + -- failsafe + local player = QBCore.Functions.GetPlayerByCitizenId(blender.citizenid) + TriggerClientEvent('QBCore:Notify', player.PlayerData.source, "Fatal fejl!", 'error') + TriggerClientEvent('QBCore:Notify', player.PlayerData.source, "Nødsikring aktiveret. Lukker ned!", 'primary') + blender.metadata.state = false + return + end + + if blender.metadata.heavy_naphtha <= 0.0 then + blender.metadata.heavy_naphtha = 0.0 + blender.metadata.state = false + return + end + -- blender.metadata.diesel + -- blender.metadata.kerosene + if blender.metadata.light_naphtha <= 0.0 then + blender.metadata.light_naphtha = 0.0 + blender.metadata.state = false + return + end + + if blender.metadata.other_gases <= 0.0 then + blender.metadata.other_gases = 0.0 + blender.metadata.state = false + return + end + + if blender.metadata.diesel <= 0.0 then + blender.metadata.diesel = 0.0 + blender.metadata.state = false + return + end + + if blender.metadata.kerosene <= 0.0 then + blender.metadata.kerosene = 0.0 + blender.metadata.state = false + return + end + + if not blender.metadata.recipe.diesel then + blender.metadata.recipe.diesel = 0 + end + if not blender.metadata.recipe.kerosene then + blender.metadata.recipe.kerosene = 0 + end + + local res = { + light_naphtha = BalanceRecipe:Blender(tonumber(blender.metadata.recipe.light_naphtha), 'light_naphtha'), + heavy_naphtha = BalanceRecipe:Blender(tonumber(blender.metadata.recipe.heavy_naphtha), 'heavy_naphtha'), + other_gases = BalanceRecipe:Blender(tonumber(blender.metadata.recipe.other_gases), 'other_gases'), + --new elements + diesel = BalanceRecipe:Blender(tonumber(blender.metadata.recipe.diesel), 'diesel'), + kerosene = BalanceRecipe:Blender(tonumber(blender.metadata.recipe.kerosene), 'kerosene'), + } + blender.metadata.light_naphtha = blender.metadata.light_naphtha - res.light_naphtha.usage + blender.metadata.heavy_naphtha = blender.metadata.heavy_naphtha - res.heavy_naphtha.usage + blender.metadata.other_gases = blender.metadata.other_gases - res.other_gases.usage + -- new elements + blender.metadata.diesel = blender.metadata.diesel - res.diesel.usage + blender.metadata.kerosene = blender.metadata.kerosene - res.kerosene.usage + + res.avg_octane = cal_avg_octane(res) + storage.metadata.avg_gas_octane = math.ceil((storage.metadata.avg_gas_octane + res.avg_octane) / 2) + storage.metadata.gasoline = Round(storage.metadata.gasoline + 0.75, 2) +end + +local function CDUs_calculations(CDU) + if CDU.metadata.state == false then + if CDU.metadata.temp > 0 then + CDU.metadata.temp = CDU.metadata.temp - 15.0 + else + CDU.metadata.temp = 0.0 + end + return + end + + -- increase temp until reach requestd temp + if CDU.metadata.req_temp > CDU.metadata.temp then + CDU.metadata.temp = CDU.metadata.temp + 15.0 + elseif CDU.metadata.req_temp == CDU.metadata.temp then + CDU.metadata.temp = CDU.metadata.req_temp + end + + -- a little bit of fun xd + if CDU.metadata.temp >= 1000 then + local player = QBCore.Functions.GetPlayerByCitizenId(CDU.citizenid) + CDU.metadata.temp = 0 + CDU.metadata.state = false + TriggerClientEvent('keep-oilwell:server_lib:AddExplosion', player.PlayerData.source, 'distillation') + return + end + -- oil_storage > 1.0 min buffer + -- CDU functions on current temp if we have something in oil_storage + if CDU.metadata.oil_storage > 1.0 then + -- get storage to export CDU products + local blender = GlobalScirptData:getDeviceByCitizenId('oilrig_blender', CDU.citizenid) + if blender == false then + -- CUD's failsafe + local player = QBCore.Functions.GetPlayerByCitizenId(CDU.citizenid) + local source = player.PlayerData.source + TriggerClientEvent('QBCore:Notify', source, "Fatal fejl!", 'error') + TriggerClientEvent('QBCore:Notify', source, "Nødsikring aktiveret. Lukker ned!", 'primary') + CDU.metadata.state = false + return + end + + local multi, o_type = BalanceRecipe:CDU(CDU.metadata.temp) + if multi and o_type then + CDU.metadata.oil_storage = CDU.metadata.oil_storage - multi + if blender.metadata[o_type] == nil then + blender.metadata[o_type] = 0 + end + blender.metadata[o_type] = blender.metadata[o_type] + multi + end + end +end + +local function oilwell_calculations(oil_well) + local pumpOverHeat = 327 + local sotrage_size = Oilwell_config.Settings.size.oilwell_storage + + if oil_well.metadata.speed > 0 then + oil_well.metadata.duration = oil_well.metadata.duration + 1 + oil_well.metadata.secduration = oil_well.metadata.duration + if oil_well.metadata.temp ~= nil and pumpOverHeat >= oil_well.metadata.temp then + local temp = oil_well.metadata.temp + local speed = oil_well.metadata.speed + oil_well.metadata.temp = Round(tempGrowth(temp, speed, 'increase', pumpOverHeat), 2) + else + oil_well.metadata.temp = pumpOverHeat + end + + if oil_well.metadata.speed <= 0 then return end + -- parts functions + if oil_well.metadata.part_info.belt > 0 then + local res = BalanceRecipe:SpeedRelated('OilwellBeltDegradation', oil_well.metadata.speed) + oil_well.metadata.part_info.belt = Round((oil_well.metadata.part_info.belt - res), 2) + elseif oil_well.metadata.part_info.belt <= 0 then + oil_well.metadata.part_info.belt = 0 + oil_well.metadata.speed = 0 + local player = QBCore.Functions.GetPlayerByCitizenId(oil_well.citizenid) + TriggerClientEvent('QBCore:Notify', player.PlayerData.source, 'Lukker ned. Ødelagt bælte', 'error') + TriggerClientEvent('keep-oilrig:client:syncSpeed', -1, oil_well.id, 0) + end + + if oil_well.metadata.part_info.polish > 0 then + local res = BalanceRecipe:SpeedRelated('OilwellPolishDegradation', oil_well.metadata.speed) + oil_well.metadata.part_info.polish = Round((oil_well.metadata.part_info.polish - res), 2) + elseif oil_well.metadata.part_info.polish <= 0 then + oil_well.metadata.part_info.polish = 0 + oil_well.metadata.speed = 0 + local player = QBCore.Functions.GetPlayerByCitizenId(oil_well.citizenid) + TriggerClientEvent('QBCore:Notify', player.PlayerData.source, 'Lukker ned. Polish-værdi ramte 0', 'error') + TriggerClientEvent('keep-oilrig:client:syncSpeed', -1, oil_well.id, 0) + end + + if oil_well.metadata.part_info.clutch > 0 then + local res = BalanceRecipe:SpeedRelated('OilwellClutchDegradation', oil_well.metadata.speed) + oil_well.metadata.part_info.clutch = Round((oil_well.metadata.part_info.clutch - res), 2) + elseif oil_well.metadata.part_info.clutch <= 0 then + oil_well.metadata.part_info.clutch = 0 + oil_well.metadata.speed = 0 + local player = QBCore.Functions.GetPlayerByCitizenId(oil_well.citizenid) + TriggerClientEvent('QBCore:Notify', player.PlayerData.source, 'Lukker ned. Ødelagt kobling', 'error') + TriggerClientEvent('keep-oilrig:client:syncSpeed', -1, oil_well.id, 0) + end + + -- skip player oil if player one part is 0 + if oil_well.metadata.part_info.clutch == 0 or oil_well.metadata.part_info.polish == 0 or + oil_well.metadata.part_info.belt == 0 then + return + end + if oil_well.metadata.temp > 0 and oil_well.metadata.temp < pumpOverHeat and + oil_well.metadata.oil_storage <= sotrage_size then + local res = BalanceRecipe:SpeedRelated('OilwellProdoction', oil_well.metadata.speed) + oil_well.metadata.oil_storage = oil_well.metadata.oil_storage + res + end + else + -- reset duration + oil_well.metadata.duration = 0 + -- start cooling procces + if oil_well.metadata.secduration > 0 then + local temp = oil_well.metadata.temp + local speed = oil_well.metadata.speed + oil_well.metadata.secduration = oil_well.metadata.secduration - 1 + oil_well.metadata.temp = Round(tempGrowth(temp, speed, 'decrease', pumpOverHeat), 2) + elseif oil_well.metadata.secduration == 0 then + oil_well.metadata.temp = 0 + end + + if oil_well.metadata.secduration > 0 and oil_well.metadata.temp == 0 then + oil_well.metadata.secduration = 0 + end + end +end + +-- Storage +function SendOilToStorage(oilrig, src, cb) + local storage = GlobalScirptData:getDeviceByCitizenId('oilrig_storage', oilrig.citizenid) + if storage == false then + InitStorage({ + citizenid = oilrig.citizenid, + name = "'s inventar", + }) + TriggerClientEvent('QBCore:Notify', src, "Kunne ikke tilgå inventar. Prøv igen!", 'error') + cb(false) + return + end + -- add to storage + if not storage then + TriggerClientEvent('QBCore:Notify', src, "Kunne ikke tilgå inventar. Prøv igen!", 'error') + return + end + storage.metadata.crudeOil = Round(storage.metadata.crudeOil + oilrig.metadata.oil_storage, 2) + TriggerClientEvent('QBCore:Notify', src, oilrig.metadata.oil_storage .. " liter råoile pumpet til lager") + -- remove from oilwell + oilrig.metadata.oil_storage = 0.0 + cb(true) +end + +function SendOilFuelToStorage(player, src, cb) + local citizenid = player.PlayerData.citizenid + local blender = GlobalScirptData:getDeviceByCitizenId('oilrig_blender', citizenid) + local storage = GlobalScirptData:getDeviceByCitizenId('oilrig_storage', citizenid) + + if storage == false then + InitStorage({ + citizenid = citizenid, + name = player.PlayerData.name .. "'s inventar", + }) + TriggerClientEvent('QBCore:Notify', src, "Kunne ikke tilgå inventar. Prøv igen!", 'error') + cb(false) + return + end + + if not blender then + TriggerClientEvent('QBCore:Notify', src, "Kunne ikke tilgå inventar. Prøv igen!", 'error') + cb(false) + return + end + + if not storage.metadata.fuel_oil then + storage.metadata.fuel_oil = 0 + end + + if not blender.metadata.fuel_oil then + blender.metadata.fuel_oil = 0 + end + + if blender.metadata.fuel_oil == 0 then + TriggerClientEvent('QBCore:Notify', src, "Du har ingen brændselsolie!", 'error') + return + end + -- add to storage + storage.metadata.fuel_oil = Round((storage.metadata.fuel_oil + blender.metadata.fuel_oil), 2) + TriggerClientEvent('QBCore:Notify', src, blender.metadata.fuel_oil .. " liter brændselsolie pumpet til lager") + -- remove from oilwell + blender.metadata.fuel_oil = 0.0 + cb(true) +end + +function InitStorage(o, cb) + local sqlQuery = 'INSERT INTO oilrig_storage (citizenid,name,metadata) VALUES (?,?,?)' + local metadata = { + queue = {}, + avg_gas_octane = 0, + gasoline = 0.0, + crudeOil = 0.0 + } + + MySQL.Async.fetchAll('SELECT * FROM oilrig_storage WHERE citizenid = ?', { o.citizenid }, function(res) + if next(res) then cb(false) return false end + + local QueryData = { + o.citizenid, + o.name, + json.encode(metadata), + } + res = MySQL.Sync.insert(sqlQuery, QueryData) + if res ~= 0 then + -- inject into runtime + GlobalScirptData:newDevice({ + id = res, + citizenid = o.citizenid, + name = o.name, + metadata = json.encode(metadata) + }, 'oilrig_storage') + + if cb then + cb(GlobalScirptData:getDeviceByCitizenId('oilrig_storage', o.citizenid)) + end + return true + end + cb(false) + return false + end) +end + +-- End Storage + +-- CDU + +function Init_CDU(citizenid, cb) + local sqlQuery = 'INSERT INTO oilrig_cdu (citizenid,metadata) VALUES (?,?)' + local metadata = { + temp = 0.0, + req_temp = 0.0, + state = false, + oil_storage = 0.0 + } + + MySQL.Async.fetchAll('SELECT * FROM oilrig_cdu WHERE citizenid = ?', { citizenid }, function(res) + if next(res) then cb(false) return end + local QueryData = { citizenid, json.encode(metadata) } + res = MySQL.Sync.insert(sqlQuery, QueryData) + if res ~= 0 then + -- inject into runtime + GlobalScirptData:newDevice({ + id = res, + citizenid = citizenid, + metadata = json.encode(metadata) + }, 'oilrig_cdu') + cb(GlobalScirptData:getDeviceByCitizenId('oilrig_cdu', citizenid)) + return + end + cb(false) + end) +end + +-- End CDU + +-- Blender + +function Init_Blender(citizenid, cb) + local sqlQuery = 'INSERT INTO oilrig_blender (citizenid,metadata) VALUES (?,?)' + local metadata = { + heavy_naphtha = 0.0, + light_naphtha = 0.0, + other_gases = 0.0, + state = false, + recipe = { + heavy_naphtha = 0.0, + light_naphtha = 0.0, + other_gases = 0.0, + } + } + MySQL.Async.fetchAll('SELECT * FROM oilrig_blender WHERE citizenid = ?', { citizenid }, function(res) + if next(res) then cb(false) end + + local QueryData = { + citizenid, + json.encode(metadata), + } + res = MySQL.Sync.insert(sqlQuery, QueryData) + + if res ~= 0 then + -- inject into runtime + GlobalScirptData:newDevice({ + id = res, + citizenid = citizenid, + metadata = json.encode(metadata) + }, 'oilrig_blender') + cb(GlobalScirptData:getDeviceByCitizenId('oilrig_blender', citizenid)) + return + end + cb(false) + end) +end + +-- End Blender + +---------------------- +-- Data Manipulations +---------------------- + +local function startServerTick() + CreateThread(function() + while true do + for _, oil_well in pairs(GlobalScirptData.oil_well) do + oilwell_calculations(oil_well) + end + for _, CDU in pairs(GlobalScirptData.devices.oilrig_cdu) do + CDUs_calculations(CDU) + end + for _, blender in pairs(GlobalScirptData.devices.oilrig_blender) do + blender_calculations(blender) + end + Wait(1000) + end + end) +end + +-------------------- +-- DATABASE WRAPPER +-------------------- +function Sync_with_database() + local o_w_sql = 'SELECT * FROM oilrig_position WHERE id = ? and deleted = false' + local e_sql = 'SELECT * FROM oilcompany_employees WHERE oilrig_hash = ?' + + local fetch_oil_well = function(id) + local oil_well = {} + local oil_well_employees = {} + oil_well = MySQL.Sync.fetchAll(o_w_sql, { id }) + oil_well_employees = MySQL.Sync.fetchAll(e_sql, { oil_well[1].oilrig_hash }) + + -- -- convert strings to josn type + oil_well[1].position = json.decode(oil_well[1].position) + oil_well[1].metadata = json.decode(oil_well[1].metadata) + + return oil_well[1], oil_well_employees + end + + local oil_wells = MySQL.Sync.fetchAll('SELECT id FROM `oilrig_position` WHERE deleted = false', {}) + local oilrig_storage = {} + local oilrig_cdu = {} + local oilrig_blender = {} + for _, well in ipairs(oil_wells) do + local oil_well, employees = fetch_oil_well(well.id) + GlobalScirptData:newOilwell(oil_well, employees) + end + + + oilrig_storage = MySQL.Sync.fetchAll('SELECT * FROM oilrig_storage', {}) + for _, value in ipairs(oilrig_storage) do + GlobalScirptData:newDevice(value, 'oilrig_storage') + end + + oilrig_cdu = MySQL.Sync.fetchAll('SELECT * FROM oilrig_cdu', {}) + for _, value in ipairs(oilrig_cdu) do + GlobalScirptData:newDevice(value, 'oilrig_cdu') + end + + oilrig_blender = MySQL.Sync.fetchAll('SELECT * FROM oilrig_blender', {}) + for _, value in ipairs(oilrig_blender) do + GlobalScirptData:newDevice(value, 'oilrig_blender') + end + + -- print(Colors.blue .. 'Indlæser rapport (' .. GetCurrentResourceName() .. ')') + -- print(Colors.green .. '' .. #oil_wells .. ' oilebrønde') + -- print(Colors.green .. '' .. #oilrig_storage .. ' lagre') + -- print(Colors.green .. '' .. #oilrig_cdu .. ' CDU\'er') + -- print(Colors.green .. '' .. #oilrig_blender .. ' Blandere') + -- print(Colors.blue .. 'End of loading (' .. GetCurrentResourceName() .. ')') + + GlobalScirptData:saveThread() + startServerTick() +end + +function GeneralUpdate_2(options) + if options.type == nil then return end + local sqlQuery = '' + local QueryData = {} + for key, value in pairs(options.metadata) do + if type(value) == "number" then + options.metadata[key] = Round(value, 2) + end + end + if options.type == 'oilrig_storage' or options.type == 'oilrig_cdu' or options.type == 'oilrig_blender' then + sqlQuery = 'UPDATE ' .. options.type .. ' SET metadata = ? WHERE citizenid = ? AND metadata <> ?' + QueryData = { + json.encode(options.metadata), -- check if data is cahnged + options.citizenid, + json.encode(options.metadata) -- check if data is cahnged + } + elseif options.type == 'oilrig_oilwell' then + sqlQuery = 'UPDATE oilrig_position SET metadata = ? WHERE citizenid = ? AND oilrig_hash = ? AND metadata <> ?' + QueryData = { + json.encode(options.metadata), -- check if data is cahnged + options.citizenid, + options.oilrig_hash, + json.encode(options.metadata) -- check if data is cahnged + } + end + MySQL.Async.execute(sqlQuery, QueryData, function(e) + end) +end diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/refund.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/refund.lua new file mode 100644 index 0000000..4f06790 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/refund.lua @@ -0,0 +1,24 @@ +local QBCore = exports['qb-core']:GetCoreObject() +local vehicles = {} + +RegisterNetEvent('keep-oilwell:server_lib:update_vehicle', function(vehiclePlate, items) + local src = source + if not vehicles[src] then + vehicles[src] = {} + end + vehicles[src][vehiclePlate] = vehiclePlate + exports['ps-inventory']:addTrunkItems(vehiclePlate, items) +end) + +QBCore.Functions.CreateCallback('keep-oilwell:server:refund_truck', function(source, cb, vehiclePlate) + if vehicles[source] then + if vehicles[source][vehiclePlate] then + local player = QBCore.Functions.GetPlayer(source) + player.Functions.AddMoney('bank', Oilwell_config.Delivery.refund, 'oil_barells') + vehicles[source][vehiclePlate] = nil + cb(true) + return + end + end + cb(false) +end) diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/server_lib_entry.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/server_lib_entry.lua new file mode 100644 index 0000000..d906e88 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_lib/server_lib_entry.lua @@ -0,0 +1,294 @@ +BalanceRecipe = {} + +function GeneralInsert(options) + local sqlQuery = 'INSERT INTO oilrig_position (citizenid,name,oilrig_hash,position,metadata,state) VALUES (?,?,?,?,?,?)' + local QueryData = { + options.citizenid, + options.name, + options.oilrig_hash, + json.encode(options.position), + json.encode(options.metadata), + options.state + } + return MySQL.Sync.insert(sqlQuery, QueryData) +end + +function isTableChanged(oldTable, newTable) + if equals(oldTable, newTable, true) == false then + return true + else + return false + end +end + +function equals(o1, o2, ignore_mt) + if o1 == o2 then return true end + local o1Type = type(o1) + local o2Type = type(o2) + if o1Type ~= o2Type then return false end + if o1Type ~= 'table' then return false end + + if not ignore_mt then + local mt1 = getmetatable(o1) + if mt1 and mt1.__eq then + --compare using built in method + return o1 == o2 + end + end + + local keySet = {} + + for key1, value1 in pairs(o1) do + local value2 = o2[key1] + if value2 == nil or equals(value1, value2, ignore_mt) == false then + return false + end + keySet[key1] = true + end + + for key2, _ in pairs(o2) do + if not keySet[key2] then return false end + end + return true +end + +function deepcopy(orig, copies) + copies = copies or {} + local orig_type = type(orig) + local copy + if orig_type == 'table' then + if copies[orig] then + copy = copies[orig] + else + copy = {} + copies[orig] = copy + for orig_key, orig_value in next, orig, nil do + copy[deepcopy(orig_key, copies)] = deepcopy(orig_value, copies) + end + setmetatable(copy, deepcopy(getmetatable(orig), copies)) + end + else -- number, string, boolean, etc + copy = orig + end + return copy +end + +local function inRange(x, min, max) + return (x >= min and x <= max) +end + +local function getCurrentSpeed_maxTemp(speed) + if inRange(speed, 0, 10) then return 75 + elseif inRange(speed, 10, 20) then return 100 + elseif inRange(speed, 30, 40) then return 125 + elseif inRange(speed, 40, 50) then return 170 + elseif inRange(speed, 50, 60) then return 215 + elseif inRange(speed, 60, 70) then return 260 + elseif inRange(speed, 70, 80) then return 305 + elseif inRange(speed, 80, 100) then return 327 + else return 0 + end +end + +local function isOverHeatTemp(temp, max) + return (temp >= max) +end + +function GetSpeedProdoctionMulti(speed) + local logic = { + [1] = { range = { 0, 10 }, multi = 0.02 }, + [2] = { range = { 10, 20 }, multi = 0.03 }, + [3] = { range = { 20, 30 }, multi = 0.04 }, + [4] = { range = { 30, 40 }, multi = 0.05 }, + [5] = { range = { 40, 50 }, multi = 0.06 }, + [6] = { range = { 50, 60 }, multi = 0.07 }, + [7] = { range = { 60, 70 }, multi = 0.08 }, + [8] = { range = { 70, 80 }, multi = 0.09 }, + [9] = { range = { 80, 90 }, multi = 0.1 }, + [10] = { range = { 90, 100 }, multi = 0.12 }, + } + for key, value in pairs(logic) do + if inRange(speed, value.range[1], value.range[2]) then + return value.multi + end + end + return 0 +end + +function GetSpeed_degradationMulti(speed) + local logic = { + [1] = { range = { 0, 10 }, multi = 0.025 }, + [2] = { range = { 10, 20 }, multi = 0.03 }, + [3] = { range = { 20, 30 }, multi = 0.035 }, + [4] = { range = { 30, 40 }, multi = 0.040 }, + [5] = { range = { 40, 50 }, multi = 0.045 }, + [6] = { range = { 50, 60 }, multi = 0.050 }, + [7] = { range = { 60, 70 }, multi = 0.055 }, + [8] = { range = { 70, 80 }, multi = 0.06 }, + [9] = { range = { 80, 90 }, multi = 0.068 }, + [10] = { range = { 90, 100 }, multi = 0.075 }, + } + for key, value in pairs(logic) do + if inRange(speed, value.range[1], value.range[2]) then + return value.multi + end + end + return 0 +end + +function BalanceRecipe:SpeedRelated(type, condition) + local data = { + ['OilwellTemperatureGrowth'] = { + [1] = { range = { 0, 10 }, multi = 0.02 }, + [2] = { range = { 10, 20 }, multi = 0.03 }, + [3] = { range = { 20, 30 }, multi = 0.04 }, + [4] = { range = { 30, 40 }, multi = 0.05 }, + [5] = { range = { 40, 50 }, multi = 0.06 }, + [6] = { range = { 50, 60 }, multi = 0.07 }, + [7] = { range = { 60, 70 }, multi = 0.08 }, + [8] = { range = { 70, 80 }, multi = 0.09 }, + [9] = { range = { 80, 90 }, multi = 0.1 }, + [10] = { range = { 90, 100 }, multi = 0.12 }, + }, + ['OilwellProdoction'] = { + [1] = { range = { 0, 10 }, multi = 0.02 }, + [2] = { range = { 10, 20 }, multi = 0.03 }, + [3] = { range = { 20, 30 }, multi = 0.04 }, + [4] = { range = { 30, 40 }, multi = 0.05 }, + [5] = { range = { 40, 50 }, multi = 0.06 }, + [6] = { range = { 50, 60 }, multi = 0.07 }, + [7] = { range = { 60, 70 }, multi = 0.08 }, + [8] = { range = { 70, 80 }, multi = 0.09 }, + [9] = { range = { 80, 90 }, multi = 0.1 }, + [10] = { range = { 90, 100 }, multi = 0.12 }, + }, + ['OilwellClutchDegradation'] = { + [1] = { range = { 0, 10 }, multi = 0.025 }, + [2] = { range = { 10, 20 }, multi = 0.03 }, + [3] = { range = { 20, 30 }, multi = 0.035 }, + [4] = { range = { 30, 40 }, multi = 0.040 }, + [5] = { range = { 40, 50 }, multi = 0.045 }, + [6] = { range = { 50, 60 }, multi = 0.050 }, + [7] = { range = { 60, 70 }, multi = 0.055 }, + [8] = { range = { 70, 80 }, multi = 0.06 }, + [9] = { range = { 80, 90 }, multi = 0.065 }, + [10] = { range = { 90, 100 }, multi = 0.07 }, + }, + ['OilwellPolishDegradation'] = { + [1] = { range = { 0, 10 }, multi = 0.02 }, + [2] = { range = { 10, 20 }, multi = 0.025 }, + [3] = { range = { 20, 30 }, multi = 0.03 }, + [4] = { range = { 30, 40 }, multi = 0.035 }, + [5] = { range = { 40, 50 }, multi = 0.04 }, + [6] = { range = { 50, 60 }, multi = 0.045 }, + [7] = { range = { 60, 70 }, multi = 0.05 }, + [8] = { range = { 70, 80 }, multi = 0.055 }, + [9] = { range = { 80, 90 }, multi = 0.060 }, + [10] = { range = { 90, 100 }, multi = 0.065 }, + }, + ['OilwellBeltDegradation'] = { + [1] = { range = { 0, 10 }, multi = 0.025 }, + [2] = { range = { 10, 20 }, multi = 0.03 }, + [3] = { range = { 20, 30 }, multi = 0.035 }, + [4] = { range = { 30, 40 }, multi = 0.040 }, + [5] = { range = { 40, 50 }, multi = 0.045 }, + [6] = { range = { 50, 60 }, multi = 0.050 }, + [7] = { range = { 60, 70 }, multi = 0.055 }, + [8] = { range = { 70, 80 }, multi = 0.06 }, + [9] = { range = { 80, 90 }, multi = 0.065 }, + [10] = { range = { 90, 100 }, multi = 0.07 }, + }, + } + + for key, value in pairs(data[type]) do + if inRange(condition, value.range[1], value.range[2]) then + return value.multi + end + end + return 0 +end + +function BalanceRecipe:CDU(condition) + local data = { + [1] = { range = { 20, 50 }, multi = 0.65, o_type = 'other_gases' }, + [2] = { range = { 50, 100 }, multi = 0.3, o_type = 'light_naphtha' }, + [3] = { range = { 100, 150 }, multi = 0.5, o_type = 'light_naphtha' }, + [4] = { range = { 150, 175 }, multi = 0.2, o_type = 'kerosene' }, + [5] = { range = { 175, 200 }, multi = 0.25, o_type = 'heavy_naphtha' }, + [6] = { range = { 200, 230 }, multi = 0.3, o_type = 'heavy_naphtha' }, + [7] = { range = { 230, 260 }, multi = 0.35, o_type = 'diesel' }, + [8] = { range = { 260, 30 }, multi = 0.4, o_type = 'diesel' }, + [9] = { range = { 300, 600 }, multi = 0.8, o_type = 'fuel_oil' }, + } + + for key, value in pairs(data) do + if inRange(condition, value.range[1], value.range[2]) then + return value.multi, value.o_type + end + end + return 0, 'other_gases' +end + +function BalanceRecipe:Blender(condition, Type) + local data = { + ['other_gases'] = { + [1] = { range = { 0, 10 }, octane = 93, usage = 0.1 }, + [2] = { range = { 10, 20 }, octane = 91, usage = 0.2 }, + [3] = { range = { 20, 25 }, octane = 89, usage = 0.25 }, + }, + ['kerosene'] = { + [1] = { range = { 5, 10 }, octane = 89, usage = 0.1 }, + [2] = { range = { 10, 15 }, octane = 91, usage = 0.15 }, + [3] = { range = { 15, 25 }, octane = 93, usage = 0.25 }, + }, + ['diesel'] = { + [1] = { range = { 0, 0 }, octane = 93, usage = 0.0 }, + [2] = { range = { 10, 20 }, octane = 91, usage = 0.25 }, + [3] = { range = { 15, 25 }, octane = 89, usage = 0.35 }, + }, + ['light_naphtha'] = { + [1] = { range = { 10, 20 }, octane = 89, usage = 0.06 }, + [2] = { range = { 20, 40 }, octane = 91, usage = 0.16 }, + [3] = { range = { 40, 60 }, octane = 93, usage = 0.39 }, + }, + ['heavy_naphtha'] = { + [1] = { range = { 80, 60 }, octane = 93, usage = 0.24 }, + [2] = { range = { 60, 40 }, octane = 91, usage = 0.24 }, + [3] = { range = { 40, 0 }, octane = 89, usage = 0.26 }, + }, + } + + for key, value in pairs(data[Type]) do + if inRange(condition, value.range[1], value.range[2]) then + return { octane = value.octane, usage = value.usage } + end + end + return { octane = 87, usage = 0.4 } +end + +function tempGrowth(tmp, speed, Type, max) + if tmp == nil then return 0 end + + if Type == 'increase' then + if isOverHeatTemp(tmp, max) then return tmp end + + if inRange(speed, 0, 100) then + local max_temp = getCurrentSpeed_maxTemp(speed) + tmp = tmp + BalanceRecipe:SpeedRelated('OilwellTemperatureGrowth', speed) + if tmp >= max_temp then + tmp = max_temp + end + return tmp + else + return 0 + end + return 0 + end + -- decrease + if tmp > 0 then + tmp = tmp - 10 + else + tmp = 0 + end + return tmp +end diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_main.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_main.lua new file mode 100644 index 0000000..f32bf4e --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/server/server_main.lua @@ -0,0 +1,1034 @@ +local QBCore = exports['qb-core']:GetCoreObject() + +--devices +-- =========================================== +-- Spawn / object Control +-- =========================================== +AddEventHandler('onResourceStart', function(resourceName) + if (GetCurrentResourceName() ~= resourceName) then + return + end + GlobalScirptData:wipeALL() + Sync_with_database() +end) +-- ========================================== +-- Update / server Side +-- ========================================== + +QBCore.Functions.CreateCallback('keep-oilrig:server:pump_fueloil', function(source, cb, data) + local player = QBCore.Functions.GetPlayer(source) + if player == nil then + TriggerClientEvent('QBCore:Notify', source, "Spiller ikke fundet!") + cb(false) + return + end + SendOilFuelToStorage(player, source, cb) +end) + +QBCore.Functions.CreateCallback('keep-oilrig:server:PumpOilToStorageCallback', function(source, cb, data) + local player = QBCore.Functions.GetPlayer(source) + if player == nil then + TriggerClientEvent('QBCore:Notify', source, "Spiller ikke fundet!") + cb(false) + return + end + local oilrig, id = GlobalScirptData:getByHash(data) + if not oilrig then + cb(false) + return + end + local is_employee, is_owner = oilrig.is_employee(player.PlayerData.citizenid) + if not is_employee and not is_owner then + TriggerClientEvent('QBCore:Notify', source, "Du har ikke adgang til denne del!") + cb(false) + return + end + if oilrig.metadata.oil_storage <= 0 then + TriggerClientEvent('QBCore:Notify', source, "Lager er tomt!") + cb(false) + return + end + SendOilToStorage(oilrig, source, cb) +end) + +QBCore.Functions.CreateCallback('keep-oilrig:server:getStorageData', function(source, cb) + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local storage = GlobalScirptData:getDeviceByCitizenId('oilrig_storage', citizenid) + if storage == false then + InitStorage({ + citizenid = citizenid, + name = player.PlayerData.name .. "'s inventar", + }, cb) + return + end + cb(storage) +end) + +QBCore.Functions.CreateCallback('keep-oilrig:server:Withdraw', function(source, cb, data) + if not data then cb(false) return end + if not data.amount then cb(false) return end + if not data.type then cb(false) return end + if type(data.amount) == "string" then data.amount = tonumber(data.amount) end + if data.amount <= 0 then + TriggerClientEvent('QBCore:Notify', source, "Værdi skal være større end 0!", 'error') + return + end + + if not data.truck then + local barrel_max_size = Oilwell_config.Settings.capacity.oilbarell.size + local stash_size = 5 + + if data.amount > (barrel_max_size * stash_size) then + TriggerClientEvent('QBCore:Notify', source, "Ingen plads i inventar!", 'error') + TriggerClientEvent('QBCore:Notify', source, "Maksimum: " .. (barrel_max_size * stash_size) .. "/L", + 'error') + return + end + else + if data.amount > 100000 then + TriggerClientEvent('QBCore:Notify', source, "Maksimum: 100.000/L", + 'error') + return + end + end + + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local storage = GlobalScirptData:getDeviceByCitizenId('oilrig_storage', citizenid) + + if storage == false then + InitStorage({ + citizenid = citizenid, + name = player.PlayerData.name .. "'s inventar", + }) + TriggerClientEvent('QBCore:Notify', source, "Kunne ikke tilgå inventar!", 'error') + cb(false) + return + end + + local value = storage.metadata[data.type] + if value < data.amount then + TriggerClientEvent('QBCore:Notify', source, "Du kan ikke tage denne mængde!", 'error') + TriggerClientEvent('QBCore:Notify', source, "Anmodet: " .. data.amount .. " Nuværrende: " .. value, 'error') + cb(false) + return + end + + storage.metadata[data.type] = storage.metadata[data.type] - data.amount + storage.metadata.queue[#storage.metadata.queue + 1] = { + truck = data.truck, + type = data.type, + gal = data.amount, + avg_gas_octane = storage.metadata.avg_gas_octane + } + + if storage.metadata[data.type] < 1.0 then + -- remove waste + storage.metadata.avg_gas_octane = 87 + storage.metadata[data.type] = 0 + end + TriggerClientEvent('QBCore:Notify', source, "Vi gennemførte din anmodning!", 'success') + cb(true) +end) + +local function isWithdrawStashEmpty(Player) + local stash = 'Withdraw_' .. Player.PlayerData.citizenid + local result = MySQL.Sync.fetchScalar("SELECT items FROM stashitems WHERE stash= ?", { stash }) + if result == nil then + -- need to init stash + return false, -1 + end + result = json.decode(result) + local size = Tablelength(result) + if size >= 1 then + return false, size + else + return true, size + end +end + +local function divide_barells(barrel) + local barrel_max_size = Oilwell_config.Settings.capacity.oilbarell.size + local divide = math.floor(barrel.gal / barrel_max_size) + local leftover = barrel.gal % barrel_max_size + + local count = { + full_size = 0, + leftover = 0, + leftover_value = 0 + } + for i = 1, divide + 1, 1 do + if i ~= (divide + 1) then + count.full_size = count.full_size + 1 + else + if leftover ~= 0 then + count.leftover = count.leftover + 1 + count.leftover_value = leftover + end + end + end + return count +end + +local function add_oilbarell_2(Player, divide_res, barrel_type, barrel_avg_gas_octane) + -- send barells to withdraw stash + local barrel_max_size = Oilwell_config.Settings.capacity.oilbarell.size + local items = {} + local stash = 'Withdraw_' .. Player.PlayerData.citizenid + local result = MySQL.Sync.fetchAll("SELECT items FROM stashitems WHERE stash=?", { stash }) + local res = result[1] + if res == nil then return false end + if res.items == nil then return false end + res.items = json.decode(res.items) + if res.items == nil then return false end + local item_name = 'oilbarell' + local itemInfo = QBCore.Shared.Items[item_name:lower()] + + if barrel_type ~= 'gasoline' then + barrel_avg_gas_octane = 0 + end + + for i = 1, divide_res.full_size, 1 do + items[#items + 1] = { + name = itemInfo["name"], + amount = 1, + label = itemInfo["label"], + description = itemInfo["description"] ~= nil and itemInfo["description"] or "", + weight = itemInfo["weight"], -- can not set weight + type = itemInfo["type"], + unique = itemInfo["unique"], + useable = itemInfo["useable"], + image = itemInfo["image"], + slot = #items + 1, + info = { + type = barrel_type, + gal = barrel_max_size, + avg_gas_octane = barrel_avg_gas_octane + } + } + end + + for i = 1, divide_res.leftover, 1 do + items[#items + 1] = { + name = itemInfo["name"], + amount = 1, + label = itemInfo["label"], + description = itemInfo["description"] ~= nil and itemInfo["description"] or "", + weight = itemInfo["weight"], -- can not set weight + type = itemInfo["type"], + unique = itemInfo["unique"], + useable = itemInfo["useable"], + image = itemInfo["image"], + slot = #items + 1, + info = { + type = barrel_type, + gal = divide_res.leftover_value, + avg_gas_octane = barrel_avg_gas_octane + } + } + end + + MySQL.Async.execute("UPDATE stashitems SET items = ? WHERE stash = ?", { json.encode(items), stash }) +end + +RegisterNetEvent('keep-oilwell:server:purgeWithdrawStash', function() + local Player = QBCore.Functions.GetPlayer(source) + local stash = 'Withdraw_' .. Player.PlayerData.citizenid + MySQL.Async.execute("UPDATE stashitems SET items = '[]' WHERE stash = ?", { stash }) + TriggerClientEvent('QBCore:Notify', source, "Tømning fuldført!", 'success') +end) + +QBCore.Functions.CreateCallback('keep-oilrig:server:withdraw_from_queue', function(source, cb, Type) + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local storage = GlobalScirptData:getDeviceByCitizenId('oilrig_storage', citizenid) + if storage == false then + InitStorage({ + citizenid = citizenid, + name = player.PlayerData.name .. "'s inventar", + }) + TriggerClientEvent('QBCore:Notify', source, "Kunne ikke tilgå inventar!", 'error') + cb(false) + return + end + if type(storage.metadata.queue) ~= "table" then + -- failsafe + storage.metadata.queue = {} + cb(false) + return + end + if type(storage.metadata.queue) == "table" and next(storage.metadata.queue) == nil then + TriggerClientEvent('QBCore:Notify', source, "Intet i kø!", 'error') + cb(false) + return + end + for key, barrel in pairs(storage.metadata.queue) do + + if barrel == nil then + goto here + end + + if not (barrel.truck == Type) then + goto here + end + if not barrel.truck then + local stashEmpty, size = isWithdrawStashEmpty(player) + if not stashEmpty and not (size == -1) then + TriggerClientEvent('QBCore:Notify', source, "Inventar er ikke tomt!", 'error') + cb(false) + return + elseif not stashEmpty and size == -1 then + TriggerClientEvent('QBCore:Notify', source, "Inventar skal være åbnet en enkelt gang!", + 'error') + cb(false) + return + end + local divide_res = divide_barells(barrel) + + -- calcualte barell cost + local cost_of_1 = Oilwell_config.Settings.capacity.oilbarell.cost + local total_cost = cost_of_1 * (divide_res.full_size + divide_res.leftover) + + local removemoeny = player.Functions.RemoveMoney('bank', total_cost, 'oil_barells') + if removemoeny then + add_oilbarell_2(player, divide_res, barrel.type, barrel.avg_gas_octane) + TriggerClientEvent('QBCore:Notify', source, "Anmodning fuldført!", 'success') + cb({ truck = false }) + storage.metadata.queue[key] = nil + return + else + TriggerClientEvent('QBCore:Notify', source, "Ikke nok penge i banken!", 'error') + end + cb(storage) + return + elseif barrel.truck and barrel.truck == true then + local divide_res = divide_barells(barrel) + + -- calcualte barell cost + local removemoeny = player.Functions.RemoveMoney('bank', 25000, 'oil_barells') + if removemoeny then + local items = Split_oilbarrel_size(divide_res, barrel.type, barrel.avg_gas_octane) + items.truck = true + TriggerClientEvent('QBCore:Notify', source, "Anmodning fuldført!", 'success') + cb(items) + storage.metadata.queue[key] = nil + return + else + TriggerClientEvent('QBCore:Notify', source, "Ikke nok penge i banken!", 'error') + end + cb(storage) + return + end + ::here:: + end + TriggerClientEvent('QBCore:Notify', source, "Du har intet i kø her!", 'error') + cb(false) +end) + +QBCore.Functions.CreateUseableItem('oilbarell', function(source, item) + local Player = QBCore.Functions.GetPlayer(source) +end) + +QBCore.Functions.CreateUseableItem('oilwell', function(source, item) + local Player = QBCore.Functions.GetPlayer(source) + local RemovedItem = Player.Functions.RemoveItem('oilwell', 1) + TriggerClientEvent('ps-inventory:client:ItemBox', source, QBCore.Shared.Items['oilwell'], "remove") + + if item.amount >= 1 and RemovedItem == true then + TriggerClientEvent('keep-oilrig:client:spawn', source) + end +end) + +function Split_oilbarrel_size(divide_res, barrel_type, barrel_avg_gas_octane) + local barrel_max_size = Oilwell_config.Settings.capacity.oilbarell.size + local item_name = 'oilbarell' + local itemInfo = QBCore.Shared.Items[item_name:lower()] + local items = {} + + for i = 1, divide_res.full_size, 1 do + items[#items + 1] = { + name = itemInfo["name"], + amount = 1, + label = itemInfo["label"], + description = itemInfo["description"] ~= nil and itemInfo["description"] or "", + weight = itemInfo["weight"], -- can not set weight + type = itemInfo["type"], + unique = itemInfo["unique"], + useable = itemInfo["useable"], + image = itemInfo["image"], + slot = #items + 1, + info = { + type = barrel_type, + gal = barrel_max_size, + avg_gas_octane = barrel_avg_gas_octane + } + } + end + + for i = 1, divide_res.leftover, 1 do + items[#items + 1] = { + name = itemInfo["name"], + amount = 1, + label = itemInfo["label"], + description = itemInfo["description"] ~= nil and itemInfo["description"] or "", + weight = itemInfo["weight"], -- can not set weight + type = itemInfo["type"], + unique = itemInfo["unique"], + useable = itemInfo["useable"], + image = itemInfo["image"], + slot = #items + 1, + info = { + type = barrel_type, + gal = divide_res.leftover_value, + avg_gas_octane = barrel_avg_gas_octane + } + } + end + return items +end + +RegisterNetEvent('keep-oilrig:server:updateSpeed', function(inputData, id) + local player = QBCore.Functions.GetPlayer(source) + if player == nil then return end + -- validate speed for 0 - 100 + local oilrig = GlobalScirptData:read(id) + local is_employee, is_owner = oilrig.is_employee(player.PlayerData.citizenid) + if not is_employee and not is_owner then + TriggerClientEvent('QBCore:Notify', source, "Du har ikke adgang til denne oliebrønd!", 'error') + return + end + + local speed = tonumber(inputData.speed) + if not (0 <= speed and speed <= 100) then + TriggerClientEvent('QBCore:Notify', source, 'Hastighed skal være mellem 0-100', "error") + return + end + + oilrig.metadata.speed = speed + -- sync speed on other clients + TriggerClientEvent('keep-oilrig:client:syncSpeed', -1, id, speed) +end) + +QBCore.Functions.CreateCallback('keep-oilrig:server:get_CDU_Data', function(source, cb) + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local CDU = GlobalScirptData:getDeviceByCitizenId('oilrig_cdu', citizenid) + + if CDU == false then + Init_CDU(citizenid, cb) + return + end + + -- callback must return CDU's object reason ==> reopen menu with new values + cb(CDU) +end) + +QBCore.Functions.CreateCallback('keep-oilrig:server:set_CDU_temp', function(source, cb, inputData) + if type(inputData.temp) == "string" then + inputData.temp = tonumber(inputData.temp) + end + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local CDU = GlobalScirptData:getDeviceByCitizenId('oilrig_cdu', citizenid) + CDU.metadata.req_temp = inputData.temp + -- callback must return CDU's object reason ==> reopen menu with new values + cb(CDU) +end) + +QBCore.Functions.CreateCallback('keep-oilrig:server:switchPower_of_CDU', function(source, cb) + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local CDU = GlobalScirptData:getDeviceByCitizenId('oilrig_cdu', citizenid) + if CDU.metadata.state == false then + CDU.metadata.state = true + else + CDU.metadata.state = false + end + + -- callback must return CDU's object reason ==> reopen menu with new values + cb(CDU) +end) + +QBCore.Functions.CreateCallback('keep-oilrig:server:pumpCrudeOil_to_CDU', function(source, cb, inputData) + if type(inputData.amount) == "string" then + inputData.amount = tonumber(inputData.amount) + end + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local CDU = GlobalScirptData:getDeviceByCitizenId('oilrig_cdu', citizenid) + local storage = GlobalScirptData:getDeviceByCitizenId('oilrig_storage', citizenid) + + if storage == false then + InitStorage({ + citizenid = citizenid, + name = player.PlayerData.name .. "'s inventar", + }) + TriggerClientEvent('QBCore:Notify', source, "Kunne ikke tilgå inventar!", 'error') + cb(false) + return + end + + if inputData.amount <= 0 then + TriggerClientEvent('QBCore:Notify', source, "Skal være mere end 0", 'error') + cb(CDU) + return + end + + if storage.metadata.crudeOil == 0.0 then + TriggerClientEvent('QBCore:Notify', source, "Inventar tomt", 'error') + cb(CDU) + return + end + + if storage.metadata.crudeOil >= inputData.amount then + storage.metadata.crudeOil = storage.metadata.crudeOil - inputData.amount + CDU.metadata.oil_storage = CDU.metadata.oil_storage + inputData.amount + end + -- callback must return CDU's object reason ==> reopen menu with new values + cb(CDU) +end) + +QBCore.Functions.CreateCallback('keep-oilrig:server:ShowBlender', function(source, cb) + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local blender = GlobalScirptData:getDeviceByCitizenId('oilrig_blender', citizenid) + if blender == false then + Init_Blender(citizenid, cb) + return + end + + cb(blender) +end) + +local function inRange(x, min, max) + return (x >= min and x <= max) +end + +QBCore.Functions.CreateCallback('keep-oilrig:server:toggle_blender', function(source, cb) + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local blender = GlobalScirptData:getDeviceByCitizenId('oilrig_blender', citizenid) + if blender.metadata.state == false then + blender.metadata.state = true + else + blender.metadata.state = false + end + cb(blender) +end) + +QBCore.Functions.CreateCallback('keep-oilrig:server:recipe_blender', function(source, cb, inputData) + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local blender = GlobalScirptData:getDeviceByCitizenId('oilrig_blender', citizenid) + + for _, value in pairs(inputData) do + local current_num = tonumber(value) + if not inRange(current_num, 0, 100) then + TriggerClientEvent('QBCore:Notify', source, "Skal være mellem 0-100", 'error') + return + end + inputData[_] = current_num + end + + blender.metadata.recipe.heavy_naphtha = inputData.heavy_naphtha or blender.metadata.recipe.heavy_naphtha + blender.metadata.recipe.light_naphtha = inputData.light_naphtha or blender.metadata.recipe.light_naphtha + blender.metadata.recipe.other_gases = inputData.other_gases or blender.metadata.recipe.other_gases + + --new elements + blender.metadata.recipe.diesel = inputData.diesel or blender.metadata.recipe.diesel + blender.metadata.recipe.kerosene = inputData.kerosene or blender.metadata.recipe.kerosene + + cb(blender) +end) + +local current_transport_stock = { + crudeOil = 0, + fuel_oil = 0, + gasoline = 0 +} +local TRANSPORT = Oilwell_config.Transport + +local function change_item_info(Player, slot, info) + if Player.PlayerData.items[slot] then + Player.PlayerData.items[slot].info = info + end + Player.Functions.SetInventory(Player.PlayerData.items, true) +end + +local function reachedMaxStock(Type) + local max = TRANSPORT.max_stock + return (current_transport_stock[Type] >= max) +end + +local function canWeAcceptMoreStock(Type, amount) + local max = TRANSPORT.max_stock + return not (current_transport_stock[Type] + amount >= max) +end + +local function remove_item(source, Player, name, slot) + Player.Functions.RemoveItem(name, 1, slot) + TriggerClientEvent('ps-inventory:client:ItemBox', source, QBCore.Shared.Items[name], "remove") +end + +QBCore.Functions.CreateCallback('keep-oilrig:server:oil_transport:fillTransportWell', function(source, cb, amount) + amount = tonumber(amount) -- just in case + local player = QBCore.Functions.GetPlayer(source) + local oil_barrel = player.Functions.GetItemByName('oilbarell') + local msg_string = "" + + if not oil_barrel then + TriggerClientEvent('QBCore:Notify', source, 'Du har ikke en olietønde!', 'error') + return + end + local current_info = oil_barrel.info + + if not current_info.type then + TriggerClientEvent('QBCore:Notify', source, 'Kunne ikke finde oile-type', 'error') + return + end + + if not (current_info.type == 'crudeOil' or current_info.type == 'fuel_oil' or current_info.type == 'gasoline') then + TriggerClientEvent('QBCore:Notify', source, 'Vi eksporterer ikke denne type olie!', 'error') + return + end + + if reachedMaxStock(current_info.type) then + -- when we reached max stock + TriggerClientEvent('QBCore:Notify', source, 'Vi tager ikke imod flere tilbud. Kom igen senere!', + 'primary') + return + end + + if not canWeAcceptMoreStock(current_info.type, amount) then + -- when buying results in more oil than what we need + local max_amount = math.floor(TRANSPORT.max_stock - current_transport_stock) + msg_string = "Vi kan kun acceptere op til %d liter" + msg_string = string.format(msg_string, max_amount) + TriggerClientEvent('QBCore:Notify', source, '', 'error') + return + end + + if current_info.gal < amount then + -- when they don't have what they want to sell + msg_string = 'Du vil sælge: %d, men har kun: %d' + msg_string = string.format(msg_string, amount, current_info.gal) + TriggerClientEvent('QBCore:Notify', source, msg_string, 'error') + cb(false) + return + end + + local gender = Oilwell_config.Locale.info.mr + if player.PlayerData.charinfo.gender == 1 then + gender = Oilwell_config.Locale.info.mrs + end + local charinfo = player.PlayerData.charinfo + + local cost = TRANSPORT.prices[current_info.type] * amount + if current_info.gal > amount then + -- asking less than what they have + current_info.gal = math.floor(current_info.gal - amount) + -- this function can be called just once after conditions but this should prevent switching slots + change_item_info(player, oil_barrel.slot, oil_barrel.info) + + player.Functions.AddMoney("bank", cost, 'crude_oil_transport') + + msg_string = 'Du solgte: %d liter for: %.2f,-' + msg_string = string.format(msg_string, amount, cost) + TriggerClientEvent('QBCore:Notify', source, msg_string, 'success') + + TriggerClientEvent('keep-oilrig:client:local_mail_sender', source, { + gender = gender, + charinfo = charinfo, + refund = 0, + money = cost, + amount = amount + }) + elseif current_info.gal == amount and amount ~= 0 then + -- asking for all they have + current_info.gal = 0 + -- this function can be called just once after conditions but this should prevent switching slots + change_item_info(player, oil_barrel.slot, oil_barrel.info) + remove_item(source, player, 'oilbarell', oil_barrel.slot) + -- money for what they sold + local money = (cost) + TRANSPORT.barell_refund + player.Functions.AddMoney("bank", money, 'crude_oil_transport') + + msg_string = 'Du solgte: %d liter for: %.2f,- + tønde refundering: %.2f,-' + msg_string = string.format(msg_string, amount, cost, TRANSPORT.barell_refund) + TriggerClientEvent('QBCore:Notify', source, msg_string, 'success') + + TriggerClientEvent('keep-oilrig:client:local_mail_sender', source, { + gender = gender, + charinfo = charinfo, + refund = TRANSPORT.barell_refund, + money = cost, + amount = amount + }) + else + -- invalid + -- or they ask for much more than they have + TriggerClientEvent('QBCore:Notify', source, 'Du har ikke en tønde, ellers er den tom!', 'error') + cb(false) + return + end + + current_transport_stock[current_info.type] = current_transport_stock[current_info.type] + amount + cb(true) +end) + +RegisterNetEvent('keep-oilrig:server:oil_transport:checkPrice', function() + local names = { + crudeOil = 'Råoile', + gasoline = 'Brændstof', + fuel_oil = 'Brændselsolie' + } + local msg_string = "Vores nuværrende lager af [%s] er: %d/%d. Pris per liter: %.2f,-" + for key, value in pairs(current_transport_stock) do + local s = string.format(msg_string, names[key], math.floor(value), TRANSPORT.max_stock, TRANSPORT.prices[key]) + TriggerClientEvent('QBCore:Notify', source, s, 'primary', 7500) + end + +end) + +-- ======================================= +-- Send Data / to Client +-- ======================================= + +---send oilrigs data to loaded player +---@param source integer +---@param cb table +QBCore.Functions.CreateCallback('keep-oilrig:server:getNetIDs', function(source, cb) + local player = QBCore.Functions.GetPlayer(source) + local citizenid = player.PlayerData.citizenid + local temp = {} + for key, value in pairs(GlobalScirptData:readAll()) do + temp[key] = deepcopy(value) + temp[key].employees_list = nil + temp[key].employees = nil + temp[key].is_employee = nil + temp[key].metadata = nil + temp[key].citizenid = nil + + if value.citizenid == citizenid then + temp[key].isOwner = true + else + temp[key].isOwner = false + end + end + cb(temp) +end) + +-- ====================================== +-- Register / from Client +-- ====================================== + +--- create oilrig and initialize it's data into database +---@param source integer +---@param cb 'calback' +---@param coords table +---@return 'NetId' +QBCore.Functions.CreateCallback('keep-oilrig:server:createNewOilrig', function(source, cb, coords) + local rigmodel = GetHashKey('p_oil_pjack_03_s') + + local oilrig = CreateObject(rigmodel, coords.x, coords.y, coords.z, 1, 1, 0) + while not DoesEntityExist(oilrig) do + Wait(50) + end + local NetId = NetworkGetNetworkIdFromEntity(oilrig) + cb(NetId) +end) + +---register oilrig to player by their current cid +QBCore.Functions.CreateCallback('keep-oilrig:server:regiserOilrig', function(source, cb, inputData) + -- get player by entered cid + local cid = tonumber(inputData.cid) + local player = QBCore.Functions.GetPlayer(cid) + if player ~= nil then + local PlayerData = player.PlayerData + local entity = NetworkGetEntityFromNetworkId(inputData.netId) + local coord = GetEntityCoords(entity) + local rotation = GetEntityRotation(entity) + local position = { + coord = { + x = coord.x, + y = coord.y, + z = coord.z, + }, + rotation = { + x = rotation.x, + y = rotation.y, + z = rotation.z, + } + } + local metadata = { + speed = 0, + temp = 0, + duration = 0, + secduration = 0, + oil_storage = 0, + part_info = { + belt = 0, + polish = 0, + clutch = 0, + } + } + local hash = RandomHash(15) + local id = GeneralInsert({ + citizenid = PlayerData.citizenid, + name = inputData.name, + oilrig_hash = hash, + position = position, + metadata = metadata, + state = false + }) + GlobalScirptData:newOilwell({ + id = id, + citizenid = PlayerData.citizenid, + position = position, + name = inputData.name, + state = false, + oilrig_hash = hash, + metadata = metadata + }, {}) + TriggerClientEvent('keep-oilwell:client:force_reload', -1) + cb(true) + else + TriggerClientEvent('QBCore:Notify', source, "Kunne ikke finde spiller med det BorgerID!") + cb(false) + end +end) + +function GetOilPumpItems(oilrig_hash) + local items = {} + local stash = 'oilPump_' .. oilrig_hash + local result = MySQL.Sync.fetchAll("SELECT items FROM stashitems WHERE stash=?", { stash }) + local res = result[1] + if res == nil then return false end + if res.items == nil then return false end + res.items = json.decode(res.items) + if res.items == nil then return false end + + for k, item in pairs(res.items) do + local itemInfo = QBCore.Shared.Items[item.name:lower()] + items[item.slot] = { + name = itemInfo["name"], + amount = tonumber(item.amount), + info = item.info ~= nil and item.info or "", + label = itemInfo["label"], + description = itemInfo["description"] ~= nil and itemInfo["description"] or "", + weight = itemInfo["weight"], + type = itemInfo["type"], + unique = itemInfo["unique"], + useable = itemInfo["useable"], + image = itemInfo["image"], + slot = item.slot, + } + end + return items +end + +local function isOneOfItems(item) + local s = { + ['oilfilter'] = 'polish', + ['reliefvalvestring'] = 'polish', + ['skewgear'] = 'kobling', + ['timingchain'] = 'bælte', + ['driveshaft'] = 'drivaksel' + } + + for _, part in pairs(s) do + if item.name == _ then + return item, part + end + end + return nil +end + +QBCore.Functions.CreateCallback('keep-oilwell:server:fix_oil_well', function(source, cb, oilrig_hash) + local Player = QBCore.Functions.GetPlayer(source) + local items = GetOilPumpItems(oilrig_hash) + local stash = 'oilPump_' .. oilrig_hash + local oil_well = GlobalScirptData:getByHash(oilrig_hash) + if not oil_well then cb(false) return end + local is_employee, is_owner = oil_well.is_employee(Player.PlayerData.citizenid) + if not is_employee and not is_owner then + cb(false) + return + end + for _, data in pairs(items) do + local _item, part = isOneOfItems(data) + if _item then + local increase = oil_well.metadata.part_info[part] + 10 * _item.amount + if increase >= 0 and increase <= 100 then + oil_well.metadata.part_info[part] = increase + elseif increase >= 100 then + oil_well.metadata.part_info[part] = 100 + else + oil_well.metadata.part_info[part] = 0 + end + end + end + + TriggerClientEvent('QBCore:Notify', source, "Dele brugt til at fikse oliebrønd.", 'primary') + MySQL.Async.execute("UPDATE stashitems SET items = '[]' WHERE stash = ?", { stash }) + cb(true) +end) + +QBCore.Functions.CreateCallback('keep-oilwell:server:is_employee', function(source, cb, oilrig_hash) + local Player = QBCore.Functions.GetPlayer(source) + local oil_well = GlobalScirptData:getByHash(oilrig_hash) + if not oil_well then cb(false) return end + cb(oil_well.is_employee(Player.PlayerData.citizenid)) +end) + +QBCore.Functions.CreateCallback('keep-oilwell:server:employees_list', function(source, cb, oilrig_hash) + local Player = QBCore.Functions.GetPlayer(source) + local oil_well = GlobalScirptData:getByHash(oilrig_hash) + if not oil_well then cb(false) return end + local is_employee, is_owner = oil_well.is_employee(Player.PlayerData.citizenid) + if not is_employee and not is_owner then + TriggerClientEvent('QBCore:Notify', source, "Du kan ikke se denne liste!", 'error') + cb(false) + return + end + local list = deepcopy(oil_well.employees_list()) + for index, value in ipairs(list) do + value.id = nil + local Player = QBCore.Functions.GetPlayerByCitizenId(value.citizenid) + if Player then + value.charinfo = Player.PlayerData.charinfo + value.online = true + else + Player = QBCore.Player.GetOfflinePlayer(value.citizenid) + if not Player then + value.charinfo = { + firstname = 'Slettet', + lastname = '' + } + value.online = false + end + end + end + cb(list) +end) + +RegisterNetEvent('keep-oilwell:server:add_employee', function(oilrig_hash, state_id) + state_id = tonumber(state_id) + local src = source + local Player = QBCore.Functions.GetPlayer(src) + local oil_well = GlobalScirptData:getByHash(oilrig_hash) + if not oil_well then return end + local _, is_owner = oil_well.is_employee(Player.PlayerData.citizenid) + if not is_owner then + TriggerClientEvent('QBCore:Notify', src, "Du skal være ejer af denne oliebrønd!", 'error') + return + end + local new_employee = QBCore.Functions.GetPlayer(state_id) + if not new_employee then + TriggerClientEvent('QBCore:Notify', src, "Forkert stats ID!", 'error') + return + end + + if new_employee.PlayerData.citizenid == oil_well.citizenid then + TriggerClientEvent('QBCore:Notify', src, "Du kan ikke tilføje ejeren som medarbejder", 'error') + return + end + + local sqlQuery = 'INSERT INTO oilcompany_employees (citizenid, oilrig_hash) VALUES (:citizenid, :oilrig_hash)' + local QueryData = { + ['citizenid'] = new_employee.PlayerData.citizenid, + ['oilrig_hash'] = oilrig_hash, + } + MySQL.Async.execute(sqlQuery, QueryData, function() + local e_sql = 'SELECT * FROM oilcompany_employees WHERE oilrig_hash = ?' + oil_well.employees = MySQL.Sync.fetchAll(e_sql, { oilrig_hash }) + local id = #oil_well.employees + 1 + oil_well.employees[id] = { + id = id, + oilrig_hash = oil_well.oilrig_hash, + citizenid = oil_well.citizenid + } + TriggerClientEvent('QBCore:Notify', src, "Ny medarbejder tilføjet til listen", 'success') + end) +end) + +RegisterNetEvent('keep-oilwell:server:remove_employee', function(oilrig_hash, citizenid) + if type(oilrig_hash) ~= 'string' or type(citizenid) ~= 'string' then + -- print('wrong type') + return + end + local src = source + local Player = QBCore.Functions.GetPlayer(src) + local oil_well = GlobalScirptData:getByHash(oilrig_hash) + if not oil_well then return end + if not citizenid then return end + local _, is_owner = oil_well.is_employee(Player.PlayerData.citizenid) + if not is_owner then + TriggerClientEvent('QBCore:Notify', src, "Du skal være ejer af denne oliebrønd!", 'error') + return + end + + if citizenid == oil_well.citizenid then + TriggerClientEvent('QBCore:Notify', src, "Du kan ikke fyre dig selv", 'error') + return + end + + local sqlQuery = 'DELETE FROM oilcompany_employees WHERE citizenid = ?' + local QueryData = { + citizenid + } + MySQL.Async.execute(sqlQuery, QueryData, function() + local e_sql = 'SELECT * FROM oilcompany_employees WHERE oilrig_hash = ?' + oil_well.employees = MySQL.Sync.fetchAll(e_sql, { oilrig_hash }) + local id = #oil_well.employees + 1 + oil_well.employees[id] = { + id = id, + oilrig_hash = oil_well.oilrig_hash, + citizenid = oil_well.citizenid + } + TriggerClientEvent('QBCore:Notify', src, "Medarbejder fyret!", 'success') + end) +end) + +QBCore.Functions.CreateCallback('keep-oilwell:server:oilwell_metadata', function(source, cb, oilrig_hash) + local oil_well = GlobalScirptData:getByHash(oilrig_hash) + if not oil_well then cb(false) return end + cb(oil_well.metadata) +end) + +RegisterNetEvent('keep-oilwell:server:remove_oilwell', function(oilrig_hash) + -- flag a oilwell as deleted + local src = source + local Player = QBCore.Functions.GetPlayer(src) + local oil_well = GlobalScirptData:getByHash(oilrig_hash) + if not oil_well then + return --print('oilwell not found', src, oilrig_hash) + end + if not Player.PlayerData.job.isboss then + -- DropPlayer(src, 'you are not CEO') + return + end + + local sqlQuery = 'UPDATE oilrig_position SET deleted = ? WHERE oilrig_hash = ?' + MySQL.Async.execute(sqlQuery, { 1, oil_well.oilrig_hash }, function() + TriggerClientEvent('QBCore:Notify', src, + "Destruktions-anmodning modtaget! Oliebrønden vil forsvinde efter næste tsunami!", + 'success' + ) + end) +end) +-- =========================== +-- Commands +-- =========================== + +QBCore.Commands.Add('create', 'Lav oliebrønd', {}, false, function(source, args) + if args[1] == 'oilwell' then + TriggerClientEvent('keep-oilrig:client:spawn', source, args[1]) + end +end, 'admin') + +QBCore.Commands.Add('togglejob', 'togglejob', {}, false, function(source, args) + local PlayerJob = QBCore.Functions.GetPlayer(source).PlayerData.job + TriggerClientEvent('keep-oilrig:client:goOnDuty', source, PlayerJob) +end, 'admin') diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/shared/shared_main.lua b/resources/[qb]/[qb_jobs]/keep-oilwell/shared/shared_main.lua new file mode 100644 index 0000000..06f986e --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/shared/shared_main.lua @@ -0,0 +1,120 @@ +function RandomHash(length) + local res = "" + for i = 1, length do + res = res .. string.char(math.random(97, 122)) + end + return res +end + +---print tables : debug +---@param node table +function print_table(node) + local cache, stack, output = {}, {}, {} + local depth = 1 + local output_str = "{\n" + + while true do + local size = 0 + for k, v in pairs(node) do + size = size + 1 + end + + local cur_index = 1 + for k, v in pairs(node) do + if (cache[node] == nil) or (cur_index >= cache[node]) then + + if (string.find(output_str, "}", output_str:len())) then + output_str = output_str .. ",\n" + elseif not (string.find(output_str, "\n", output_str:len())) then + output_str = output_str .. "\n" + end + + -- This is necessary for working with HUGE tables otherwise we run out of memory using concat on huge strings + table.insert(output, output_str) + output_str = "" + + local key + if (type(k) == "number" or type(k) == "boolean") then + key = "[" .. tostring(k) .. "]" + else + key = "['" .. tostring(k) .. "']" + end + + if (type(v) == "number" or type(v) == "boolean") then + output_str = output_str .. string.rep('\t', depth) .. key .. " = " .. tostring(v) + elseif (type(v) == "table") then + output_str = output_str .. string.rep('\t', depth) .. key .. " = {\n" + table.insert(stack, node) + table.insert(stack, v) + cache[node] = cur_index + 1 + break + else + output_str = output_str .. string.rep('\t', depth) .. key .. " = '" .. tostring(v) .. "'" + end + + if (cur_index == size) then + output_str = output_str .. "\n" .. string.rep('\t', depth - 1) .. "}" + else + output_str = output_str .. "," + end + else + -- close the table + if (cur_index == size) then + output_str = output_str .. "\n" .. string.rep('\t', depth - 1) .. "}" + end + end + + cur_index = cur_index + 1 + end + + if (size == 0) then + output_str = output_str .. "\n" .. string.rep('\t', depth - 1) .. "}" + end + + if (#stack > 0) then + node = stack[#stack] + stack[#stack] = nil + depth = cache[node] == nil and depth + 1 or depth - 1 + else + break + end + end + + -- This is necessary for working with HUGE tables otherwise we run out of memory using concat on huge strings + table.insert(output, output_str) + output_str = table.concat(output) + + -- print(output_str) +end + +function Round(num, dp) + --[[ + round a number to so-many decimal of places, which can be negative, + e.g. -1 places rounds to 10's, + + examples + 173.2562 rounded to 0 dps is 173.0 + 173.2562 rounded to 2 dps is 173.26 + 173.2562 rounded to -1 dps is 170.0 + ]] -- + local mult = 10 ^ (dp or 0) + return math.floor(num * mult + 0.5) / mult +end + +function Tablelength(T) + local count = 0 + for _ in pairs(T) do count = count + 1 end + return count +end + +Colors = { + red = "\027[31m", + green = "\027[32m", + orange = "\027[33m", + cyan = "\027[36m", + gray = "\027[90m", + grey = "\027[90m", + light_green = "\027[92m", + yellow = "\027[93m", + blue = "\027[94m", +} diff --git a/resources/[qb]/[qb_jobs]/keep-oilwell/sql.sql b/resources/[qb]/[qb_jobs]/keep-oilwell/sql.sql new file mode 100644 index 0000000..9779d31 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/keep-oilwell/sql.sql @@ -0,0 +1,49 @@ +CREATE TABLE IF NOT EXISTS `oilrig_position` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `citizenid` varchar(50) DEFAULT NULL, + `name` varchar(50) DEFAULT NULL, + `oilrig_hash` varchar(50) DEFAULT NULL, + `position` TEXT NOT NULL DEFAULT '0', + `metadata` TEXT NOT NULL DEFAULT '0', + `state` BOOLEAN NOT NULL DEFAULT FALSE, + `deleted` BOOLEAN NOT NULL DEFAULT FALSE, + PRIMARY KEY (`id`), + KEY `citizenid` (`citizenid`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; + +CREATE TABLE IF NOT EXISTS `oilrig_storage` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `citizenid` varchar(50) DEFAULT NULL, + `name` varchar(50) DEFAULT NULL, + `metadata` TEXT NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `citizenid` (`citizenid`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; + +CREATE TABLE IF NOT EXISTS `oilrig_cdu` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `citizenid` varchar(50) DEFAULT NULL, + `metadata` TEXT NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `citizenid` (`citizenid`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; + +CREATE TABLE IF NOT EXISTS `oilrig_blender` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `citizenid` varchar(50) DEFAULT NULL, + `metadata` TEXT NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `citizenid` (`citizenid`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; + +-- Patch 1.1.0 new part +CREATE TABLE IF NOT EXISTS `oilcompany_employees` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `citizenid` varchar(50) DEFAULT NULL, + `oilrig_hash` varchar(50) DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `citizenid` (`citizenid`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; + +-- for pre exsting users to update their database don't use it on a fresh install +-- ALTER TABLE `oilrig_position` ADD `deleted` BOOLEAN NOT NULL DEFAULT FALSE; diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/.gitattributes b/resources/[qb]/[qb_jobs]/kloud-farmjob/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/kloud-farmjob/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/LICENSE b/resources/[qb]/[qb_jobs]/kloud-farmjob/LICENSE new file mode 100644 index 0000000..e62ec04 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/kloud-farmjob/LICENSE @@ -0,0 +1,674 @@ +GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/README.md b/resources/[qb]/[qb_jobs]/kloud-farmjob/README.md new file mode 100644 index 0000000..8309b65 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/kloud-farmjob/README.md @@ -0,0 +1,209 @@ +# kloud-farmjob + +Dive into the world of a simple farmer, gather crops and sell it for money! + +# Features + +* Highly Configurable +* Easily Add Locations +* Highly Optimized (0.00ms Idle & 0.00 ~ 0.09 ms Active) +* Usage of Targeting Script for more immersive experience +* Smooth Animations + +# Preview + +https://youtu.be/xaWnb6a1-Uc + +# Dependencies + +**Required** + +* [ox_lib](https://github.com/overextended/ox_lib) + +**Framework** + +- [qb-core](https://github.com/qbcore-framework/qb-core) +- [qbx-core](https://github.com/Qbox-project/qbx-core) +- [es_extended](https://github.com/esx-framework/esx_core) + +**Target** + +- [qb-target](https://github.com/qbcore-framework/qb-target) +- [ox_target](https://github.com/overextended/ox_target) + +**Inventory** + +- [qb-inventory](https://github.com/qbcore-framework/qb-inventory) +- [lj-inventory](https://github.com/loljoshie/lj-inventory) +- [ps-inventoy](https://github.com/Project-Sloth/ps-inventory) +- [ox_inventory](https://overextended.dev/ox_inventory) + +# Installation + +Join my [Discord Server](https://discord.gg/DbqC2SWzJk) for updates + +## Configuration + +### Language + +Add this to your server.cfg +```cfg +setr ox:locale en +``` + +## server.cfg + +```cfg +ensure FRAMEWORK # es_extended / qb-core +ensure ox_lib +ensure TARGET # ox_target / qb-target +ensure INVENTORY # ox_inventory / qb-inventory / lj-inventory +ensure kloud-farm +``` + +## For qb-core + +### qb-core\shared\items.lua + +```lua + ['potato'] = {['name'] = 'potato', ['label'] = 'Potato', ['weight'] = 350, ['type'] = 'item', ['image'] = 'potato.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Po-ta-to'}, + ['dirty_potato'] = {['name'] = 'dirty_potato', ['label'] = 'Dirty Potato', ['weight'] = 350, ['type'] = 'item', ['image'] = 'dirty_potato.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Po-ta-to'}, + ['tomato'] = {['name'] = 'tomato', ['label'] = 'Tomato', ['weight'] = 350, ['type'] = 'item', ['image'] = 'tomato.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'To-ma-to'}, + ['dirty_tomato'] = {['name'] = 'dirty_tomato', ['label'] = 'Dirty Tomato', ['weight'] = 350, ['type'] = 'item', ['image'] = 'dirty_tomato.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'To-ma-to'}, + ['coffee_beans'] = {['name'] = 'coffee_beans', ['label'] = 'Coffee Beans', ['weight'] = 350, ['type'] = 'item', ['image'] = 'coffee_beans.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Wakey wakey!'}, + ['dirty_coffee_beans'] = {['name'] = 'dirty_coffee_beans', ['label'] = 'Dirty Coffee Beans', ['weight'] = 350, ['type'] = 'item', ['image'] = 'dirty_coffee_beans.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Wakey wakey!'}, + ['cabbage'] = {['name'] = 'cabbage', ['label'] = 'Cabbage', ['weight'] = 350, ['type'] = 'item', ['image'] = 'cabbage.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Let-tuce? No!'}, + ['dirty_cabbage'] = {['name'] = 'dirty_cabbage', ['label'] = 'Dirty Cabbage', ['weight'] = 350, ['type'] = 'item', ['image'] = 'dirty_cabbage.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Let-tuce? No!'}, + ['orange'] = {['name'] = 'orange', ['label'] = 'Orange', ['weight'] = 350, ['type'] = 'item', ['image'] = 'orange.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'The talking orange!'}, + ['dirty_orange'] = {['name'] = 'dirty_orange', ['label'] = 'Dirty Orange', ['weight'] = 350, ['type'] = 'item', ['image'] = 'dirty_orange.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'The talking orange!'}, + ['trowel'] = {['name'] = 'trowel', ['label'] = 'Trowel', ['weight'] = 350, ['type'] = 'item', ['image'] = 'trowel.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Mini-shovel yes'}, + ['shovel'] = {['name'] = 'shovel', ['label'] = 'Shovel', ['weight'] = 350, ['type'] = 'item', ['image'] = 'shovel.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Legit shovel yes'}, +``` + +## For ox_inventory + +### ox_inventory\data\items.lua + +```lua + ['trowel'] = { + label = 'Trowel', + weight = 500, + decay = true, + stack = false, + close = false, + description = 'Diggy Diggy Diggy?', + }, + + ['shovel'] = { + label = 'Shovel', + weight = 1000, + decay = true, + stack = false, + close = false, + description = 'Diggy Diggy Diggy?', + }, + + ['dirty_potato'] = { + label = 'Dirty Potato', + weight = 250, + degrade = 7160, + decay = true, + stack = true, + close = false, + description = 'Potato potato but dirty dirty?', + }, + + ['potato'] = { + label = 'Potato', + weight = 250, + degrade = 7160, + decay = true, + stack = true, + close = false, + description = 'Potato potato?', + }, + + ['dirty_cabbage'] = { + label = 'Dirty Cabbage', + weight = 250, + degrade = 7160, + decay = true, + stack = true, + close = false, + description = 'Cabby cabby but dirty dirty?', + }, + + ['cabbage'] = { + label = 'Cabbage', + weight = 250, + degrade = 7160, + decay = true, + stack = true, + close = false, + description = 'Cabby cabby?', + }, + + ['dirty_tomato'] = { + label = 'Dirty Tomato', + weight = 250, + degrade = 7160, + decay = true, + stack = true, + close = false, + description = 'To-ma-to but dirty', + }, + + ['tomato'] = { + label = 'Tomato', + weight = 250, + degrade = 7160, + decay = true, + stack = true, + close = false, + description = 'To-ma-to', + }, + + ['dirty_orange'] = { + label = 'Dirty Orange', + weight = 250, + degrade = 7160, + decay = true, + stack = true, + close = false, + description = 'It talks!!!!', + }, + + ['orange'] = { + label = 'Orange', + weight = 250, + degrade = 7160, + decay = true, + stack = true, + close = false, + description = 'It talks!!!!', + }, + + ['dirty_coffee_beans'] = { + label = 'Dirty Coffee Beans', + weight = 250, + degrade = 7160, + decay = true, + stack = true, + close = false, + description = 'Ohh wakey wakey but dirty', + }, + + ['coffee_beans'] = { + label = 'Coffee Beans', + weight = 250, + degrade = 7160, + decay = true, + stack = true, + close = false, + description = 'Ohh wakey wakey but dirty', + }, +``` + +# Support & Suggestions + +Contact me at my discord @ybarra. or join my Discord Server!
![Discord Server](https://discordapp.com/api/guilds/1131198002976014377/widget.png?style=shield) diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/client/esx.lua b/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/client/esx.lua new file mode 100644 index 0000000..faed9a1 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/client/esx.lua @@ -0,0 +1,37 @@ +if GetResourceState("es_extended") ~= "started" then return end + +ESX = exports["es_extended"]:getSharedObject() + +PlayerData = {} +PlayerJob = {} +PlayerLoaded = false + +RegisterNetEvent('esx:playerLoaded', function(xPlayer) + JobInfo = xPlayer.job + UpdateJobInfo(JobInfo) + + PlayerLoaded = true +end) + +RegisterNetEvent('esx:onPlayerLogout', function() + table.wipe(PlayerData) + table.wipe(PlayerJob) +end) + +RegisterNetEvent('esx:setJob', function(JobInfo) + UpdateJobInfo(JobInfo) +end) + +AddEventHandler('onResourceStart', function(resourceName) + if GetCurrentResourceName() ~= resourceName then return end + + PlayerData = ESX.GetPlayerData() + UpdateJobInfo(PlayerData.job) + PlayerLoaded = ESX.PlayerLoaded +end) + +UpdateJobInfo = function(info) + PlayerJob.grade = {} + PlayerJob.name = info.name + PlayerJob.grade.level = info.grade +end diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/client/qb.lua b/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/client/qb.lua new file mode 100644 index 0000000..b796d64 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/client/qb.lua @@ -0,0 +1,52 @@ +if GetResourceState("qb-core") ~= "started" then return end + +QBCore = exports['qb-core']:GetCoreObject() + +PlayerData = {} +PlayerJob = {} +PlayerLoaded = false + +---@diagnostic disable-next-line: param-type-mismatch +AddStateBagChangeHandler('isLoggedIn', nil, function(_bagName, _key, value, _reserved, _replicated) + if value then + PlayerData = QBCore.Functions.GetPlayerData() + UpdateJobInfo(PlayerData.job) + else + table.wipe(PlayerData) + table.wipe(PlayerJob) + end + PlayerLoaded = value +end) + +RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function() + JobInfo = QBCore.Functions.GetPlayerData().job + UpdateJobInfo(JobInfo) +end) + +RegisterNetEvent('QBCore:Client:OnPlayerUnload', function() + table.wipe(PlayerData) + table.wipe(PlayerJob) +end) + +RegisterNetEvent('QBCore:Client:OnJobUpdate', function(JobInfo) + UpdateJobInfo(JobInfo) +end) + +RegisterNetEvent('QBCore:Player:SetPlayerData', function(newPlayerData) + local invokingResource = GetInvokingResource() + if invokingResource and invokingResource ~= 'qb-core' then return end + PlayerData = newPlayerData +end) + +AddEventHandler('onResourceStart', function(resourceName) + if GetCurrentResourceName() ~= resourceName or not LocalPlayer.state.isLoggedIn then return end + PlayerData = QBCore.Functions.GetPlayerData() + UpdateJobInfo(PlayerData.job) + PlayerLoaded = true +end) + +UpdateJobInfo = function(info) + PlayerJob.grade = {} + PlayerJob.name = info.name + PlayerJob.grade.level = info.grade.level +end diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/server/esx.lua b/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/server/esx.lua new file mode 100644 index 0000000..f25ea07 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/server/esx.lua @@ -0,0 +1,47 @@ +if GetResourceState("es_extended") ~= "started" then return end + +CreateThread(function() + Wait(200) + -- print("^5ESX found! Loading ESX functions^0") + if GetResourceState("ox_inventory") ~= "started" then + -- print("^1Can't find ox_inventory, start it before this script^0") + end +end) + +ESX = exports['es_extended']:getSharedObject() + +GetPlayer = function(target) + local Player = ESX.GetPlayerFromId(target) + + return Player +end + +AddMoney = function(target, type, amount, reason) + local Player = GetPlayer(target) + + if type == "cash" then + type = "money" + end + + return Player.addAccountMoney(type, amount) +end + +RemoveMoney = function(target, type, amount, reason) + local Player = GetPlayer(target) + + if type == "cash" then + type = "money" + end + + return Player.removeAccountMoney(type, amount) +end + +GetMoney = function(target, type) + local Player = GetPlayer(target) + + if type == "cash" then + type = "money" + end + + return Player.getAccount(type).money +end \ No newline at end of file diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/server/qb.lua b/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/server/qb.lua new file mode 100644 index 0000000..c42b7a9 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/kloud-farmjob/framework/server/qb.lua @@ -0,0 +1,26 @@ +if GetResourceState("qb-core") ~= "started" then return end +QBCore = exports['qb-core']:GetCoreObject() + +GetPlayer = function(target) + local Player = QBCore.Functions.GetPlayer(target) + + return Player +end + +AddMoney = function(target, type, amount, reason) + local Player = GetPlayer(target) + + return Player.Functions.AddMoney(type, amount, reason) +end + +RemoveMoney = function(target, type, amount, reason) + local Player = GetPlayer(target) + + return Player.Functions.RemoveMoney(type, amount, reason) +end + +GetMoney = function(target, type) + local Player = GetPlayer(target) + + return Player.PlayerData.money[type] +end \ No newline at end of file diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/fxmanifest.lua b/resources/[qb]/[qb_jobs]/kloud-farmjob/fxmanifest.lua new file mode 100644 index 0000000..2d24e57 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/kloud-farmjob/fxmanifest.lua @@ -0,0 +1,37 @@ +fx_version 'cerulean' +game 'gta5' + +lua54 'yes' + +author 'kloud' +description 'Advanced Farming Job Made for QB/Qbox/ESX by Kloud' +version '1.0.0' + +shared_scripts { + '@ox_lib/init.lua', + 'shared/*.lua' +} + +client_scripts { + 'target/*.lua', + 'modules/**/*.lua', + 'inventory/client/*.lua', + 'framework/client/*.lua', + 'init.lua', +} + +server_scripts { + '@oxmysql/lib/MySQL.lua', + 'inventory/server/*.lua', + 'framework/server/*.lua', + 'server.lua', +} + +files { + 'locales/*.json' +} + +dependencies { + 'oxmysql', + 'ox_lib' +} diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/init.lua b/resources/[qb]/[qb_jobs]/kloud-farmjob/init.lua new file mode 100644 index 0000000..55e8e57 --- /dev/null +++ b/resources/[qb]/[qb_jobs]/kloud-farmjob/init.lua @@ -0,0 +1,221 @@ +_T = { + Zone = {}, + Props = {}, + Blip = {}, + PickedTrees = {}, + Peds = {}, +} + +_G = { + InZone = false, + IsBusy = false, + CurrentZone = nil, + Cooldown = false +} + +Start = function() + for zone, info in pairs(KloudDev.Locations) do + _T.Zone[zone] = lib.zones.sphere({ + coords = info.coords, + radius = info.zoneRadius, + debug = KloudDev.Debug, + onEnter = function() + if info.job and PlayerJob.name ~= info.job then return end + _G.InZone = true + _G.CurrentZone = zone + SpawnProps(zone) + end, + onExit = function() + _G.InZone = false + _G.CurrentZone = nil + ClearProps() + end + }) + end + for zone, info in pairs(KloudDev.Trees) do + if info.zoneType == "sphere" then + _T.Zone[zone] = lib.zones.sphere({ + coords = info.coords, + radius = info.zoneRadius, + debug = KloudDev.Debug, + onEnter = function() + if info.job and PlayerJob.name ~= info.job then return end + _G.InZone = true + _G.CurrentZone = zone + end, + onExit = function() + _G.InZone = false + _G.CurrentZone = nil + end + }) + elseif info.zoneType == "poly" then + lib.zones.poly({ + points = info.zonePoints, + thickness = 25, + debug = KloudDev.Debug, + onEnter = function() + if info.job and PlayerJob.name ~= info.job then return end + _G.InZone = true + _G.CurrentZone = zone + end, + onExit = function() + _G.InZone = false + _G.CurrentZone = nil + end + }) + end + end + CreateBlips() + CreateTargets() + CreatePeds() +end + +CreateBlips = function() + for zone, info in pairs(KloudDev.Locations) do + if info.blip.enabled then + _T.Blip[zone] = AddBlipForCoord(info.coords.x, info.coords.y, info.coords.z) + SetBlipSprite(_T.Blip[zone], info.blip.sprite) + SetBlipDisplay(_T.Blip[zone], 4) + SetBlipScale(_T.Blip[zone], info.blip.scale) + SetBlipColour(_T.Blip[zone], info.blip.colour) + SetBlipAsShortRange(_T.Blip[zone], true) + BeginTextCommandSetBlipName("STRING") + AddTextComponentString(info.blip.label) + EndTextCommandSetBlipName(_T.Blip[zone]) + end + end + for zone, info in pairs(KloudDev.Trees) do + if info.blip.enabled then + _T.Blip[zone] = AddBlipForCoord(info.coords.x, info.coords.y, info.coords.z) + SetBlipSprite(_T.Blip[zone], info.blip.sprite) + SetBlipDisplay(_T.Blip[zone], 4) + SetBlipScale(_T.Blip[zone], info.blip.scale) + SetBlipColour(_T.Blip[zone], info.blip.colour) + SetBlipAsShortRange(_T.Blip[zone], true) + BeginTextCommandSetBlipName("STRING") + AddTextComponentString(info.blip.label) + EndTextCommandSetBlipName(_T.Blip[zone]) + end + end + for zone, info in pairs(KloudDev.Shops) do + if info.blip.enabled then + for _, coords in pairs(info.coords) do + _T.Blip[zone] = AddBlipForCoord(coords.x, coords.y, coords.z) + SetBlipSprite(_T.Blip[zone], info.blip.sprite) + SetBlipDisplay(_T.Blip[zone], 4) + SetBlipScale(_T.Blip[zone], info.blip.scale) + SetBlipColour(_T.Blip[zone], info.blip.colour) + SetBlipAsShortRange(_T.Blip[zone], true) + BeginTextCommandSetBlipName("STRING") + AddTextComponentString(info.blip.label) + EndTextCommandSetBlipName(_T.Blip[zone]) + end + end + end + if KloudDev.WashLocations.blip.enabled then + for k, coords in pairs(KloudDev.WashLocations.coords) do + _T.Blip["Wash"..k] = AddBlipForCoord(coords.x, coords.y, coords.z) + SetBlipSprite(_T.Blip["Wash"..k], KloudDev.WashLocations.blip.sprite) + SetBlipDisplay(_T.Blip["Wash"..k], 4) + SetBlipScale(_T.Blip["Wash"..k], KloudDev.WashLocations.blip.scale) + SetBlipColour(_T.Blip["Wash"..k], KloudDev.WashLocations.blip.colour) + SetBlipAsShortRange(_T.Blip["Wash"..k], true) + BeginTextCommandSetBlipName("STRING") + AddTextComponentString(KloudDev.WashLocations.blip.label) + EndTextCommandSetBlipName(_T.Blip["Wash"..k]) + end + end +end + +CreateTargets = function() + for zone, info in pairs(KloudDev.Trees) do + if info.job and PlayerJob.name ~= info.job then return end + AddTargetModel(info.prop, { + { + event = 'kloud-farm:client:pickTree', + label = info.target.label, + name = "PickTrees", + icon = info.target.icon, + currentZone = zone, + canInteract = function(entity) + if not _G.IsBusy and _G.InZone and CanPick(entity) and _G.CurrentZone == zone then return true end + return false + end, + distance = 2, + } + }) + end + + for _, coords in pairs(KloudDev.WashLocations.coords) do + lib.zones.sphere({ + coords = coords, + radius = 4.5, + debug = KloudDev.Debug, + onEnter = function() + DrawText(locale("press_wash_crops", "[E]")) + end, + onExit = function() + HideText() + end, + inside = function () + if not _G.IsBusy and IsControlJustPressed(0, 38) then + TriggerEvent("kloud-farm:client:wash") + end + + if _G.IsBusy then + HideText() + end + end + }) + end +end + +CreatePeds = function() + while not PlayerLoaded do Wait(100) end + for k, v in pairs(KloudDev.Shops) do + for _, coords in pairs(v.coords) do + if k == "sell" then + local model = v.pedModels[math.random(1, #v.pedModels)] + lib.requestModel(model, 10000) + _T.Peds[k] = CreatePed(5, joaat(model), coords.x, coords.y, coords.z, coords.w, false, false) + FreezeEntityPosition(_T.Peds[k], true) + SetBlockingOfNonTemporaryEvents(_T.Peds[k], true) + SetEntityInvincible(_T.Peds[k], true) + + AddEntityTarget(_T.Peds[k], { + { + event = 'kloud-farm:client:openSell', + label = locale('open_sell'), + name = "kloud-farm:openSell", + icon = "fas fa-basket-shopping", + distance = 2.5, + }, + }) + SetModelAsNoLongerNeeded(model) + end + + + if k == "shop" then + local model = v.pedModels[math.random(1, #v.pedModels)] + lib.requestModel(model, 10000) + _T.Peds[k] = CreatePed(5, joaat(model), coords.x, coords.y, coords.z, coords.w, false, false) + FreezeEntityPosition(_T.Peds[k], true) + SetBlockingOfNonTemporaryEvents(_T.Peds[k], true) + SetEntityInvincible(_T.Peds[k], true) + + AddEntityTarget(_T.Peds[k], { + { + event = 'kloud-farm:client:openShop', + label = locale('open_shop'), + name = "kloud-farm:openShop", + icon = "fas fa-basket-shopping", + distance = 2.5, + }, + }) + SetModelAsNoLongerNeeded(model) + end + end + end +end + +CreateThread(Start) \ No newline at end of file diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/cabbage.png b/resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/cabbage.png new file mode 100644 index 0000000000000000000000000000000000000000..8d1145e4a79475b098f144f4b2c584937b95e982 GIT binary patch literal 10088 zcmb_?2UJsC+Ad9+2mwM9kR*T-C6G{rfV9v;htR7A5_(POQbg$>MIuc;Iw(a@K&pTU zNbd?t6A?v}q9DE9__dk2Yi91h?!C!6IVbx(@ALM(lbysF>T8~3JkLl$L2*tCt%f0= zala0FTJo#+;(ZhHiNPCfNu;1S%l_-2q{zz`TIlJ@Ie2-9VR2sec(Fha zZ!(&K;+j&RH`c)o?+dcWJGpo&KsH+1As`o=0>oTe53c8}ig$KF2NUqd!TKf+!EO#n z97IVGbS+ShOyGg{#exDo+&zhMfeMh{dF9C0zlOyjpx+_BZVC{UUkX7MdWIlXF9IHf z6hpuq;BW*;1}TP>#YxFXONxRd;1ZJJa7l3qNf=yKPWq~xqzvfK2ZXGSfOC|?sA>GE zjQmak;_U0|EhjD>5D*|1ASvcWa1uu#kw|g4gt&wRjEsO0gFJn)fiO>^;9m@Cc%lQr z#oO1#%M+S62>qT_-`VZ89-~JZ`C zKLhe_(L|FVZ@f4LPxSI5IN;U&$z}@v^2S?Em4L_kdJ#;#yxjlFl;K|{gCwNHWI!Un zas!t^$clN0Nk~XZgRqYF(vEORC zQgR676>?_b@IRn>UN{%WpnnHNAmkA6e}R(A35WH?{vW|O2RTPCf(Moy3l|Tp6JFfg z(+L9lJHm3RUhZB5vSPAzlD}J_rzfZ7N%X~fI^ea`6d>eqh`G4n$3L{n%Hr&?IB98^ zl#GNdOj=UP5oV9H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4e4C_Uw@l!Tt(aPn-GJZ8tDqU-^q+YPha{I1&_LH6fwy?Bl+eRB3Wc_ZLV z=@a+r>eKyq<0mX{R@}k^+`aaLSKO$DF6ochEiQaX$-yXoKWT5Cu2h=2dpstkr~45$ z##E~T)u0sdpDwWj8j7(RBI*EuK4d1+{BZ~fwRIuOODP2tr|5>U{r zSA2T^d*AlK%JmBmPaMFqIbKGk*e1Cf+=7@lOvjwd3SsBtprd{Y9|P|svx8SPs*v)< z@$@`TXwwsrQ3@bI?oQ>z-0{oW3aasJO3qbziYj<@(~9y<`(vtN>zXR+e$1bv~z6^7Al{5dwK8ChlTs*;m*>#?WZed zEr&lVC#q-Gvg}^0^cS9d`xLT2)d!O}m#C^qIb@ZQ};GbPVZ4H0QWUbVvsVLH=U(3**2sxc_GC2MEVUq^D zJ{79mzAghF5N8zaFfUy0j&cb#k{-HlIh=gjU+-lQU2s^1bq?2Sp9^_7wt3F&^&J<& zWY4YF(b_zu*KaZR@Gn{zjPHwA%I_<93??7=AFd?yjGVT?oE~ROUw`m&k&8DaT;LHo z2eCTV=1MlwpI8JQGshwL6+(}`-!H5Y=v$&&+gX1!H!tc$oS8JOmDY&T)$fph_$+ku z%Llr=WJSBFC>2luo%}{w*NMy6uFfGZbmRZ(_wRO*pQqF}ECPpX%s2tR{tKt2uCG>w Ix^eq|0c^v*hyVZp literal 0 HcmV?d00001 diff --git a/resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/coffee_beans.png b/resources/[qb]/[qb_jobs]/kloud-farmjob/install/images/coffee_beans.png new file mode 100644 index 0000000000000000000000000000000000000000..20c1a6403a26dec9ccb475b4143b8785026377c6 GIT binary patch literal 8997 zcmb_?2UHX5+O8r^KtWLm0uqY!Ku7|FC?HjO4NZ!KByBTrbZPoWw|k#`?%L5h@0zSc>gn7#LwAYp#EBDU)YX&? z$a~Dsjh34H?K+);B=1hUs+kc^oSYHds3coGj0JT@w$`0VB&}BB>45c2&aKJE-}(V-0~d=K=nL5S?Us6n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