Sign in to follow this  
1stNox

How to spawn mod vehicles

Recommended Posts

Hey there,

I just did the instructions of the following tutorial affix tut.

But I cant spawn my vehicle. I am using this.

Seems like the script can't found a vehicle with its name.

Somebody knows why?

 

Share this post


Link to post
Share on other sites

Probably because ragemp have bug. If you trigger from client side server side event and in server side has function in which you create vehicle then this vehicle is invisible, you need reconnect to server if you want to see that vehicle.

Share this post


Link to post
Share on other sites
Am 26.6.2020 um 03:25 schrieb LightScr:

Probably because ragemp have bug. If you trigger from client side server side event and in server side has function in which you create vehicle then this vehicle is invisible, you need reconnect to server if you want to see that vehicle.

So I just tested it and it is not the case.

The server does not know which vehicle to spawn. Do I have to include it somewhere like a module in an index.js?

I am reall interested in Rage and so on, but I don't have a clue about dlc packs except the Affix Tutorial.

Share this post


Link to post
Share on other sites

Found the problem, the path was wrong.

The correct one is: server-files\client_packages\game_resources\dlcpacks\ur_dlc_pack

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.