352 {
354 PlayerBase player = PlayerBase.Cast(playerEnt);
356
357 player.GetStatWater().Set(3000);
358 player.GetStatEnergy().Set(3000);
359 player.SetAllowDamage(false);
360 player.SetCanBeDestroyed(false);
361
362 FreeDebugCamera.GetInstance().SetFOV(0.72);
363 FreeDebugCamera.GetInstance().SetActive(true);
364 }
proto native void SelectPlayer(PlayerIdentity identity, Object player)
Selects player's controlled object.
proto native Entity CreatePlayer(PlayerIdentity identity, string name, vector pos, float radius, string spec)
Assign player entity to client (in multiplayer)
BenchmarkLocation m_CurrentLocation
proto native CGame GetGame()