DarkRP.TeamChanged

From Official DarkRP Wiki
Jump to: navigation, 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

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