That would be awesome man Hope you finish the train script soon haha
i will the Scripts the Train and Garage ah good idea for the Garage whit slot Limit or sow
Thanks for this script ! but the essential version doesnāt work for me, iāve nothing on personnalisation, i can just repair my vehicle and i donāt know why ^^
Its ah stolen Car? I have the Script modyfiziert you can whit the script no stolen cars tunen^^
How the script check if itās a stolen car or not ? because i take my car from my garageā¦ ^^
You can check the source but i use this
IsVehicleStolen(veh)
In my script and run some checks later and if thatās true then it doesnāt add the car to the DB. Possibly when you pull it out of the garage they need to set the vehicle to not stolen Iām not sure what script youāre using for garage .
Well, itās just working right now, i did nothingā¦ nvm. Another thing, i try to change color of my car (blista for testing), and all colours donāt work ^^, i can change, but the colour donāt change, even if i paid, the color donāt change too :confused
Yeah, Iām not exactly sure as I havenāt worked on this script since that last update. I havenāt even looked at it since my attempt at the menu overhaul which was basically a rewrite. However, the last working EM version was 4.4.5. Iām not sure if anything has changed with the API or anything (which i doubt but it may have). So once Iām done with my next script Iāll take time to look through this and start with cleaning up the script and then working into a garage version.
Oh okai, np man ! you did a great script, iām going to try to fix it by myself thanks again !
Thanks, I appreciate the kind words
For stolen Cars.! edit this (Server.lua line 22-36)
whit this:
function AddVehicle(source)
TriggerEvent('es:getPlayerFromId', source, function(user)
local steamid = user.getIdentifier(user)
local user_group = user.getGroup(user)
MySQL.Async.fetchAll("SELECT * FROM fx_customs_cars WHERE plate = @plate", { ['@plate'] = plate}, function (result)
if (not result[1]) then
if stolen then
first_insert = false
MySQL.Async.execute("INSERT INTO fx_customs_cars ( steamid, user_group, vehicle_class, model, bike, veh_state, plate, plate_index, primary_color, secondary_color, pearl_color, wheel_color, wheeltype, neon_r, neon_g, neon_b, neon_left, neon_right, neon_front, neon_back, smoke_r, smoke_g, smoke_b, spoilers, front_bumper, rear_bumper, side_skirt, exhaust, frame, grille, hood, fender, right_fender, roof, engine, brakes, transmission, horn, suspension, armor, turbo, tire_smoke, xeon, front_wheel, back_wheel, windowtint, bulletproof) VALUES (@steamid, @user_group, @vehicle_class, @model, @bike, @veh_state, @plate, @plate_index, @primary_color, @secondary_color, @pearl_color, @wheel_color, @wheeltype, @neon_r, @neon_g, @neon_b, @neon_left, @neon_right, @neon_front, @neon_back, @smoke_r, @smoke_g, @smoke_b, @spoilers, @front_bumper, @rear_bumper, @side_skirt, @exhaust, @frame, @grille, @hood, @fender, @right_fender, @roof, @engine, @brakes, @transmission, @horn, @suspension, @armor, @turbo, @tire_smoke, @xeon, @front_wheel, @back_wheel, @windowtint, @bulletproof) ",
{ ['@steamid'] = steamid, ['@user_group'] = user_group, ['@vehicle_class'] = vehicle_class, ['@model'] = model, ['@bike'] = bike, ['@veh_state'] = veh_state, ['@plate'] = plate, ['@plate_index'] = plate_index, ['@primary_color'] = primary_color, ['@secondary_color'] = secondary_color, ['@pearl_color'] = pearl_color, ['@wheel_color'] = wheel_color, ['@wheeltype'] = wheeltype, ['@neon_r'] = neon_r, ['@neon_g'] = neon_g, ['@neon_b'] = neon_b, ['@neon_left'] = neon_left, ['@neon_right'] = neon_right, ['@neon_front'] = neon_front, ['@neon_back'] = neon_back, ['@smoke_r'] = smoke_r, ['@smoke_g'] = smoke_g, ['@smoke_b'] = smoke_b, ['@spoilers'] = spoilers, ['@front_bumper'] = front_bumper, ['@rear_bumper'] = rear_bumper, ['@side_skirt'] = side_skirt, ['@exhaust'] = exhaust, ['@frame'] = frame, ['@grille'] = grille, ['@hood'] = hood, ['@fender'] = fender, ['@right_fender'] = right_fender, ['@roof'] = roof, ['@engine'] = engine, ['@brakes'] = brakes, ['@transmission'] = transmission, ['@horn'] = horn, ['@suspension'] = suspension, ['@armor'] = armor, ['@turbo'] = turbo, ['@tire_smoke'] = tire_smoke, ['@xeon'] = xeon, ['@front_wheel'] = front_wheel, ['@back_wheel'] = back_wheel, ['@windowtint'] = windowtint, ['@bulletproof'] = bulletproof})
end
end
end)
end)
end
Can you give me ft_ui? Or this script is dead? I canāt find it at allā¦ anywhere.
works until you try to enter itā¦
Its says
" Press Enter to enter los santos customs "
then when you press Enter it goes away and nothing happensā¦
Same hereā¦