Files
2026-03-15 14:54:49 +03:00

25 lines
614 B
Lua

DarkRP.hookStub{
name = "OnPlayerChangedTeam",
description = "When your team (job) is changed.",
parameters = {
{
name = "ply",
description = "The player that changed team. Clientside this hook is only called for the LocalPlayer.",
type = "Player"
},
{
name = "before",
description = "The team before the change.",
type = "number"
},
{
name = "after",
description = "The team after the change.",
type = "number"
}
},
returns = {
}
}