Perfabs-Lumberjack | Interactive job

image

Perfabs Lumberjack | Your complete and interactive job

Buy $14.99

old video

Features

  • Spawn trees where you want
  • Create your own zones with their trees
  • So interactive
  • Entities server-side working with One-Sync Infinity
  • Optimized
  • Synced animations
  • Effects

So why must you buy this script?

There are plenty of reasons why you should buy it.
First of all, this script is unique and has features that have never been publicly seen before, such as spawning server side entities, so we will have an excellent synchronization. However, not everything is technical, I assure you that this script will provide a fun activity to your users due to how interactive it is.

Configuration

Config = {}
Config.RespawnTime = 60  -- in seconds, respawn time for trees

Config.Runtime = {
	Framework = 'ESX', -- or QBUS
  Framework_Rename = 'core'  -- or qb-core : If you rename the framework change it (used for exports[Framework_Rename])
}

Config.Props = {
	Axe = 'prop_tool_fireaxe',
	Plank = 'prop_fncwood_16e'
}

Config.Zones = {
	{
		Global = {
			Label = "Mount",
			Position = vector3(2470.1750, 5133.6797, 48.7658),
			Delivery_Position = vector3(2450.0735, 5159.4341, 52.5264),
			Money = {
				Account = 'money',
				Ammount = 100
			},
			Blip = {
				Name = "Lumberjack",
				Position = vector3(2470.1750, 5133.6797, 48.7658),
				Sprite = 253,
				Scale = 0.8,
				Colour = 21,
			}
		},
		Trees = {
			{
				Model = 'test_tree_cedar_trunk_001',
				Position =  vector3(2466.4170, 5147.6914, 52.0055)
			},
			{
				Model = 'test_tree_cedar_trunk_001',
				Position = vector3(2465.9265, 5156.2490, 54.3985),
			},
			{
				Model = 'test_tree_cedar_trunk_001',
				Position = vector3(2460.0383, 5156.0742, 53.2739),
			},
			{
				Model = 'test_tree_cedar_trunk_001',
				Position = vector3(2462.3210, 5159.5601, 54.6637),
			},
			{
				Model = 'test_tree_cedar_trunk_001',
				Position = vector3(2455.5286, 5162.7646, 54.2032),
			},
			{
				Model = 'test_tree_cedar_trunk_001',
				Position = vector3(2456.9619, 5167.1387, 55.5093),
			},
			{
				Model = 'test_tree_cedar_trunk_001',
				Position = vector3(2452.0879, 5168.2896, 54.8687),
			},
			{
				Model = 'test_tree_cedar_trunk_001',
				Position = vector3(2454.0354, 5172.0347, 56.0955),
			},
			{
				Model = 'test_tree_cedar_trunk_001',
				Position = vector3(2462.9414, 5168.9663, 57.1396),
			},
			{
				Model = 'test_tree_cedar_trunk_001',
				Position = vector3(2470.6599, 5162.0972, 57.1412),
			},
			{
				Model = 'test_tree_cedar_trunk_001',
				Position = vector3(2471.3171, 5151.8862, 54.0492)
			}
		}
	}
}

Config.Labels = {
	['PRESS_E_TO_WORK'] = '~y~[E]~s~ Start working',
	['PRESS_E_TO_CUT'] = '~y~[E]~s~ Start cutting the tree',
	['PRESS_E_TO_HIT'] = '~y~[E]~s~ Hit',
	['PRESS_E_TO_GET_PLANK'] = '~y~[E]~s~ Get the plank',
	['PRESS_E_TO_LEAVE_PLANK'] = '~y~[E]~s~ Leave plank',
	['REMAINING'] = 'remaining',
	['YOU_ARE_WORKING_HERE'] = 'Status: ~g~Working~s~ | ~y~[E]~s~ to cancel the job',
	['YOU_ARE_WORKING_BUT_NOT_HERE'] = 'Status: ~g~Working on another zone~s~ | ~y~[E]~s~ to cancel the job',
	['ZONE_TO_LEAVE_PLANKS'] = 'Place to leave planks',
	['GO_TO_GET_A_PLANK'] = 'Go to get a plank',

	['BLIPNAME_PLANKS'] = 'Planks',
	['BLIPNAME_DELIVERY'] = 'Delivery',

	['NOTIFY_YOU_ARE_WOKRING'] = 'You have started to work, go to some tree',
	['NOTIFY_YOU_STOP_WORK'] = 'You have stopped work',
	['NOTIFY_YOU_FINISH_WORK'] = 'You have finished the course successfully, now go to other tree',
	['NOTIFY_PICKUP_A_PLANK'] = 'You have finished hitting, now pickup the planks',
	['NOTIFY_GO_TO_LEAVE_PLANK'] = 'Go to leave planks',

	['YOU_HAVE_PAID'] = 'You have paid $',

}

