Back to TPG

TPG.Maps.GetCustomSpawn

S🏷️ Custompoints

Part of TPG namespace

TPG.Maps.GetCustomSpawn(teamId)
View on GitHub|gamemode/maps/sv_custom_points.lua:156-160
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

A team's custom spawn point, if an admin placed one for that team.

Parameters

NameTypeDescription
teamIdnumberTEAM_GREEN or TEAM_RED.

Returns

TypeDescription
Vectornil if no spawn was placed for that team.

Examples

No examples available.

Used In

No usages found in the codebase.