Help Portal

Exports & API

All Functions only accessible at server side

Good to know: You can use all functions as event or manipulation of the logic

Functions

Send a notify
exports.RocketSoccer:Notify(source, message)
Start a round
exports.RocketSoccer:StartRound(sourceOrange, sourceBlue)
Stop a round
exports.RocketSoccer:StopRound()
Get a player name
exports.RocketSoccer:GetPlayerName(source)
Check if player is allowed to join the queue
exports.RocketSoccer:IsPlayerAllowed(source)
Add a player to the queue
exports.RocketSoccer:AddPlayerToQueue(source, team, force, player)