openmultiplayer / openmultiplayer/open.mp

MountVehicleOnPacker(vehicleid, packerid);

Open
#1,083 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
641
Forks
208
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
In SA-MP, there's currently no native way to mount a vehicle onto a Packer truck (ID 443), which makes it difficult to create realistic vehicle transport systems. Players cannot load vehicles onto the Packer without workarounds that are often buggy or visually inaccurate.

Describe the solution you'd like
I propose the addition of a native function:

MountVehicleOnPacker(vehicleid, packerid);

This function would automatically place the specified vehicle (vehicleid) on top of the specified Packer truck (packerid), using appropriate offsets and rotation values that match the Packer model. It would handle positioning, syncing, and movement so that the vehicle moves along with the truck.

An additional function to detach it would also be useful:
UnmountVehicleFromPacker(vehicleid);

Describe alternatives you've considered

  • Using AttachTrailerToVehicle, but it only supports trailer-type vehicles.
  • Manually updating the vehicle's position with timers, which causes desync, jittering, and performance issues.
  • Using objects to fake the vehicle on top of the Packer, which is not functional and breaks immersion.

Additional context
This feature would allow better support for roleplay and trucking servers that need to simulate car delivery services, impound lots, roadside assistance, or dealership logistics. It would improve realism and expand gameplay mechanics significantly.

It is expected to behave similarly to the Cop Wheels mission from GTA: San Andreas, where the player mounts police bikes onto a moving Packer.

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the proposed MountVehicleOnPacker and UnmountVehicleFromPacker entry points but provides no repository files or tests to start from. Review the existing vehicle and trailer attachment handling, then determine the native API and synchronization design needed for mounting, movement, and detachment to match the requested Packer behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.