openmultiplayer / openmultiplayer/open.mp

Getter counterparts for NPC_SetVehicle(Pos/Rot)

Open
#1,197 2 comments 0 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

Since there were NPC_SetVehiclePos and NPC_SetVehicleRot added, would be great to also have their counterparts (getter functions)

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

Start by locating the existing NPC_SetVehiclePos and NPC_SetVehicleRot implementations and their public API declarations. Trace how similar vehicle getter functions are exposed and tested, then add matching getters that return the vehicle position and rotation and verify the API builds and behaves consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.