Revision Difference
DoPlayerDevCam#545793
<cat>Code.Player</cat>⤶
<title>DoPlayerDevCam</title>⤶
⤶
# What is a DoPlayerDevCam ?⤶
⤶
It is a function which allows to block the devcam to the player.⤶
⤶
# Example⤶
⤶
```csharp⤶
public override void DoPlayerDevCam( Client player )⤶
{⤶
base.DoPlayerDevCam( player );⤶
}⤶
```⤶
⤶
# How to add an exception ?⤶
⤶
An exception ?⤶
Yes for example if you are the creator of the gamemode you would have the possibility to put you in devcam mode.⤶
⤶
- `SteamId` - This called you steam id in steamID64 (Dec), you can find your steam id here : [SteamIdFinder](https://www.steamidfinder.com/)⤶
⤶
⤶
# Example⤶
⤶
```csharp⤶
public override void DoPlayerDevCam( Client player )⤶
{⤶
if ( player.SteamId != YourSteamIdHereIn64Dec)⤶
return;⤶
base.DoPlayerDevCam( player );⤶
}⤶
```⤶
⤶
⤶