-- Based on es_carwash by 'EssentialMode 5 CarWash by TheSpartaPT.' --哈哈
-- Modified a bit by Calm Producionshttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
-- RECOMMEND-THAT-YOU-DO-NOT-EDIT-BELLOW-THIS-LINE--https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
Key = 201 -- ENTERhttps://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
vehicleAutoBodyStation = {https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
-- {-327.0, -144.6, 38.3}, -- LSC Burton body spray tenthttps://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
{1139.55, -864.30, 52.77}, -- LSC La Mesa body spray tenthttps://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
-- {481.7, -1317.4, 28.5}, -- Hayes Bodywork Shop, Little Bighorn Ave.https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
-- {288.2, -1729.5, 28.5}, -- Hayes Bodywork Shop, Ranchohttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
-- {-24.6, -1678.2, 29.0}, -- Mosley Bodywork Service, Strawberryhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
-- {-199.0, -1382.0, 30.5}, -- Glass Heroes, Strawberryhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
-- {-1166.7, -2013.0, 12.5}, -- LSC by airport body spray tenthttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
-- {-440.0, -2177.5, 10.0}, -- Otto's Auto Body, LSI Elysin Islandhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
-- {-1409.0, -459.1, 33.8}, -- Hayes Auto Body Shop, Del Perrohttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
-- {103.6, 6622.5, 31.1}, -- LSC Paleto Bay body spray tenthttps://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
-- {1914.0, 3729.0, 32.0}, -- Otto's Auto Body, Sandy Shoreshttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
-- {1182.7, 2638.4, 37.0} -- 68 Harmony Body spray tenthttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
}https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
Citizen.CreateThread(function ()https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
Citizen.Wait(0)https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
for i = 1, #vehicleAutoBodyStation dohttps://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
garageCoords = vehicleAutoBodyStation[i]https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
stationBlip = AddBlipForCoord(garageCoords[1], garageCoords[2], garageCoords[3])https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
SetBlipSprite(stationBlip, 72) -- 72 radar_car_mod_shophttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
SetBlipColour(stationBlip, 3) -- 0 White, 1 Red, 2 Green, 3 Blue etc.https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
SetBlipAsShortRange(stationBlip, true)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
SetBlipDisplay(stationBlip, 2) -- 0 Doesn't showup ever. https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
--1 Doesn't showup ever anywhere. https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K
--2 Shows on both main map and minimap https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
--3&4 Main map only https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
--5 shows on minimap only https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
--6 shows on both https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
--7 Doesn't showup https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
--8 both not selectablehttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
--9 minimap only https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
--10 both not selectablehttps://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
--Rockstar seem to only use 0, 2, 3, 4, 5 and 8 in the decompiled scripts.https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
BeginTextCommandSetBlipName("STRING")https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
AddTextComponentString("Body Shop")https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
EndTextCommandSetBlipName(stationBlip)https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
endhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
returnhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
end)https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
function cp_auto_body_DrawSubtitleTimed(m_text, showtime)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
SetTextEntry_2('STRING')https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
AddTextComponentString(m_text)https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
DrawSubtitleTimed(showtime, 1)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
endhttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
function cp_auto_body_DrawNotification(m_text)https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
SetNotificationTextEntry('STRING')https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
AddTextComponentString(m_text)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
DrawNotification(true, false)https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
endhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
Citizen.CreateThread(function ()https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
while true dohttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
Citizen.Wait(0)https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
if IsPedSittingInAnyVehicle(PlayerPedId()) then https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
for i = 1, #vehicleAutoBodyStation dohttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
garageCoords2 = vehicleAutoBodyStation[i]https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
if GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), garageCoords2[1], garageCoords2[2], garageCoords2[3], true ) < 20 thenhttps://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
DrawMarker(1, garageCoords2[1], garageCoords2[2], garageCoords2[3], 0, 0, 0, 0, 0, 0, 5.0, 5.0, 2.0, 0, 0, 156, 155, 0, 0, 2, 0, 0, 0, 0)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
if GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), garageCoords2[1], garageCoords2[2], garageCoords2[3], true ) < 5 thenhttps://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
cp_auto_body_DrawSubtitleTimed("按 [~g~ENTER~s~] 自动维修车身!")https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
if IsControlJustPressed(1, Key) thenhttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
TriggerServerEvent('cp_auto_body:checkmoney')不要乱来哦
https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
endhttps://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
endhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
endhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
endhttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
endhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
endhttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
end)https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
RegisterNetEvent('cp_auto_body:success')https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K
AddEventHandler('cp_auto_body:success', function (price)https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
player = PlayerPedId()https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
playerVehicle = GetVehiclePedIsUsing(player)https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
local GVEH = GetVehicleEngineHealth(playerVehicle)https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
SetVehicleBodyHealth(playerVehicle, 1000.0)https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
SetVehiclePetrolTankHealth(playerVehicle, 1000.0)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
-- SetVehicleWheelHealth(playerVehicle, 1000.0)https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
-- SetVehicleUndriveable(playerVehicle, false)https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
-- SetVehicleEngineHealth(playerVehicle, 1000.0)https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
RemoveDecalsFromVehicle(playerVehicle)https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
SetVehicleDeformationFixed(playerVehicle)https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
SetVehicleFixed(playerVehicle)https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
SetVehicleEngineHealth(playerVehicle, GVEH)https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
Citizen.Wait(1000)https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
cp_auto_body_DrawNotification("Your vehicle's body was ~y~repaired~s~! ~g~-$" .. price .. "~s~!")https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
end)https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
RegisterNetEvent('cp_auto_body:notenoughmoney')https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
AddEventHandler('cp_auto_body:notenoughmoney', function (moneyleft)https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
cp_auto_body_DrawNotification("~h~~r~You don't have enough money! $" .. moneyleft .. " left!")https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
end)https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
RegisterNetEvent('cp_auto_body:free')https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
AddEventHandler('cp_auto_body:free', function ()https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
player = PlayerPedId()https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
playerVehicle = GetVehiclePedIsUsing(player)https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
local GVEH = GetVehicleEngineHealth(playerVehicle)https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
SetVehicleBodyHealth(playerVehicle, 1000.0)https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
SetVehiclePetrolTankHealth(playerVehicle, 1000.0)https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
-- SetVehicleWheelHealth(playerVehicle, 1000.0)https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
-- SetVehicleUndriveable(playerVehicle, false)https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
-- SetVehicleEngineHealth(playerVehicle, 1000.0)https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
RemoveDecalsFromVehicle(playerVehicle)不影响正文阅读
SetVehicleDeformationFixed(playerVehicle)https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
SetVehicleFixed(playerVehicle)不要乱来哦
https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
SetVehicleEngineHealth(playerVehicle, GVEH)https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
Citizen.Wait(1000)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
cp_auto_body_DrawNotification("Your vehicle's body was ~y~repaired~s~ for free!")https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
end)https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
不影响正文阅读
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
|