Lua: bloods_vehicles
local r,g,b = 254,0,0
local bloodscars = {
createFactionVehicle ( 522, -1939.4000244141, -1041.9000244141, 31.799999237061, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Bike
createFactionVehicle ( 522, -1939.4000244141, -1045.5, 31.799999237061, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Bike
createFactionVehicle ( 522, -1939.4000244141, -1049.5, 31.799999237061, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Bike
createFactionVehicle ( 522, -1939.4000244141, -1053.3000488281, 31.799999237061, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Bike
createFactionVehicle ( 522, -1939.4000244141, -1056.6999511719, 31.799999237061, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Bike
createFactionVehicle ( 522, -1938, -1061.4000244141, 31.799999237061, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS") ,--Bike
createFactionVehicle ( 522, -1938, -1064.8000488281, 31.799999237061, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Bike
createFactionVehicle ( 470, -1949.1999511719, -1085.5999755859, 30.89999961853, 0, 0, 0,17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"),--Patriot
createFactionVehicle ( 470, -1942.1999511719, -1085.8000488281, 30.89999961853, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Patriot
createFactionVehicle ( 495, -1952, -1048.3000488281, 32.700000762939, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Sandking
createFactionVehicle ( 495, -1952, -1054.9000244141, 32.700000762939, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Sandking
createFactionVehicle ( 482, -1952.3000488281, -1040.0999755859, 32.400001525879, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Burrito
createFactionVehicle ( 482, -1952.3000488281,-1033.4000244141, 32.400001525879, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Burrito
createFactionVehicle ( 482, -1952.3000488281, -1026.3000488281, 32.400001525879, 0, 0,0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Burrito
createFactionVehicle ( 424, -1942.8000488281, -1042, 32, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --BF-Injection
createFactionVehicle ( 504, -1949.9000244141, -1061, 31.799999237061, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "Bloods"), --Bloodring Banger
createFactionVehicle ( 489, -1938.9000244141, -1029.9000244141, 32.5, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Rancher
createFactionVehicle ( 489, -1938.8000488281, -1023, 32.5, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS"), --Rancher
createFactionVehicle ( 489, -1939.6999511719, -1037.8000488281, 32.5, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "Bloods"), --Rancher
createFactionVehicle ( 487, -1946, -1049.1999511719, 53.599998474121, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "Bloods"), --Maverick
createFactionVehicle ( 447, -1961.6999511719, -1048.6999511719, 53.400001525879, 0, 0, 0, 17, 3, 0, 8, 9, 14, 0, 0, 0, 0, "BLOODS") --Seasparrow
}
for i=1, #bloodscars do
setVehicleColor ( bloodscars[i], 254, 0, 0 )
end
Alles anzeigen
Das Problem ist, dass die Autos nicht spawnen. Folgender Errorcode wird im Debugscript angezeigt: .../bloods_vehicles.lua:6:attempt to call global 'createFactionVehicle' (a nil value)
und
.../bloods_vehicles.lua:6: '}' expected to close '{' at line 5 near '='.
Würde mich über schnelle Hilfe freuen