We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f256b commit 6aa6f11Copy full SHA for 6aa6f11
docs/articles/events.md
@@ -28,8 +28,12 @@ public void OnPlayerConnect(IPlayer player, string reason)
28
29
You should not register event handlers in async code.
30
31
+[!code-csharp[Events](/api/AltV.Net/Alt.Events.cs)]
32
+
33
For a list of all event handlers see [Alt.Events.cs](https://github.com/FabianTerhorst/coreclr-module/blob/master/api/AltV.Net/Alt.Events.cs).
34
35
+[!code-csharp[Events](/api/AltV.Net/Events/Events.cs)]
36
37
And the method signatures can be found in [Events.cs](https://github.com/FabianTerhorst/coreclr-module/blob/master/api/AltV.Net/Events/Events.cs).
38
39
The player event handler looks like this.
0 commit comments