Faction
Server functions that are in some way related to the faction aspects.
Wosa.Character.Faction.Add(
user, --[[ int ]]
job, --[[ string ]]
rank, --[[ string ]]
subRank --[[ string ]]
)
--[[
Parameters:
-> user: The PlayerID of the user.
-> job: The "job" label so to say, for pd it is "Law Enforcement" etc.
-> rank: The current "rank" in the faction.
-> subRank: Can leave it as anything, can be used for anything "extra" such as callsign etc.
Description:
Add a player to a faction manually. This just straight accesses the database and uses a
"insert" method to add it manually to the database. As this is not synced with the server or
client at all the player will most likley have to restart their game for the rank to be active.
]]Last updated
Was this helpful?