Useful Lua Functions - Jackarunda/gmod GitHub Wiki

Server

NOTE:

JMod.AddNewRadioOutpost(tostring(teamID))

Description

This function is ran by developers to grant a team an additional outpost. Useful for radios working simultaneously on a team to speed up production.

Arguments:

Team teamID Specifies the team to add the outpost to.

JMod.RemoveRadioOutpost(tostring(teamID))

Description

This function is ran by developers to strip a team of an additional outpost. Useful for punishing a team for whatever reason, such as losing a control point, etc.

Arguments:

Team teamID Specifies the team to remove the outpost from.