Pole Dancing
Last updated
Last updated
All In One: This script supports ESX, QBCore & Standalone, with a single purchase.
This script will add the ability to pole dance in 3 different styles, at Vanillia Unicorn with simple commands. When standing close to a pole at Vanilla Unicorn strip club, using the commands will make the player grab the pole and begin their dance. You can customize the commands in the config.lua file. Supported MLOs are the default VU, as well as the commonly used MLO by Gabz. Adjust Config.UseGabz for this.
The script will automatically detect use of qb-core and es_extended, so you don't need to do anything to set your framework. Commands will be generated using QBCore or ESX functions, if found, otherwise it will work as standalone. Only if you have customized the names of these frameworks, will you need to change their setting in the config file. You are also able to add more coordinates for poles, so you can enable these fancy pole dance animations at other poles around your city!
Upload the script to your server's "resources" folder (or any [sub_directory])
Configure settings to your needs in config.lua
and display text in locales/en.lua
Ensure the script is starting in your server.cfg
Use any of the 3 commands when close to a pole on stage at VU.
By default the commands, which can be changed in config.lua
, are;
/pole1
/pole2
/pole3
Config = {}
Config.CommandName = "pole" -- The command name to be used, which will be followed by 1, 2 or 3 (eg. /pole1) | Default: "pole"
Config.CommandDescription = "Pole Dance at VU" -- The command description/hint/suggestion to show when typing it in chat | Default: "Pole Dance at VU"
Config.UseGabz = false -- Set true if using Gabz Vanilla Unicorn MLO, false for default GTA V mapping | Default: false
Config.LoopDances = true -- When the animation for a dance finishes, loop to keep dancing | Default: true
Config.QBCoreScriptName = "qb-core" -- The name of the QBCore resource (Don't edit unless you changed the name of qb-core) | Default: "qb-core"
Config.ESXScriptName = "es_extended" -- The name of the ESX resource (Don't edit unless you changed the name of es_extended) | Default: "es_extended"
Config.OldESX = false -- If using the old esx:getSharedObject event, instead of the export function, make this true | Default: false
Config.DefaultPoles = { -- Coordinates of the 3 VU poles that will be used with Config.UseGabz set to false
vector3(104.18, -1293.94, 29.26),
vector3(102.24, -1290.54, 29.26),
vector3(112.60, -1286.76, 28.56)
}
Config.GabzPoles = { -- Coordinates of the 3 VU poles that will be used with Config.UseGabz set to true
vector3(102.23, -1289.85, 29.25),
vector3(104.77, -1294.17, 29.25),
vector3(108.85, -1289.03, 29.25)
}
Code is accessible
No
Subscription-based
No
Lines (approximately)
~100
Requirements
None
Support
Yes