Jump to content

Adding things to the spawn menu


dnk_paul

Recommended Posts

Hey All,

 

I'm trying to add things to our spawn menu, but i've been very unsuccessful.

In 0.3.0.3, i added a load of cars etc to cfgPricing.hpp, then referenced it in description.ext, but on the new version, the new vehicles still dont appear when I do that.

 

Anyone know how to do it?

The server also doesn't start if you're using Halv and Suppe's blackmarket trader (referencing HSPricing.hpp) and the cfgPricing file.

Is this just me, or have others come across the same issue?

 

Thanks

Paul

Link to comment
Share on other sites

make sure in both cfgpricing.hpp and hspricing.hpp that the class names match the filenames. i had this problem , where my filename was cfgPricing.hpp and my classname  in the file was CfgPricing and it would make the server hang. i also found with this latest update i had to dump the database in order for it to load properly.

Link to comment
Share on other sites

make sure in both cfgpricing.hpp and hspricing.hpp that the class names match the filenames. i had this problem , where my filename was cfgPricing.hpp and my classname  in the file was CfgPricing and it would make the server hang. i also found with this latest update i had to dump the database in order for it to load properly.

 

 

Check the first line of your HSPricing.hpp and make sure it says cfg HSPricing and not cfg CfgPricing.

 

Thanks guys, that fixed it :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...