Builder-X
Browse ScriptsDownload RLIB
v2.x
v2.x
  • Introduction
  • Showcase
  • Changelog
    • β—Ύ2.0.1.0
    • β—Ύ2.0.0.0
  • FAQ
    • β—ΎAddon Won't Show
    • β—ΎIncompatible Addons
    • β—ΎDamage Issues
    • β—ΎModified Script
    • β—ΎRefunds
    • β—ΎScript Errors
    • β—ΎWhen Are Updates?
  • ❱ Setup
    • β—ΎInstall
    • β—ΎVerify
    • β—ΎWorkshop
    • β—ΎDocs/Web
  • ❱ Configuration
    • β—ΎEnv
    • β—ΎFonts
    • β—ΎLanguages
    • β—ΎSettings
      • β–Έsh_cfg_bg
  • ❱ First Use
    • β—ΎBinds
  • ❱ Developers
    • β—ΎFunctions
      • 🟦GetBuild
      • οΏ½οΏ½ SetBuild
      • 🟦GetDmg
      • 🟦SetDmg
      • 🟦AddDmg
    • β—ΎHooks
      • πŸ”—builderx.mode.onswitch
      • πŸ”—builderx.pl.ondamage
      • πŸ”—builderx.pl.onjoin
      • πŸ”—builderx.pl.onnoclip
Powered by GitBook
On this page
  • β–Έ Parameters
  • β–Έ Description
  • β–Έ Example
  1. ❱ Developers
  2. Hooks

builderx.pl.onjoin

πŸŸ₯ π—¦π—˜π—₯π—©π—˜π—₯

Previousbuilderx.pl.ondamageNextbuilderx.pl.onnoclip

Last updated 4 years ago

builderx.mode.onswitch( pl)

β–Έ Parameters

ply pl player object

β–Έ Description

Runs when player joins server and is initially setup with builderx to be in pvp mode

β–Έ Example

local function your_hook( pl )

    // your custom hook function here

end
hook.Add( 'builderx.pl.onjoin', 'your_hook_id', your_hook )
hook.Add( 'builderx.pl.onjoin', 'your_hook_id', function( pl )

    // your custom hook function here

end )
local function your_hook( pl )

    // your custom hook function here

end
rhook.new.rlib( 'builderx_mode_onjoin', your_hook )
β—Ύ
πŸ”—
ᡖˑᡃʸᡉʳ