Skip to Content
Report an error
Open in ChatGPTOpen in Claude

onClientMapStart

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

onClientMapStart

Parameters

  • string resourceName: The name of the resource/map that started

Example

on('onClientMapStart', (name) => { console.log('Map started:', name) })