Actimel Posted March 18, 2017 Share Posted March 18, 2017 Hi im working on 0.7 dayz source and i added new vehicle landstalker and works good no errors anything but server dont spawn landstalker in specific coordinates that i added in vehicles.lua Can someone tell me what to do ? Link to comment
marty000123 Posted March 18, 2017 Share Posted March 18, 2017 No, we can't. Not without the script. Link to comment
Actimel Posted March 18, 2017 Author Share Posted March 18, 2017 vehicles.lua --[[LandStalker]] {400, -1298.5590820313,-1298.5590820313,59.394161224365}, {400, -2444.0551757813,-1155.2465820313,182.79537963867}, {400, -2934.8203125,1025.5888671875,6.0455174446106}, {400, -772.78924560547,2906.8093261719,36.291316986084}, ------------------------otherpart--------------------------------------- local vehicleAddonsInfo = { {422, 4, 1, 1, 25}, {470, 4, 1, 1, 46}, {400, 4, 1, 1, 46}, {468, 2, 1, 1, 10}, {433, 6, 1, 1, 70}, {437, 6, 1, 1, 60}, {509, 0, 0, 0, 0}, {487, 0, 1, 1, 20}, {497, 0, 1, 1, 20}, {453, 0, 1, 1, 35}, }; local vehicleFuelInfo = { {422, 0.25}, {400, 0.25}, {470, 0.1}, {468, 0.1}, {433, 0.5}, {437, 0.5}, {509, 0}, {487, 0.25}, {497, 0.25}, {453, 0.1}, }; local vehicleFuelTable = { {422, 80}, {470, 100}, {400, 100}, {468, 30}, {433, 140}, {437, 140}, {509, 0}, {487, 60}, {497, 60}, {453, 60}, }; inventory.lua local vehicleAddonsInfo = { {422, 4, 1, 1, 25}, {470, 4, 1, 1, 46}, {400, 4, 1, 1, 46}, {468, 2, 1, 1, 10}, {433, 6, 1, 1, 70}, {437, 6, 1, 1, 60}, {509, 0, 0, 0, 0}, {487, 0, 1, 1, 20}, {497, 0, 1, 1, 20}, {453, 0, 1, 1, 35}, {492, 4, 1, 1, 32}, {463, 2, 1, 1, 15}, {505, 4, 1, 1, 40}, {560, 4, 1, 1, 33}, {579, 4, 1, 1, 40}, {593, 3, 1, 1, 20}, }; local vehicleFuelTable = { {422, 80}, {470, 100}, {400, 100}, {468, 30}, {433, 140}, {437, 140}, {509, 0}, {487, 60}, {497, 60}, {453, 60}, {492, 80}, {463, 40}, {505, 80}, {560, 60}, {579, 80}, {593, 40}, {568, 100} }; main_c.lua --Vehicles Tab --Gridlists vehicles_gridlist_players = guiCreateGridList(10, 10, 180, 444, false, main_tab_vehicles) guiGridListAddColumn(vehicles_gridlist_players, "Players:", 0.9) vehicles_gridlist_vehicles = guiCreateGridList(411, 10, 180, 444, false, main_tab_vehicles) guiGridListAddColumn(vehicles_gridlist_vehicles, "Vehicles:", 0.9) for i = 1, 17 do guiGridListAddRow(vehicles_gridlist_vehicles) end guiGridListSetItemText(vehicles_gridlist_vehicles, 0, 1, "Bobcat", false, false) guiGridListSetItemText(vehicles_gridlist_vehicles, 1, 1, "Patriot", false, false) guiGridListSetItemText(vehicles_gridlist_vehicles, 3, 1, "Landstalker", false, false) guiGridListSetItemText(vehicles_gridlist_vehicles, 5, 1, "Barracks", false, false) guiGridListSetItemText(vehicles_gridlist_vehicles, 6, 1, "Coach", false, false) guiGridListSetItemText(vehicles_gridlist_vehicles, 7, 1, "Bike", false, false) guiGridListSetItemText(vehicles_gridlist_vehicles, 8, 1, "Reefer", false, false) guiGridListSetItemText(vehicles_gridlist_vehicles, 11, 1, "Maverick", false, false) guiGridListSetItemText(vehicles_gridlist_vehicles, 12, 1, "Police Maverick", false, false) guiGridListSetItemText(vehicles_gridlist_vehicles, 13, 1, "Landstalker", false, false) guiGridListSetItemColor(vehicles_gridlist_vehicles, 14, 1, 255, 0, 0, 255) guiGridListSetItemColor(vehicles_gridlist_vehicles, 15, 1, 255, 0, 0, 255) guiGridListSetItemColor(vehicles_gridlist_vehicles, 16, 1, 255, 0, 0, 255) @marty000123 this is what i did Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 Which line did you add into the script? Link to comment
Actimel Posted March 18, 2017 Author Share Posted March 18, 2017 400 id landstalker @NeXuS™ Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 So you added this? {400, -1298.5590820313,-1298.5590820313,59.394161224365}, {400, -2444.0551757813,-1155.2465820313,182.79537963867}, {400, -2934.8203125,1025.5888671875,6.0455174446106}, {400, -772.78924560547,2906.8093261719,36.291316986084}, Link to comment
Actimel Posted March 18, 2017 Author Share Posted March 18, 2017 (edited) yes i added and fuel info other things i did also @NeXuS™ Edited March 18, 2017 by Actimel Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 Do the other cars still spawn? Link to comment
Actimel Posted March 18, 2017 Author Share Posted March 18, 2017 Just now, NeXuS™ said: Do the other cars still spawn? yes they do only this added veh dont spawn other works perfectly Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 Are you sure about no errors? Do you use debugscript 3? Link to comment
Actimel Posted March 18, 2017 Author Share Posted March 18, 2017 Just now, NeXuS™ said: Are you sure about no errors? Do you use debugscript 3? yes i did Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 Can you repeat the process please? I think you missed smthing. Link to comment
Actimel Posted March 18, 2017 Author Share Posted March 18, 2017 Just now, NeXuS™ said: Can you repeat the process please? I think you missed smthing. YEAH I CAN Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 Fixed, he doesn't need further help. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now