Carl Rayanitch DZ Posted March 29 Share Posted March 29 is there a way to run the file vehicles.ide trough a script that loads that file? just like we can with handling.cfg. i feel like there's functions missing for vehicles.ide to even be possiblle to load in an mtasa server. thoughts? Link to comment
FileEX Posted April 5 Share Posted April 5 You can do the loading of the vehicles.ide file as done at Handling Loader by fileOpen, fileRead functioons Link to comment
Carl Rayanitch DZ Posted April 14 Author Share Posted April 14 On 05/04/2024 at 22:56, FileEX said: You can do the loading of the vehicles.ide file as done at Handling Loader by fileOpen, fileRead functioons tell me more about it, i've never heard about these things, explain breifly pls Link to comment
FileEX Posted April 14 Share Posted April 14 The player places the vehicles.ide file in the mta->mods->deathmatch->resources->your resource directory Then, from the script level, you open this file and load data from it. Exactly the same as the script above. You can check its source code If you just want to have the vehicles.ide file on the server, you can upload it to your server's FTP and load it on the server side. I don't know what you want to achieve, but the only option is to manually read the file contents and parse its contents Link to comment
Carl Rayanitch DZ Posted April 14 Author Share Posted April 14 6 hours ago, FileEX said: The player places the vehicles.ide file in the mta->mods->deathmatch->resources->your resource directory Then, from the script level, you open this file and load data from it. Exactly the same as the script above. You can check its source code If you just want to have the vehicles.ide file on the server, you can upload it to your server's FTP and load it on the server side. I don't know what you want to achieve, but the only option is to manually read the file contents and parse its contents the problem is how do i load vehicles.ide from server side or whatever...? i don't think there's enough functions for mta to at least read wheel type either. Link to comment
FileEX Posted April 15 Share Posted April 15 Upload your vehicles.ide to your server's FTP and load it on the server side with fileOpen and fileRead. Link to comment
Carl Rayanitch DZ Posted April 15 Author Share Posted April 15 what i mostly want from vehicles.ide is to make vehs load with an 'mtruck'. 1 Link to comment
Carl Rayanitch DZ Posted April 16 Author Share Posted April 16 mta has to make a function for wheels in vehicles.ide to change vehs wheels type. can't make it work for now... 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