This page will give you a brief overlook on how to install this resource
Important things to install! Follow the steps carefully and you shouldn't have a problem.
Make sure to follow all steps, step by step, if you encounter errors please recheck that you've completed step 1-10 correctly.
Step 1
Insert VT-uWu into your server
Remember to Ensure VT-uWu in your server.cfg
Step 2
Run the resource before all resources in server.cfg
# These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents
# QBCore & Extra stuff
ensure qb-core
ensure vt-uwu
Step 3
Add the following to your qb-core/shared/items.lua
Something very important, these are items for the latest version of QBCore namely version '1.2.6' or greater.
Now go to your inventory and paste all the images from the images folder located in the vt-uwu resource and move them to your qb-inventory/html/images folder
Add the following to your ox_inventory/data/items.lua
Now go to your inventory and paste all the images from the images folder located in the vt-uwu resource and move them to your ox_inventory/web/images folder
Step 4
Add items to qb-core/shared/jobs.lua
Step 5
Consumables
Follow all steps very carefully on Step 5
Client
Find the file qb-smallresources/client/consumables.lua
Paste the following code into it.
The order in which you put it doesn't really matter. It can be after yours which you have already made or after all which are default
Server
Find the file qb-smallresources/server/consumables.lua
Paste the following code into it.
The order in which you put it doesn't really matter. It can be after yours which you have already made or after all which are default
Config Consumables Eat and Drink
Find the file qb-smallresources/config.lua
Find the following!
Step 6
Integration of emoltemenu
RP Emotes
Find the file rpemotes/client/AnimationList.lua
Add to AnimationList.lua
Step 7
Boss Menu
Find the file qb-management/client/cl_config.lua
Add to cl_config.lua
Step 8
UI Menu
Add Items Menu
Find the file vt-uwu/html/index..html
Add to index..html
An example
For a whole new category on a new line.e
Step 9
Doorlocks
Find the folder qb-doorlock/configs
Create a new lua file named uWu.lua
Πpen the uWu.lua file you just created
Enter the code below
Step 10 ( This is for information only )
Config file
To make any config changes for the script
This is not a configuration file. You should not put or replace it anywhere. This is just an explanation of how it works and what to look for when changing!
Done.Have fun wisely and if you buy the resource don't share it or try to resell it. The resource has reserved licensed rights π
--VT uWu Cafe--
QBCore.Functions.CreateUseableItem("uwububbleteablueberry", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:greentea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwububbletearose", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:greentea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwububbleteamint", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:greentea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwupancake", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:EatPancakes", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwucupcake", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:kittydoughnut", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwuvanillasandy", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:uwuvanillasandy", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwuchocsandy", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:uwuvanillasandy", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwubudhabowl", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:uwubudhabowl", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwusushi", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:EatPancakes", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwumisosoup", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:uwumisosoup", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("strawberryuwutea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:strawberrylemonade", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("strawberrylemonade", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:strawberrylemonade", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("peachicedtea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:peachicedtea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("matchauwutea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:lemonnlimeicedtea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("lemonnlimeicedtea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:lemonnlimeicedtea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("classicuwutea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:chocouwutea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("chocouwutea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:chocouwutea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("blueberryuwutea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:chocouwutea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("icedcoffee", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:icedcoffee", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwucoffee", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:icedcoffee", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("greentea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:greentea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("blacktea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:greentea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("kittybentobox", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:kittybentobox", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("kittydoughnut", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:kittydoughnut", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("kittybrownie", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:kittybrownie", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("kittycupcake", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:kittybrownie", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("kittycrisps", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:uwuvanillasandy", source, item.name)
end
end)
--VT uWu Cafe--
QBCore.Functions.CreateUseableItem("uwububbleteablueberry", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:greentea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwububbletearose", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:greentea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwububbleteamint", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:greentea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwupancake", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:EatPancakes", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwucupcake", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:kittydoughnut", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwuvanillasandy", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:uwuvanillasandy", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwuchocsandy", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:uwuvanillasandy", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwubudhabowl", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:uwubudhabowl", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwusushi", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:EatPancakes", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwumisosoup", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:uwumisosoup", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("strawberryuwutea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:strawberrylemonade", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("strawberrylemonade", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:strawberrylemonade", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("peachicedtea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:peachicedtea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("matchauwutea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:lemonnlimeicedtea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("lemonnlimeicedtea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:lemonnlimeicedtea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("classicuwutea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:chocouwutea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("chocouwutea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:chocouwutea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("blueberryuwutea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:chocouwutea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("icedcoffee", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:icedcoffee", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("uwucoffee", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:icedcoffee", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("greentea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:greentea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("blacktea", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:greentea", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("kittybentobox", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:kittybentobox", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("kittydoughnut", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:kittydoughnut", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("kittybrownie", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:kittybrownie", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("kittycupcake", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:kittybrownie", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("kittycrisps", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:uwuvanillasandy", source, item.name)
end
end)
--Core
#Core settings / by default set to QBCore latest version!
--Image in header
#All Menu images
--Key Butttons
#getup
-- This is the get up button. By default the button is made to 'E'
--Sistem settings
#Setting target/menu/input/inventory
--Garage
#All garage settings like Peds, coords and stuff.
#Added some more delivery commands
--Cats
#Coordinates of all cats
--Chairs
#Coordinates of all seating areas.
--Freezer Shop
#Store and Freezer Items
--Empycup Shop
#The cup shop
--Product Coffee Shop
#The shop for the coffee machine
--Translation
#The complete translation of the script