Skip to content

Commit 3168540

Browse files
Improve docs
1 parent 45afb21 commit 3168540

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/articles/events.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ public void OnPlayerConnect(IPlayer player, string reason)
2828

2929
You should not register event handlers in async code.
3030

31-
[!code-csharp[Events](../../api/AltV.Net/Alt.Events.cs)]
31+
Below is a list of all event handlers.
3232

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).
33+
[!code-csharp[Events](../../api/AltV.Net/Alt.Events.cs)]
3434

35-
[!code-csharp[Events](../api/AltV.Net/Events/Events.cs)]
35+
Below is a list of all event handler method signatures.
3636

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).
37+
[!code-csharp[Events](../../api/AltV.Net/Events/Events.cs)]
3838

3939
The player event handler looks like this.
4040

0 commit comments

Comments
 (0)