Garry's Mod

Garry's Mod

Otillräckligt med betyg
[ULX] BuildMode - Extremely fast and flexible!
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Roleplay
Filstorlek
Lades upp
Uppdaterades
8.750 KB
27 jul, 2023 @ 13:08
30 okt, 2023 @ 10:42
7 ändringsnotiser ( visa )

Abonnera för att ladda ner
[ULX] BuildMode - Extremely fast and flexible!

I 2 samlingar av тройка
Space collection
101 artiklar
Space Re:New
95 artiklar
Beskrivning
The addon adds the ability for players to toggle buildmode and adds basic features for it to work, supports customization. Basically prevents players with buildmod from dealing damage to other players, as well as other players cannot deal damage to players in buildmode. Players with builmode can use noclip by default.

Features
  1. Universal and easy Developer API.
  2. Multilanguage ( By default supports: en, uk, ru ).
  3. Lightweight, very little code, maximum code performance.

Server-side ConVars
  • ulx_buildmode_timeout <5> - Delay in seconds between switch buildmode or pvp.
  • ulx_buildmode_respawn <1> [0/1] - Respawns player if he leaves buildmode.

Developer API
  • PLAYER:InBuildMode() - A shared player meta function, returns true if the player is in build mode and false if not.
  • PLAYER:SetBuildMode( requestedState, hideNotification, force ) - A server-side player meta function, returns true if the buildmode switch is successful, force forced buildmode switch on player ignoring CanPlayerBuildMode hook, hideNotification hides notifications about buildmode switch.
  • GM:CanPlayerBuildMode( ply, currentState, requestedState ) - A server-side hook, called when a player tries to change the buildmode state, return here true allows the player to change the buildmode state to requested state.
  • GM:PlayerToggledBuildMode( ply, oldState, newState ) - A server-side hook called after a player changes build mode.

Source Code (GitHub): https://github.com/Pika-Software/ulx-buildmode

Tags: pvp/build, build, ulx build, godmode, noclip, no blood, kill, pvp, ulx, fun, safe, free, developer, api
4 kommentarer
Virgiliu314 15 aug @ 12:43 
Okay then, thanks!
тройка  [skapare] 15 aug @ 12:42 
forcebuild command was fixed in github version, i recommend use that
https://github.com/Pika-Software/ulx-buildmode
тройка  [skapare] 14 aug @ 5:17 
I'm comeback from 2-3 years and got it problem. I'll try to fix it soon
Virgiliu314 26 apr, 2024 @ 7:58 
the force buildmode command seems to not work, i have tried several times to force people into pvp after they've killed people while in build