Part of StarfallEx namespace
๐ External
hook.add("PlayerChangedTeam", "name", function(ply, oldTeam, newTeam) end)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Called when a player has changed team using Player:SetTeam
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player | Player whose team has changed |
oldTeam | number | Index of the team the player was originally in. See team.getName and the team library |
newTeam | number | Index of the team the player has changed to. |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.