Want to improve the docs? Take a look at scripting-api-data!
Found a bug? jc3mp/bugs is a good place to let us know.
Called when a RemoteClient disconnected from the Server
Name | Type | Description |
---|---|---|
client | RemoteClient | the Client that disconnected |
reason | number | disconnect reason (0: closed by user, 1: timeout, 2: kicked) |
jcmp.events.Add('ClientDisconnected', (client, reason) => {
// This event currently lacks an example.
});
By becoming the newest member of our growing forums, we and hundreds of other players will always keep you up to date on everything JC3:MP related.