-
Notifications
You must be signed in to change notification settings - Fork 29
Implementation
Timm Luyten edited this page Feb 11, 2022
·
16 revisions
Using the base into your own gamemode can be done by:
- Implementing the PlayerBase class into your player class
partial class MyPlayer : PlayerBase
and calling the PlayerBase constructor on your player constructorpublic MyPlayer() : base() {}
- If you want the Deathmatch HUD (scoreboard, inventory, killfeed) you'll need to initialize it in your game constructor
public Game()
{
if ( IsServer )
{
new DeathmatchHud();
}
}
}