Hello,
I have a quick question for anyone that can help me out:
okay so first off, i managed to create a faction in darkrrp but i am wondering just how the heck i am supposed to be able to add people to the faction? is there a specific command or something or what?
DarkRP doesn't have factions.. Do you mean jobs?
I feel like he means like the gang related stuff for an example "mob boss" and "gangster"
[QUOTE=DiscoKnight;49151756]I feel like he means like the gang related stuff for an example "mob boss" and "gangster"[/QUOTE]
no i mean something like this:
[code]TEAM_FACTIONNAME = DarkRP.createJob("JOB TITLE", {
--^Change the FACTIONNAME to the name of the desired faction. Job title is the title of which will appear in F4-jobs.
color = Color(255, 242, 0, 255),
--^Color of job. This will influence colors of chat broadcasting and possibly the TAB color.
model = "models/player/soldier_stripped.mdl",
--^Player-model of the faction members. You may find exact paths in your garrysmod\models\player folder. USE .MDL.
description = [[My first supercool faction thanks to Ent:King, join us!]],
--^Description seen in the F4 menu when selecting or hovering the job.
weapons = {},
--^What weapon to start with? Example: "lockpick". Find more by using tab and reading the green notification.possible, example:
command = "FACTIONNAME",
--^The command to join the faction.
max = 5,
--^Max members in the job simultaneously.
salary = 120,
--^Salary
admin = 0,
--^Admin job? if so = 1
vote = false,
--^Require vote to join the job?
hasLicense = true,
--^Has a gun license? If not make = false
customCheck = function(ply) return
ply:SteamID() == "STEAM_0:1:11517492" or
ply:SteamID() == "STEAM_0:0:5971531" or
ply:SteamID() == "ADD" or
ply:SteamID() == "ADD" or
ply:SteamID() == "ADD" or
ply:SteamID() == "ADD" or
ply:SteamID() == "ADD" or
ply:SteamID() == "ADD"
end
--^SteamIDs of the members.
})
GM:AddGroupChat(function(ply) return ply:IsCP() end)
GM:AddGroupChat(TEAM_FACTIONNAME)
--^Faction name for your Group chat. Must be the same as above, mind capitals!
AddDoorGroup("FACTION NAME", TEAM_FACTIONNAME)
--^Faction name for door groups. TEAM_ must be the same as above, mind capitals![/code]
thats direct from darkrp wiki @ [url]http://wiki.darkrp.com/index.php/DarkRP:Factions[/url]
So what exactly do you not understand? The wiki explains what file you need to edit.
[QUOTE=boxvader;49152397]So what exactly do you not understand? The wiki explains what file you need to edit.[/QUOTE]
im wondering how i add people ingame to the faction because i dont know how to do it ingame, thats what im asking
That is just a job, so it would be on the jobs tab
okay thank you gefron.
But i do have another question before i mark this as solved:
can you add ranks to jobs like for example: pvt, pfc, cpl, etc? if so how would i go about doing that for the job?
[QUOTE=gamersrule44;49152439]okay thank you gefron.
But i do have another question before i mark this as solved:
can you add ranks to jobs like for example: pvt, pfc, cpl, etc? if so how would i go about doing that for the job?[/QUOTE]
Just make jobs with those ranks.
Sorry, you need to Log In to post a reply to this thread.