Dewen Posted December 29, 2020 Share Posted December 29, 2020 Bonjour, j'ai un petit problème, en effet j'ai fait quelques mapping pour mon serveur mais malheureusement lorsque je les met sur le serveur, la nuit j'ai les lumières des fenêtres des bâtiments de bases. Si quelqu'un peut me donner un coup de pouce sur se point ^^ Link to comment
Administrators Tut Posted December 29, 2020 Administrators Share Posted December 29, 2020 Afraid I don't speak French however, follow this guide and reply if you need any further help! https://forum.multitheftauto.com/topic/123641-removing-any-world-object/ 1 Link to comment
Wumbaloo Posted December 29, 2020 Share Posted December 29, 2020 Coucou, Il faut supprimer l'objet qui correspond aux lumières pendant la nuit de ton bâtiment via un petit removeWorldModel ( int modelID, float radius, float x, float y, float z [, int interior = -1 ] ) Si tu ne connais pas l'ID de ton bâtiment, @Zorgman a écrit un petit bout de code (post ici) qui retire la plupart des lumières de nuit. Je le reposte ici : local objtoremove = {9934,9933,9932,9886,6196,6195,6194,6193,6192,5059,5058,5057,4222,4221,4220,4219,4218,4217, 4216,4215,4214,4213,4212,13493,13485,13484,13461,10147,10146,10058,10057,4715,4716,4717,4720,4721,4722,4723,4725,4739, 4740,4741,4742,4743,4744,4745,4746,4747,4748,4749,4750,4751,4752,5661,5662,5665,5990,5991,5992, 7206,7207,7208,7221,7222,7280,7333,9088,9089,9125,9154,9277,9278,9279,9280,9281,9282,9283,9885, 8502,9159,7233,8981,14628,3437,8371,8370,17957,17956,17955,17954,9129,9128,9127,9126, 9124,9123,9122,9121,8372,7944,7943,7942,7892,7332,7331,7226,7097,14561,14811,7268,9094,9095,11412,11411,11410,11324,14605, 14473,14470,14460,14406,7290,7314,7289,7266,7264,7220,7072,8395,9104,9175,8982,7666,7230,9100,9101,8840,7232} for _,obj in ipairs (objtoremove) do removeWorldModel (obj, 10000, 0, 0, 0) end Si tu ne sais pas où coller ça, il faut l'insérer dans le .lua de ton mapping ou bien dans une autre ressource. Bonne fin d'après-midi 2 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