Garry's Mod Wiki

Revision Difference

GM:PlayerSelectTeamSpawn#552851

<function name="PlayerSelectTeamSpawn" parent="GM" type="hook"> <ishook>yes</ishook>⤶ <description>Find a team spawn point entity for this player.</description> <realm>Server</realm> <args> <arg name="team" type="number">Players team</arg> <arg name="ply" type="Player">The player</arg> </args> <rets> <ret name="" type="Entity">The entity to use as a spawn point.</ret> </rets> </function>