File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 12
12
using Exiled . CustomItems . API . Features ;
13
13
14
14
using Object = UnityEngine . Object ;
15
+ using Exiled . API . Extensions ;
15
16
16
17
namespace ShootingRange . API
17
18
{
18
19
public class SpectatorRange
19
20
{
20
21
private Vector3 _smallBound = new ( - 173.7f , 1003.4f , - 45 ) ;
21
- private Vector3 _bigBound = new ( - 143.7f , 1006 .8f, - 37.9f ) ;
22
+ private Vector3 _bigBound = new ( - 143.7f , 1016 .8f, - 37.9f ) ;
22
23
public Vector3 Spawn { get ; } = new ( - 161.1f , 1004.9f , - 42.1f ) ;
23
24
public bool IsOpen => Round . IsStarted && Respawn . TimeUntilRespawn > 20 ;
24
25
@@ -70,6 +71,7 @@ public bool TryAdmit(Player player)
70
71
player . Position = Spawn ;
71
72
player . Health = 100000 ;
72
73
player . Broadcast ( PluginMain . Singleton . Config . RangeGreeting ) ;
74
+ player . ChangeAppearance ( RoleType . ChaosConscript ) ;
73
75
} ) ;
74
76
return true ;
75
77
}
@@ -101,7 +103,7 @@ public void SpawnTargets()
101
103
}
102
104
public void SpawnPrimitives ( )
103
105
{
104
- const float thick = 0.1f ;
106
+ const float thick = 0.3f ;
105
107
const float frontHeight = 1.9f ;
106
108
Color color = Color . clear ;
107
109
Vector3 dif = _bigBound - _smallBound ;
You can’t perform that action at this time.
0 commit comments