Skip to content

entities.GetGameRules

Get the 'CCSGameRulesProxy' entity.

Syntax

userdata entities.GetGameRules()

Parameters

This function has no parameters.

Return value

The function returns the 'CCSGameRulesProxy' entity.

Example

local gameRules = entities.GetGameRules();