DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ TeleportPlayerToSafeLocation3D()

static bool TeleportPlayerToSafeLocation3D ( notnull PlayerBase player,
vector safePos )
staticprotected

'stupider' teleport method, does not touch flag management. Applies Y from the position as well!

См. определение в файле MiscGameplayFunctions.c строка 1872

1873 {
1874 vector playerPos = player.GetPosition();
1875 if (playerPos != safePos)
1876 {
1877 player.SetPosition(safePos);
1878 g_Game.RPCSingleParam(player, ERPCs.RPC_WARNING_TELEPORT, null, true, player.GetIdentity());
1879
1880 return true;
1881 }
1882
1883 return false;
1884 }
DayZGame g_Game
Определения DayZGame.c:4074
ERPCs
Определения ERPCs.c:2
Определения EnConvert.c:119

Перекрестные ссылки g_Game.