SetViewModes

From The KillerJim Mod Wiki

PlayerProxy::SetViewModes

SetViewModes.png

Client Only Function - This API call can only be called on clients.

Description

This can be called on any client to alter how the players character is viewed. You can allow either free selection (used in sandbox, where a key can toggle between 1st and 3rd person) or force a particular view for your game-mode (1st or 3rd camera).

Arguments
1 FKJModPlayerViewModes viewMode
The required view mode

Playing

Developers

Developer Reference