mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Holowarrants
This commit is contained in:
@@ -90,7 +90,7 @@ var/warrant_uid = 0
|
||||
W.fields["auth"] = "Unauthorized"
|
||||
W.fields["arrestsearch"] = "arrest"
|
||||
if(temp == "search")
|
||||
W.fields["namewarrant"] = "No location given"
|
||||
W.fields["namewarrant"] = "No suspect/location given" // VOREStation edit
|
||||
W.fields["charges"] = "No reason given"
|
||||
W.fields["auth"] = "Unauthorized"
|
||||
W.fields["arrestsearch"] = "search"
|
||||
@@ -135,7 +135,9 @@ var/warrant_uid = 0
|
||||
|
||||
if(href_list["editwarrantauth"])
|
||||
. = 1
|
||||
|
||||
if(!(access_hos in I.access)) // VOREStation edit begin
|
||||
to_chat(user, "<span class='warning'>You don't have the access to do this!</span>")
|
||||
return // VOREStation edit end
|
||||
activewarrant.fields["auth"] = "[I.registered_name] - [I.assignment ? I.assignment : "(Unknown)"]"
|
||||
|
||||
if(href_list["back"])
|
||||
|
||||
Reference in New Issue
Block a user