Comments (5)
the only thing that I added to the qb-target/config was -
Config.CircleZones = {
-- Lucky wheel
exports['qb-target']:AddCircleZone("LuckyWheel", vector3(949.391, 44.72, 71.638), 2.0, {
name="LuckyWheel",
heading=160,
debugPoly=false,
useZ=true,
}, {
options = {
{
event = "luckywheel:client:startWheel",
icon = "fas fa-sync-alt",
label = "Try Your Luck",
},
},
distance = 2.0
}
-- Horse Bets
exports['qb-target']:AddCircleZone("Betting", vector3(956.121,70.185,70.433), 1.0, {
name="Betting",
heading=160,
debugPoly=false,
useZ=true,
}, {
options = {
{
event = "QBCore:client:openInsideTrack",
icon = "fas fa-coins",
label = "Start Betting",
},
},
distance = 3.0
}
}
Config.BoxZones = {
}
Config.PolyZones = {
}
Config.TargetBones = {
}
Config.TargetEntities = {
}
Config.TargetModels = {
-- Casino Shop
exports['qb-target']:AddTargetModel(U_F_M_CasinoCash_01
, {
options = {
{
event = "doj:casinoChipMenu", --NotUsed
icon = "fas fa-exchange-alt",
label = "Exchange Casino Chips",
},
{
event = "qb-casino:client:openCasinoChips", --NotUsed
icon = "fas fa-coins",
label = "Purchase Casino Chips",
},
{
event = "qb-casino:client:openCasinoMembersips",
icon = "fas fa-id-card",
label = "Purchase Casino Memberships",
},
},
distance = 3.0
}
}
from qb-target.
Can you put that config in a codeblock so it keeps the spaces aligned, then I can identify your problem much easier
from qb-target.
I just downloaded qb-target just after installing the new qb-core and oxmysql- I start it and get this error?
You must place this inside of a client-side file. I've attached a file that should work with what you're trying to achieve. Just rename it to exports.lua and stick it in your resource client folder.
from qb-target.
No, I made config tables for a reason
from qb-target.
He just messed up some stuff in the config
from qb-target.
Related Issues (20)
- push to talk HOT 1
- [FEATURE] Update Examples & Templates HOT 1
- AddTargetModel doesn't work on trees props - [SUPPORT] HOT 1
- [SUPPORT] HOT 1
- HELP! script error: @qb-target/client.lua:31: attempt to call a nil value (global 'Load') [SUPPORT] HOT 1
- Relocation HOT 1
- Don't use this HOT 10
- [SUGGESTION] HOT 1
- [SUPPORT] HOT 2
- can't open options HOT 2
- [Peds Duplicate]
- function AddGlobalPlayer HOT 1
- [SUPPORT]
- need a support for an issue HOT 4
- [BUG] Font Awesome Eye Not Showing HOT 29
- [BUG] Error spam latest update HOT 8
- Global Players options not working
- [BUG]Unsupported Operation HOT 2
- [BUG] Error executing native HOT 6
- Im getting an error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qb-target.