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 serversDon'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
-
Our picks
Приветствую.
не могу прописать спавн игроков по координатам и с определенным лутом.
думал так сделать:
{
Entity PlayerEnt;
PlayerBase player = (PlayerBase) playerEnt;
GUID = player.GetIdentity (). GetPlainId (); // Steam 64
player1 = "XXXXXXXXXXXXXXXX" // Бенни
player2 = "XXXXXXXXXXXXXXXX"; // Тони
player3 = "XXXXXXXXXXXXXXXX"; // Данни
player4 = "XXXXXXXXXXXXXXXX"; // Отметить
player5 = "XXXXXXXXXXXXXXXX"; // Ян
экипаж спавн = "2774,92 1278,62";
если (GUID == player1)
{
playerEnt = GetGame (). CreatePlayer (identity, characterName, "2774.92 26.052 1278.62", 0, "NONE"); // Создает случайного игрока
}
иначе если (GUID == player2)
{
playerEnt = GetGame (). CreatePlayer (identity, characterName, "2774.92 26.052 1278.62", 0, "NONE"); // Создает случайного игрока
}
иначе если (GUID == player3)
{
playerEnt = GetGame (). CreatePlayer (identity, characterName, "2774.92 26.052 1278.62", 0, "NONE"); // Создает случайного игрока
}
еще если (GUID == player4)
{
playerEnt = GetGame (). CreatePlayer (identity, characterName, "2774.92 26.052 1278.62", 0, "NONE"); // Создает случайного игрока
}
иначе если (GUID == player5)
{
playerEnt = GetGame (). CreatePlayer (identity, characterName, "2774.92 26.052 1278.62", 0, "NONE"); // Создает случайного игрока
}
еще
{
playerEnt = GetGame (). CreatePlayer (identity, characterName, pos, 0, "NONE"); // Создает случайного игрока
}
Class.CastTo (m_player, playerEnt);
GetGame (). SelectPlayer (identity, m_player);
вернуть m_player;
}
не помогло. не говоря о прописке лута.
Share this post
Link to post
Share on other sites