You could just do if (FirstPlayer := AllPlayers[0]) {TeleportDrop.Teleport(FirstPlayer)}
A player is a child of the agent class, so when a function requires an agent, you can use a player.
1 Like
You could just do if (FirstPlayer := AllPlayers[0]) {TeleportDrop.Teleport(FirstPlayer)}
A player is a child of the agent class, so when a function requires an agent, you can use a player.