This client event fires once mapmanager has stopped the resource for the previous map, typically right before starting a new one. Use it to remove blips, markers, or other map-specific state before the next map resource starts, so leftover state from the old map doesn’t bleed into the new one.
Event Name
onClientMapStopParameters
- string resourceName: The name of the resource/map that stopped
Example
on('onClientMapStop', (name) => {
console.log('Map stopped:', name)
})