General > Developers Corner
Gmod Nutscript Server How To Set Factions Health
iViscosity:
--- Quote from: Bytewave on May 31, 2016, 04:56:37 PM ---[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]
--- End quote ---
I was looking how to do that, thanks lol
Capin:
FACTION.name = "Deathwatch"
FACTION.desc = "Space Marine battle brother of the Sons of Dorn"
FACTION.color = Color(85,85,85)
FACTION.models = {
"models/player/group01/female_01.mdl",
"models/player/group01/female_02.mdl",
"models/player/group01/female_03.mdl",
"models/player/group01/female_04.mdl",
"models/player/group01/female_05.mdl",
"models/player/group01/female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/group01/male_02.mdl",
"models/player/group01/male_03.mdl",
"models/player/group01/male_04.mdl",
"models/player/group01/male_05.mdl",
"models/player/group01/male_06.mdl",
"models/player/group01/male_07.mdl",
"models/player/group01/male_08.mdl",
"models/player/group01/male_09.mdl",
}
FACTION.isDefault = false
SetMaxHealth(1000)
FACTION_DEATHWATCH = FACTION.index
An Error Has Occurred!
array_keys(): Argument #1 ($array) must be of type array, null given
[0] Board index
Go to full version