[PROPS] Fast food (50x prop + 2x animation)

Hello,
these are my new fast food props.
(Why, when they’re in the game? Because a lot of people asked me to :sweat_smile:)
You can use the props as food or decorate your MLO with them.
Some props need to be eaten with two hands, just like restaurant food. But a lot of you made it, so I don’t think it’ll be a problem either :sweat_smile:
Therefore, please consider the purchase properly.

Animations are included in the package.
The logo on the boxes can be easily changed in OpenIV.
Coordinates for animations and images for inventory are included in the package.
If you use bzzz_usableitems, the code is ready to copy and paste.
Code for ox_inventory - here
Code for qb-smallresources - here


List of props (50x props):

  • cheeseburger and big burger (+ in the box)
  • 7x empty box
  • props for making the burger (bun, meat, cheese, salad)
  • fried chicken (legs, bites, strips, nuggets) + in the box
  • Chinese noodles + Chinese chopsticks
  • vegetarian salad + plastic fork
  • 2x drinks (small and big)
  • fries (1 piece, small, medium and bucket)
  • 2x ice cream
  • ketchup and mayonnaise
  • 4x menu box
  • fried onion rings + 1 piece
  • 3x tray

Preview:

Image

Animations

Animations

Files

Images for inventory

More pictures of the package are on tebex.


Thanks for your time and have a nice weekend :blush:

PURCHASE: https://bzzz.tebex.io/package/5811456 (± 10€)

Code is accessible Yes
Subscription-based No
File size 1 - 90kB (+ 270kB textures)
Requirements Some script and knowledge of programming language (to run the animation properly). If you want to use props as decoration, you’ll need a map builder.
Support Yes
7 Likes

Great value and neat work!

1 Like

its a need for an rp server! great release

1 Like

2x animation code for esx_basicneeds
client.lua

RegisterNetEvent('esx_basicneeds:onEatChickenLeg')
AddEventHandler('esx_basicneeds:onEatChickenLeg', function(prop_name)
	if not IsAnimated then
		prop_name = prop_name or 'bzzz_prop_fastfood_chicken_d'
		prop_nameb = prop_nameb or 'bzzz_prop_fastfood_chicken_a'
		IsAnimated = true

		Citizen.CreateThread(function()
			local playerPed = PlayerPedId()
			local x,y,z = table.unpack(GetEntityCoords(playerPed))
			local prop = CreateObject(GetHashKey(prop_name), x, y, z + 0.2, true, true, true)
			local propb = CreateObject(GetHashKey(prop_nameb), x, y, z + 0.2, true, true, true)
			local boneIndex = GetPedBoneIndex(playerPed, 18905)
			local boneIndexb = GetPedBoneIndex(playerPed, 57005)
			AttachEntityToEntity(prop, playerPed, boneIndex, 0.1, 0.01, 0.04, 20.0, 10.0, 186.0, true, true, false, true, 1, true)
			AttachEntityToEntity(propb, playerPed, boneIndexb, 0.14, 0.06, -0.04, 303.0, 131.0, 186.0, true, true, false, true, 1, true)

			ESX.Streaming.RequestAnimDict('bzzz_fastfood_anim2', function()
				TaskPlayAnim(playerPed, 'bzzz_fastfood_anim2', 'anim2', 8.0, -8, -1, 49, 0, 0, 0)

				Citizen.Wait(3000)
				IsAnimated = false
				ClearPedSecondaryTask(playerPed)
				DeleteObject(prop)
				DeleteObject(propb)
			end)
		end)
	end
end)

Server.lua

ESX.RegisterUsableItem('garlic_parm_wings', function(source)
	local xPlayer = ESX.GetPlayerFromId(source)

	xPlayer.removeInventoryItem('garlic_parm_wings', 1)

	TriggerClientEvent('esx_status:add', source, 'hunger', 400000)
	TriggerClientEvent('esx_basicneeds:onEatChickenLeg', source)
end)