From 7d08b1806a15ecf1439ae8547c02810332ce9df3 Mon Sep 17 00:00:00 2001 From: Dav-Renz <62567929+Dav-Renz@users.noreply.github.com> Date: Wed, 29 May 2024 01:51:49 +0200 Subject: [PATCH] Fixed wrong name in event docs (#316) --- docs/articles/events/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/events/index.md b/docs/articles/events/index.md index b3ac5389..717ea0c1 100644 --- a/docs/articles/events/index.md +++ b/docs/articles/events/index.md @@ -52,7 +52,7 @@ alt.on('playerConnect', player => { The client may only emit data to the server-side with `emitServer` or `emitServerRaw`. `emitServerRaw` is used for big data and is faster than `emitServer` and `emitServerRaw` only works, if the server is using javascript. -The server-side `onServer` event handlers will automatically receive the player that sent the event as the first argument. +The server-side `onClient` event handlers will automatically receive the player that sent the event as the first argument. # [Client-side](#tab/tab2-0) ```js