Site PEDS: wiki.rage.mp/i...
SHOPS/SERVER.LUA:
["colheitaSelling"] = {
["mode"] = "Sell",
["type"] = "Consume",
["item"] = "dollars",
["list"] = {
["orange"] = 25,
["strawberry"] = 26,
["grape"] = 21,
["tange"] = 22,
["banana"] = 24,
["passion"] = 20,
["tomato"] = 23
}
},
SHOPS/CLIENT.LUA
-----------------------------------------------------------------------------------------------------------------------------------------
-- SHOPS:colheitaSelling
-----------------------------------------------------------------------------------------------------------------------------------------
AddEventHandler("shops:colheitaSelling",function()
SendNUIMessage({ action = "showNUI", name = tostring("colheitaSelling"), type = vSERVER.getShopType("colheitaSelling") })
SetNuiFocus(true,true)
end)
TARGET/CLIENT.LUA
AddTargetModel({ 2114544056 },{ -- venda colheita
options = {
{
event = "shops:colheitaSelling",
label = "Abrir",
tunnel = "client"
}
},
distance = 1.50
})
CREATIVE/PEDS.LUA
{ -- Venda colheita
distance = 30,
coords = { 1790.26,4590.32,37.69,190.64 },
model = { 0x7E0961B8,"a_m_y_beachvesp_01" },
anim = { "anim@heists@heist_corona@single_team","single_team_loop_boss" }
},
8 окт 2024