Update 'In Game Admin Helpers'
@@ -19,6 +19,19 @@ Change to time x:
|
|||||||
skipTime ((x - dayTime + 24) % 24);
|
skipTime ((x - dayTime + 24) % 24);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Get a Specific Player
|
||||||
|
```
|
||||||
|
name (playableUnits select x)
|
||||||
|
```
|
||||||
|
returns the name of unit
|
||||||
|
eg.
|
||||||
|
```
|
||||||
|
name (playableUnits select 1)
|
||||||
|
(playableUnits select 1) setPos (getPos player)
|
||||||
|
```
|
||||||
|
Get the name of unit in position 1 (indexing starts from 0), then teleport them to me if run locally.
|
||||||
|
|
||||||
|
|
||||||
# Get All Loadout Items
|
# Get All Loadout Items
|
||||||
```
|
```
|
||||||
AllPlayableUnitsItens = [];
|
AllPlayableUnitsItens = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user