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. Functions

�� SetBuild

𝗦𝗛𝗔𝗥𝗘𝗗

PreviousGetBuildNextGetDmg

Last updated 4 years ago

pl:SetBuild( state)

▸ Parameters

bool state sets whether player in build mode or not

▸ Description

Sets a player's current build mode state.

▸ Example

local function pl_onjoin( pl )
    pl:SetBuild( false )
end
rhook.new.gmod( 'PlayerInitialSpawn', 'builderx_pl_join_init', pl_onjoin )
◾
ᵇᵒᵒˡ