This client event fires once mapmanager has started the resource for the current map, letting other resources react to a map change. It’s a good place to reload map-dependent state, such as spawn points or blip markers, after a server switches between map resources.
Event Name
onClientMapStartParameters
- string resourceName: The name of the resource/map that started
Example
on('onClientMapStart', (name) => {
console.log('Map started:', name)
})