CLICK > [ESX & QB-Core Compatibility] 8€ + TAX
FEATURES:
- For each selection button, you can set a TriggerClientEvent or TriggerServerEvent with args in table or single.
- You can set the animation that ped performs.
- Futuristic UI.
- Simple working.
CONFIG:
Config = {}
Config.Core = "ESX" -- "ESX" or "QB-Core"
Config.KeyOpen = 38
Config.HideMinimap = true
Config.AutoCamPosition = true
Config.AutoCamRotation = true
Config.SwitchCamTime = 1000
Config.TextUI = {
Enabled = true,
Open = function(text)
exports["interact"]:Open("E", text)
end,
Close = function()
exports["interact"]:Close()
end,
}
Config.Peds = {
{
pedModel = "u_m_m_bankman",
pedPosition = vec(149.28, -1042.12, 28.36),
pedHeading = 337.95248413086,
animation = { -- If you don't want this ped to have animation running turn it off --[[]].
dictionary = "anim@mp_player_intselfiethumbs_up",
name = "idle_a"
},
title = "Banker",
name = "Josh",
dialog = "Hello, how can i help you?",
textUI = "To talk with Josh", -- you can use for TextUI Enabled = false, "Press ~INPUT_CONTEXT~ to talk with Josh"
closeText = "Bye.", -- bottom close button text
camOffset = vector3(0.0, 0.0, 0.0),
camRotation = vector3(0.0, 0.0, 0.0),
distance = 2.0,
options = { -- at most you can use 6 buttons
{
Label = "I want to see my bank account.",
TriggerClient = "vms_bank:openBank", -- TriggerClientEvent()
TriggerArgs = {"bank", "business"} -- Trigger args for like in table {}
},
{
Label = "I want to see my bank account.",
TriggerServer = "vms_bank:openBank", -- TriggerServerEvent()
TriggerArgs = "bank", -- Trigger arg for like in sigle ""
},
{
Label = "I want to see my bank account.",
TriggerClient = "vms_bank:openBank",
--TriggerArgs = "",
},
{
Label = "I want to see my bank account.",
TriggerServer = "vms_bank:openBank",
--TriggerArgs = "",
},
{
Label = "",
TriggerClient = "",
},
{
Label = "",
TriggerServer = "",
}
},
},
}
|
|
Code is accessible |
No |
Subscription-based |
No |
Lines (approximately) |
+150 |
Requirements |
ESX / QB-Core |
Support |
Yes! |
You can check my others scripts 
vms_bank
vms_pausemenu
vms_skydiving
vms_races
vms_drivingschool
vms_boatschool
vms_flyingschool
vms_notify
vms_shops
vms_redeem
vms_garage
vms_jobcenter
vms_subway