This client event fires once mapmanager has stopped the resource for the
previous game type, typically right before starting a new one. Use it to
clean up any UI, NUI focus, or timers your game-type resource created in its
matching onClientGameTypeStart handler.
Event Name
onClientGameTypeStopParameters
- string resourceName: The name of the resource/game type that stopped
Example
on('onClientGameTypeStop', (name) => {
console.log('Game type stopped:', name)
})