Player:SetSquad

Player:SetSquad(player: Player, squad: SquadId)

Parameters

Name Type Description
player Player
squad SquadId

Example

Events:Subscribe('Player:SetSquad', function(player, squad)
    -- Do stuff here.
end)
Last modified April 27, 2020: Regenerate all API documentation (0b49d6be)