#[Standalone][Free] Camping script

32 messages · Page 1 of 1 (latest)

ionic brook
#

Just finish some Raycast marker for spawn object test didn't have time to find bug

Requirements

  • ox_lib
  • ox_target
  • ox_inventory

Feature
TENT

  • Sleep in tent: it will set your animation to sleep inside the tent for 1 minute
  • Open Tent Storage: will open Tent Stash with 10 slots and 10 kg. weight
    **WARNING
    If your have item in tent and then you pickup tent all the item inside tent storage will be delete
  • Pickup Tent: delete your tent and add item back to your inventory

CAMPFIRE

  • Use Campfire: Open Context menu with 2 option
  • Fuel Level: cap at 300 sec (5 minute) use for cooking
  • Add Fuel: will open submenu to select what you want to add
    • Paper = 15 sec
    • Wood = 30 sec
    • Coal = 60 sec
  • Cooking: will open submenu to select what recipe you want to cook
    • Grill Meat = Cook time: 60 seconds. Recipe: Meat x1
    • Meat Soup = Cook time: 120 seconds. Recipe: Meat x1, Water x1, Bowl x1
    • Grill Potato = Cook time: 30 seconds. Recipe: Potato x1

Download:
https://github.com/DevAlexandre0/Camping/

GitHub

working tent and campfire. Contribute to DevAlexandre0/Camping development by creating an account on GitHub.

#

[Standalone][Free] Camping script

copper creek
#

Very good, one question is that things save when the server restarts?

ionic brook
ionic brook
#

Thank @copper creek for suggestion

copper creek
#

I have a question and something I would like to be fixed.

Suggestion: I think it would be more interesting instead if there was a progressbar, people could enter and leave as they wanted and somehow there was a way for the police or even players in general to check if there was a player inside.

Fix: camfire fire always under the ground for me anywhere on the map.

Thank you for your work and good luck with your projects

ionic brook
#

To check player inside the tent if i add some 3d text above the tent or change the sleep option to just text say "someone is using" what you think

And campfire i will be fix it tomorrow

copper creek
#

I was thinking about something like having an option in the target to check the player and receive a notification like "there is someone inside the tent" "there is no one inside the tent"

ionic brook
ionic brook
copper creek
#

Thanks

copper creek
#

One thing, I can't use the target at the campfire, I don't see any options

ionic brook
#

you can try set distance in function AddCampfireModel

copper creek
#

dont work pepethink

#

and i cant see the showTextUI

ionic brook
#

Ok will fix it

ionic brook
#

Fixed

ionic brook
#

Update
Add Flags To TextUI
Add Some Security
Add anim for cooking

ionic brook
#

Update 1.3
Thank Geerdodagr8 for help me make this resource optimize

Change Raycast place object function to Renewed-Lib place object function
Add Heatzone use with esx_status and weathersync script
Add function to handle negative effect from cold Temperature

https://github.com/DevAlexandre0/Camping/releases/tag/V1.3_Release

GitHub

Change Raycast place object function to Renewed-Lib place object function
Add Heatzone use with esx_status and weathersync script
Add function to handle negative effect from cold Temperature

orchid sail
#

you forget the items needed for ox_inventory

ionic brook
true oar
#

qbcore?

ionic brook
#

Standalone with ox_inventory

#

Next update i will make it can use with esx and qb inventory