General > Developers Corner
Gmod Nutscript Server How To Set Factions Health
Capin:
I have no idea how I'm supposed to setup the health that a faction spawns with, could someone please tell me what kind of function I need to put in that factions lua file?
iViscosity:
I don't know exactly what you're talking about, but I believe the Entity:SetMaxHealth line might help you here.
Capin:
That doesn't work
iViscosity:
Can I see the code that you have right now? Please post it using the (code=lua) tag (with brackets [] not parentheses)
Bytewave:
--- Quote from: iViscosity on May 31, 2016, 03:36:30 PM ---Can I see the code that you have right now? Please post it using the (code=lua) tag (with brackets [] not parentheses)
--- End quote ---
[offtopic]
You can use [nobbc][/nobbc] tags to disable BBCode parsing for anything between them.
Example:
[b]bold[/b] ---> bold
[nobbc][b]bold[/b][/nobbc] ---> [b]bold[/b]
[/offtopic]
Navigation
[0] Message Index
[#] Next page
Go to full version