mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
My first commit, yay!
Removing: -Erro code of r4861. Xsi gave me permission p-please don't kill me. Proc added: -Added a proc that checks the rank of the admin and compares it to a var given. If the check fails, returns a 0 and a "You need more acces" message. If not, returns an 1. admin_rank_check(var/rank, var/requested) Admin option changes: -You need to be at least a trialmin to change a var in VV. -You need to be at least a trialmin to change the vars on the tator panel -You need to be at least a trialmin to allow votes or start a custom one. (All admins can cancel votes) -All mob transformations (of playerpanel and VV) and special options (like godmode), now requires trialmin status or higher. -All admins can use aghost now. -All admins can right click - VV if they are a ghosting. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4889 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -181,6 +181,10 @@ var/list/admin_datums = list()
|
||||
|
||||
if(href_list["simplemake"])
|
||||
|
||||
if (!(src.rank in list("Trial Admin", "Badmin", "Game Admin", "Game Master")))
|
||||
alert("You cannot perform this action. You must be of a higher administrative rank!")
|
||||
return
|
||||
|
||||
if(!href_list["mob"])
|
||||
usr << "Invalid mob"
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user