Public rank change log: sa_rank_log, written on rank changes, listed on the Staff page
This commit is contained in:
parent
861692c534
commit
611b79cdba
11 changed files with 346 additions and 17 deletions
|
|
@ -124,6 +124,9 @@ func (id *Identity) Has(flag string) bool {
|
|||
return slices.Contains(id.Flags, "@css/root") || slices.Contains(id.Flags, flag)
|
||||
}
|
||||
|
||||
// actor is who the store credits for a change.
|
||||
func (id *Identity) actor() store.Actor { return store.Actor{SteamID: id.SteamID, Name: id.Name} }
|
||||
|
||||
// CanTarget follows CounterStrikeSharp: you can act on players whose immunity isn't above yours.
|
||||
// Nobody acts on themselves through the panel.
|
||||
func (id *Identity) CanTarget(x *staffIndex, steamid string) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue