From the reference libraryFiveM

onClientGameTypeStart

fivem-docs/docs/resources/mapmanager/events/onClientGameTypeStart.md

onClientGameTypeStart


title: onClientGameTypeStart

Parameters

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

Examples

JavaScript Example:
on('onClientGameTypeStart', (name) => {
   console.log('Map started: ', name);
});

title: onClientGameTypeStart

Parameters

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

Examples

JavaScript Example:
on('onClientGameTypeStart', (name) => {
   console.log('Map started: ', name);
});
Back to documentation