2019-06-18, 06:54 AM
(2019-06-11, 09:56 PM)Gaudeamus271 Wrote:(2019-06-11, 06:58 AM)Sasino97 Wrote: Hello, I am using this plugin but I don't need any of the GTA:SA road nodes because my gamemode is about aviation.
Will it work if I remove the DAT file, and create custom nodes and connection? (I actually already wrote the code but I didn't test it yet)
I think it should work well with another DAT file, but it seems?quite difficult to build a DAT file by yourself since i didn't find a proper documentation about its structure. Although you can have a look to the file read method (https://github.com/kristoisberg/samp-gps...c/file.cpp).
Hi, thank you for your answer. I am using the plugin without any DAT file and it is working.
I am loading the needed?data from JSON files, which is not used only for pure nodes but also for other metadata regarding the gamemode (airport taxiways etc.), and based on this data I am creating the nodes at runtime, so I found the solution.