Skip to content

Commit bcb5184

Browse files
FabianTerhorstDoxoh
authored andcommitted
Merge pull request #827 from BluePeer/patch-3
Update netowner-change.md
1 parent 03458b6 commit bcb5184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/articles/events/player-events/netowner-change.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Alt.OnNetOwnerChange += (entity, oldNetOwner, newNetOwner) => {
2727
```csharp
2828
public class MyScript : IScript
2929
{
30-
[ScriptEvent(ScriptEventType.StartProjectile)]
30+
[ScriptEvent(ScriptEventType.NetOwnerChange)]
3131
public void OnNetOwnerChange(IEntity entity, IPlayer oldNetOwner, IPlayer newNetOwner)
3232
{
3333
// ...

0 commit comments

Comments
 (0)