Exports (API Communication)
All Functions only accessible at server side
Functions
Send a notify
exports["RocketSoccer"]:Notify(source, message)Name
Type
Start a round
exports["RocketSoccer"]:StartRound(sourceOrange, sourceBlue)Name
Type
Stop a round
exports["RocketSoccer"]:StopRound()Get a player name
exports["RocketSoccer"]:GetPlayerName(source)Name
Type
Check if player is allowed to join the queue
exports["RocketSoccer"]:IsPlayerAllowed(source)Name
Type
queue[team][source] = trueAdd a player to the queue
exports["RocketSoccer"]:AddPlayerToQueue(source, team, force, player)Name
Type
queue[team][source] = true / falseCheck if player is in the queue of a team
Name
Type
Remove a player from the queue
Name
Type
Get the current round
Spawn a vehicle
Name
Type
Spawn a object
Name
Type
Events
OnExploit
Name
Type
OnWinning
OnGoal
Last updated