Race: world vehicles' collisions always disabled · Issue #380 · multitheftauto/mtasa-resources · GitHub
Skip to content

Race: world vehicles' collisions always disabled #380

Open

Description

@Proxy-99

Is your feature request related to a problem? Please describe.
World vehicles' collision always disabled for race gamemode, I do not find any possible ways to change collisions without use setElementData

Describe the solution you'd like
add a setting to the race settings gui to set the ElementData value

--client side
--enable 
setElementData (vehicle, 'race.collideothers', 1 ,true)
--disabled
 setElementData (vehicle, 'race.collideothers', 0 ,true)

Additional context
disabled
enabled

others linked issues
forum
forum

Activity

  1. added a commit that references this issue on Dec 3, 2022
  2. francisco-create commented on Dec 3, 2022

    @francisco-create
  3. ArranTuna commented on Oct 10, 2026

    @ArranTuna
    Contributor

    Unclear, needs more explanation.

  4. xLive commented on Oct 15, 2026

    @xLive
    Member

    Unclear, needs more explanation.

    The race gamemode disables collisions between player vehicles and vehicles created by maps or other resources. The only way to override this is by using:

    setElementData(vehicle, "race.collideothers", 1)

    @Proxy-99 is suggesting a setting to control this without needing to change the element data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions