openmultiplayer / openmultiplayer/open.mp
LimitNPCMarker(npcid, Float:range);
@AmyrAhmady is already working on this.
Since Aug 27, 2026.
- 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.
Expanding featuresets
Describe the solution you'd like
We have https://open.mp/docs/scripting/functions/ShowPlayerMarkers and https://open.mp/docs/scripting/functions/LimitPlayerMarkerRadius
These are cool, but npcs should have their own and make it per NPC.
What if I wanted train npcs to always show markers, but citizen walking npcs to only show markers when im like 50.0m away from them? Having granular individual control will allow us to setup our servers better
Describe alternatives you've considered
I don't think there is any.
Additional context
Add any other context or screenshots about the feature request here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.