Jump to content

Upgrades in races


Recommended Posts

Hi! I'm new to the forum, and relatively new to MTA Scripting & server in general.

I'm setting up a little server for 6 LAN computers + 1 server, so file size is not a big big problem. One of the things I'm focusing on is on Race gamemode. The thing is that I want to have a custom car per map, like a Camaro for one map. I've managed to put that together on one map I downloaded from the internet, but the thing is that the modded car (added through EngineLoadDFF and EngineImportTXD on a new script loaded on the specific map) shows with upgrades (bumpers, etc.), so in some cases MTA crashes and in others the modded cars show up OK but with the upgrades not fitting.

Is there a way to disable upgrades in race gamemode? I've gone through the race resource "util_server.lua" file, I think it has something to do with it, but I can't figure it out. Please help!

Thanks in advanced :)

Link to comment
  • Moderators

You have to remove the upgrades with the map editor or you can change it in the .map script.

(it is also possible that an map does have a script that cause these upgrades, but I never checked that out)

Why you think these upgrades are in race resource? The race resource is only reading it.

Link to comment
  • Moderators

The first thing I do is checking with the editor for any upgrades at the vehicle/spawnpoints

If they are there, I remove from 1 vehicle the upgrades and replace them with the copies of this vehicle.

If they aren't there.

1 Open .map 
  
2 search for the words: vehicle  
  
3 check if there are any upgrades added. 

Else

You are not using the standard race resource.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...