Lua
local terrorcars = {
createFactionVehicle ( 548, -2883.3994140625, -2573.7001953125, 20.5, 0, 0, 180, 4, 178, 34, 34, 0, 0), --Cargobob
createFactionVehicle ( 425, -2875.5, -2404.8994140625, 19.611003875732, 0, 0, 180, 4, 178, 34, 34, 0, 0 ), --Hunter
createFactionVehicle ( 487, -2860.2001953125, -2448.3994140625, 18.799999237061, 0, 0, 180, 4, 178, 34, 34, 0, 0 ), --Maverick
createFactionVehicle ( 554, -2877.2001953125, -2465.3994140625, 11.800000190735, 0, 0, 0, 4, 178, 34, 34, 0, 0 ), --Yosemite
createFactionVehicle ( 520, -2883, -2443.599609375, 19.799999237061, 0, 0, 180, 4,178, 34, 34, 0, 0 ), --Hydra
createFactionVehicle ( 500, -2881.099609375, -2465.2998046875, 11.800000190735, 0, 0, 0, 4, 178, 34, 34, 0, 0 ), --Mesa
createFactionVehicle ( 451, -2885.2998046875, -2459.7001953125, 11.60000038147, 0, 0, 270, 4, 178, 34, 34, 0, 0 ), --Turi 1
createFactionVehicle ( 451, -2885.2001953125, -2454.8994140625, 11.60000038147, 0, 0, 270, 4, 178, 34, 34, 0, 0 ), --Turi 2
createFactionVehicle ( 446, -2869.8000488281, -2421.8999023438, 0, 0, 0, 0, 4, 178, 34, 34, 0, 0 ), -- Squalo
createFactionVehicle ( 473, -2878.3000488281, -2416.6000976563, 0, 0, 0, 0, 4, 178, 34, 34, 0, 0 ), -- Dinghy
createFactionVehicle ( 473, -2884.3000488281, -2416.5, 0, 0, 0, 0, 4, 178, 34, 34, 0, 0 ), -- Dinghy2
createFactionVehicle ( 405, -2885.2001953125, -2450.3994140625, 11.60000038147, 0, 0, 270, 4, 178, 34, 34, 0, 0 ), --Sentinel
createFactionVehicle ( 495, -2885.2001953125, -2446.099609375, 11.80000038147, 0, 0, 270, 4, 178, 34, 34, 0, 0 ), --Sandking
createFactionVehicle ( 402, -2885.2998046875, -2441.5, 11.511003494263, 0, 0, 270, 4, 178, 34, 34, 0, 0 ), --Buffalo
createFactionVehicle ( 579, -2885.099609375, -2436.5, 11.411003112793, 0, 0, 270, 4, 178, 34, 34, 0, 0 ), -- Huntley
createFactionVehicle ( 468, -2885.2998046875, -2433, 11.311003684998, 0, 0, 270, 4, 178, 34, 34, 0, 0 ), -- Sanchez 1
createFactionVehicle ( 468, -2885.099609375, -2431, 11.311003684998, 0, 0, 270, 4, 178, 34, 34, 0, 0 ), -- Sanchez 2
}
for i=1, #terrorcars do
setVehicleColor ( terrorcars[i], 0, 0, 0, 0, 0, 0, 0, 0, 0 )
setElementHealth ( terrorcars[i], 7000)
end
Alles anzeigen
Ich verwende das Ultimate Script aber das Problem ist das die Vehicle Health trotzdem noch 1700/2048 ist.
Es kommen keine Errors