RE:CORD
Server API

hasGang

Server API for REC_Core, with configuration and implementation details.
Added
Updated
Server side

Match gang names and optional grades.

ArgumentTypeDescription
playerIdintegerConnection ID; use a positive integer unless the export explicitly accepts the console.
gangstring|string[]One gang name or a list of accepted names.
gradestable<integer, true>|integer[]?Set or list of accepted grade levels; nil or an empty table allows all.

A trailing ? marks an optional argument.

Returns boolean.

exports.REC_Core:hasGang(playerId, gang, grades)
©2026 RE:CORD Development Group. All rights reserved.