DarkRP.TeamChanged

From DarkRP
Jump to navigation Jump to search
This page refers to DarkRP 2.4.3. This information may be incorrect as of later versions.
Check here for a up-to-date list of hooks.

Syntax[edit]

DescriptionCalled when the local player changed team
Syntax
GAMEMODE:TeamChanged(number before, number after)
Returnsnil

Arguments

  • before (number)
  • The team the local player used to have

  • after (number)
  • The team the local player has now