Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script NoPixel 3.0 Inspired VehicleShop ESX

mar.

Gold Elite
Joined
Aug 24, 2021
Messages
31
Reaction score
249
Points
296
Location
United States
everything is functional except removing the money from the bank when we buy the vehicle.
 

PatrixonMaster

Silver Elite
Joined
Apr 18, 2021
Messages
48
Reaction score
7
Points
156
i have error in the console ,,server.lua:55: unexpected symbol near ')'
 

mar.

Gold Elite
Joined
Aug 24, 2021
Messages
31
Reaction score
249
Points
296
Location
United States
i have error in the console ,,server.lua:55: unexpected symbol near ')'
RegisterServerEvent('eotix-vehicleshop:CheckMoneyForVeh')
AddEventHandler('eotix-vehicleshop:CheckMoneyForVeh', function(veh, price, name, vehicleProps)
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
if xPlayer.getMoney() >= tonumber(price) then
xPlayer.removeMoney(tonumber(price))
local vehiclePropsjson = json.encode(vehicleProps)
if Config.SpawnVehicle then
stateVehicle = 0
else
stateVehicle = 1
end

MySQL.Async.execute('INSERT INTO owned_vehicles (owner, plate, vehicle) VALUES ( Owner Owner, @plate, @vehicle)',
{
[' Owner Owner'] = xPlayer.identifier,
['@plate'] = vehicleProps.plate,
['@vehicle'] = json.encode(vehicleProps)
}, function (rowsChanged)
end)
end
end)
 

Spectrum

Silver Elite
Joined
Apr 6, 2021
Messages
42
Reaction score
11
Points
156
The ui is not 3.0 but its esx dealership 2.0 ui , this is really different than original it use a similar system like np because it doesnt use sql. fixed server lua problem "end " was missing. its a great work BTW it could be nice is it has the spawn function.
 

Eotix64

Gold Elite
Joined
Jun 27, 2021
Messages
33
Reaction score
287
Points
301
The ui is not 3.0 but its esx dealership 2.0 ui , this is really different than original it use a similar system like np because it doesnt use sql. fixed server lua problem "end " was missing. its a great work BTW it could be nice is it has the spawn function.
Updated the link
1 Fixed the money Function
2 Maked cars spawn after buying
 

Lucky~

Gold Elite
Joined
Apr 2, 2021
Messages
81
Reaction score
629
Points
296
Location
Malaysia
Updated the link
1 Fixed the money Function
2 Maked cars spawn after buying
Hi bro still have few problem 1.when i buying complete the vehicle the menu not close up 2. my account not have money but still can buying the car
 

Eotix64

Gold Elite
Joined
Jun 27, 2021
Messages
33
Reaction score
287
Points
301
Hi bro still have few problem 1.when i buying complete the vehicle the menu not close up 2. my account not have money but still can buying the car
its removing money from cash and it haves notification that says 'Press ESC to close the Menu'
 

slotibitch

Silver Elite
Joined
Apr 14, 2021
Messages
20
Reaction score
7
Points
156
And if you could be amazing.... qtarget compability
 

slotibitch

Silver Elite
Joined
Apr 14, 2021
Messages
20
Reaction score
7
Points
156
I Updated the link

I tested it and works perfectly
- Removes Money
-Dont let you buy if you dont have enough money
And Maked the UI(MENU) Close automatic
GREETINGS FROM EOTIX


We have an issue. So if i create a shop in paleto.... and bought the car in paleto.. im gonna spawn in Ls... we need to fix that
 

slotibitch

Silver Elite
Joined
Apr 14, 2021
Messages
20
Reaction score
7
Points
156
Multiple bug or things to improve...!!!

--Take the Money from the bank and not in pocket
-- (optionnal) add qtarget option or implamante for the shop..!!! more amazing like that
-- (IMPORTNAT) f i create a shop in paleto.... and bought the car in paleto.. im gonna spawn in Ls... we need to fix that
--( VERY VERY VERY important, ) No license verification or option about that !!! We need that :) Thanks !
 
Top