WinHexs Posted July 4, 2018 Share Posted July 4, 2018 Доброго времени суток, подскажите, как изменить стандартный спавн игрока при подключении к серверу и после смерти? На [DisableDefaultOnDeathRespawn] Visual Studio ругается "Не удаётся найти тип или имя пространства имён, GTANetworkAPI подключён. Link to comment Share on other sites More sharing options...
WinHexs Posted July 4, 2018 Author Share Posted July 4, 2018 Решил, NAPI.Server.SetAutoRespawnAfterDeath(false) и NAPI.Server.SetAutoSpawnOnConnect(false) или NAPI.Server.SetDefaultSpawnLocation(new Vector3(0, 0, 0)) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now