Revision Difference
DoPlayerDevCam#545948
<cat>Code.Player</cat>
<title>DoPlayerDevCam</title>
# What is a DoPlayerDevCam ?
It is a function which allows to block the devcam to the player.
It is a function which allows to block devcam to all the players.
# 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/)⤶
⤶
So you are the creator of the gamemode, and for debugging or any reasons, you need to access the DevCam.
⤶
- `SteamId` - This is called steamID64 (Decimal), 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 );
}
```
⤶
⤶
⤶