DjEnzo Posted January 31, 2019 Share Posted January 31, 2019 Hi Can you tell me how to upload custom cars on RAGE:MP server? I found onetutorial here, but I have some problems with ArchiveFix. It made 2 files "gtav_aes_key.dat" and "gtav_ng_key.dat". After "aes key found" nothing happens. Do you have some experience with that? I appreciate your help Link to comment Share on other sites More sharing options...
MrPancakers Posted February 1, 2019 Share Posted February 1, 2019 It can take a really long time, I don't believe that's the end which is why it just sits there, it all depends on your computer specifications on how quickly you can do it. Link to comment Share on other sites More sharing options...
DjEnzo Posted February 2, 2019 Author Share Posted February 2, 2019 (edited) Thank you for your answer I did it! Do I need to copy the content.xml and setup2.xml to new rpf? And how can I spawn my car? I made a simple command [Command("car")] public void CreateCar(Client player, string name) { try { Vector3 position = player.Position; Vector3 rotation = player.Rotation; VehicleHash veh = NAPI.Util.VehicleNameToModel(name); Vehicle vehicle = NAPI.Vehicle.CreateVehicle(veh, position, rotation.Z, 0, 0, "Om4n3k"); player.SetIntoVehicle(vehicle, (int)VehicleSeat.Driver); } catch(Exception e) { player.SendNotification(e.Message); } } After typing "/car onevia (hashName of the mod)" nothing happens (no exception, error, etc.) but normal car like "/car zentorno" spawns. Any ideas? I placed my mod on my VPS in folder "/client_packages/dlcpacks/onevia/dlc.rpf". I downloaded it correctly, reconnected, restarted my game. Edited February 2, 2019 by DjEnzo Link to comment Share on other sites More sharing options...
TobseN Posted July 17, 2019 Share Posted July 17, 2019 Am 02.02.2019 um 01:24 schrieb DjEnzo: Thank you for your answer I did it! Do I need to copy the content.xml and setup2.xml to new rpf? And how can I spawn my car? I made a simple command [Command("car")] public void CreateCar(Client player, string name) { try { Vector3 position = player.Position; Vector3 rotation = player.Rotation; VehicleHash veh = NAPI.Util.VehicleNameToModel(name); Vehicle vehicle = NAPI.Vehicle.CreateVehicle(veh, position, rotation.Z, 0, 0, "Om4n3k"); player.SetIntoVehicle(vehicle, (int)VehicleSeat.Driver); } catch(Exception e) { player.SendNotification(e.Message); } } After typing "/car onevia (hashName of the mod)" nothing happens (no exception, error, etc.) but normal car like "/car zentorno" spawns. Any ideas? I placed my mod on my VPS in folder "/client_packages/dlcpacks/onevia/dlc.rpf". I downloaded it correctly, reconnected, restarted my game. Hey mate, this will work for you. uint veh = NAPI.Util.GetHashKey(name); 2 Link to comment Share on other sites More sharing options...
diaverso Posted March 30, 2020 Share Posted March 30, 2020 On 2/2/2019 at 1:24 AM, DjEnzo said: Thank you for your answer I did it! Do I need to copy the content.xml and setup2.xml to new rpf? And how can I spawn my car? I made a simple command [Command("car")] public void CreateCar(Client player, string name) { try { Vector3 position = player.Position; Vector3 rotation = player.Rotation; VehicleHash veh = NAPI.Util.VehicleNameToModel(name); Vehicle vehicle = NAPI.Vehicle.CreateVehicle(veh, position, rotation.Z, 0, 0, "Om4n3k"); player.SetIntoVehicle(vehicle, (int)VehicleSeat.Driver); } catch(Exception e) { player.SendNotification(e.Message); } } After typing "/car onevia (hashName of the mod)" nothing happens (no exception, error, etc.) but normal car like "/car zentorno" spawns. Any ideas? I placed my mod on my VPS in folder "/client_packages/dlcpacks/onevia/dlc.rpf". I downloaded it correctly, reconnected, restarted my game. Could you explain how you solved it and how to install it on the server? I have the same problem and cannot find any solution. Link to comment Share on other sites More sharing options...
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