Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
erni

Вопрос по координатам

Вопрос : как и где искать координаты такого типа : 14791.965820 76.481781 14041

Если аходить в брауерную карту то там : 2979.38, 7822.50 (вообще через запятую) 

Надо для того что-бы прописывать точки спавна игрокам.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

координаты X Z Y

X широта

Z высота

Y Долгота

 

игрокам

 

X Y задаешь

 

А z получаешь Z = GetGame().SurfaceY(X,Y);

 

Пример

 

Vector pos = "2600 0 4700";

или

Vector pos = Vector(2600,0,4700);

pos[1] = GetGame().SurfaceY(pos[0],pos[2]);

 

Vector - это трехмерный массив с элементами типа float

 

 

Share this post


Link to post
Share on other sites



  • 0

@BorizzK то-есть допустим если я хочу указать точку спавна человека я ввожу : "765611434343434334|SurvivorF_Linda|1|vector(3122.81, 7677.19)" ? 

 

Координаты скопировал с карты.

Share this post


Link to post
Share on other sites
  • 0
7 часов назад, erni сказал:

@BorizzK то-есть допустим если я хочу указать точку спавна человека я ввожу : "765611434343434334|SurvivorF_Linda|1|vector(3122.81, 7677.19)" ? 

 

Координаты скопировал с карты.

для скриптов и конфигов эти значения надо брать с внутриигровых админок или debug монитора игры включенного

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.