Config.Outfits = {
	['Male'] = {
		{
			componentId = 11,
			drawable = 41,
			texture = 0,
		},
		{
		componentId = 3,
		drawable = 1,
		texture = 0
		},
		{
			componentId = 4,
			drawable = 0,
			texture = 1,
		},
		{
			componentId = 6,
			drawable = 12,
			texture = 0,
		},
		{
			componentId = 8,
			drawable = 15,
			texture = 0,
		},
	},
	['Female'] = {
		{
			componentId = 11,
			drawable = 9,
			texture = 7,
		},
		{
		componentId = 3,
		drawable = 0,
		texture = 0
		},
		{
			componentId = 4,
			drawable = 1,
			texture = 6,
		},
		{
			componentId = 6,
			drawable = 52,
			texture = 3,
		},
		{
			componentId = 8,
			drawable = 15,
			texture = 0,
		},
	}
}

Config.Animations = {
	Hit = {
		Dict = 'melee@large_wpn@streamed_core',
		Anim = 'ground_attack_-90'
	},
	Pickup = {
		Dict = 'veh@aligns@bike@ds',
		Anim = 'pickup'
	},
	Carry = {
		Dict = 'anim@heists@box_carry@',
		Anim = 'idle'
	}
}

Config.Blips = {
	PLANKS = {
		SPRITE = 11,
		COLOR = 10,
		SCALE = 0.8
	},
	DELIVERY = {
		SPRITE = 467,
		COLOR = 2,
		SCALE = 0.9
	}
}


Requirements

OneSync Infinity (used for spawn entities server-side)
QBUS or ESX (used for money and events) (if you have a custom framework, create a ticket in our discord, we can help you)

Information

Code is accessible Partial
Subscription-based No
Lines (approximately) 350
Requirements View above
Support Yes

Last update (1.2v - 11/8/2022)

  • now you can change planks quantity to spawn
  • add custom prop
  • change framework rename
  • weak fixes to lerp function
  • now planks fall from above

Our resources

This is the first of many that we have in mind, give us your feedback
Shop

Buy $14.99

Preview

5 Likes

:sunglasses: :ok_hand: :heart_eyes: :+1:

2 Likes

[Prices changes]

Only for today, 5% off discount: Final price $14.99

Enjoy the offer

1 Like

nice work dude!

2 Likes

[update]

Changes:
* the trees fell off the map
* detect if the tree is in front
* detect entity in front and taskTurnPedToFacetoobject
* detect if the tree is in front
* now planks fall from above

Preview:

1 Like

Nice release man!

3 Likes

[update] (1.2)

We have fixed a couple of bugs with the framework and other minor ones. But the best thing is that we have added a new prop addon for all users, a realistic trunk to be used.

Changes:
* now you can change planks quantity to spawn
* add custom prop
* change framework rename
* weak fixes to lerp function
* now planks fall from above

Preview:

2 Likes

[Prices changes]

The price will be set at $14.99.

1 Like

[update] (1.3)

Changes:

  • check if is a player nearby to spawn again (onesync)
  • add new dependecy ( fivem artifacts to 5562 )
  • now giveMoney function is public so you can modify it
1 Like