364 {
366 PlayerBase player = PlayerBase.Cast(playerEnt);
368
369 player.GetStatWater().Set(3000);
370 player.GetStatEnergy().Set(3000);
371 player.SetAllowDamage(false);
372 player.SetCanBeDestroyed(false);
373 player.DisableSimulation(true);
374
375 FreeDebugCamera.GetInstance().SetFOV(0.72);
376 FreeDebugCamera.GetInstance().SetActive(true);
377 }
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()