onPlayerJoin

From GTA Connected
Jump to navigation Jump to search

Event Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Not Cancellable

Available since Server 1.0.0, Client 1.0.0

onPlayerJoin(Event event, Client client)

The onPlayerJoin event is invoked when a player is in the process of connecting to the server.

Parameters

1) Event event The event object for this event.
2) Client client The client that is in the process of connecting to the server.

Attributes

const This event cannot be cancelled.

Notes

  • The chronological order of player connection events are:
  1. OnPlayerConnect
  2. OnPlayerJoin
  3. OnPlayerJoined
    .

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Server Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnPlayerChat
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnPlayerCommand
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnPlayerConnect
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnPlayerJoin
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnPlayerJoined
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnPlayerQuit


Client Related

OnPlayerJoin