This commit is contained in:
caelaislinn
2012-05-18 04:10:14 +10:00
27 changed files with 195 additions and 336 deletions
+7 -3
View File
@@ -95,20 +95,24 @@
else
alert("Admin jumping disabled")
/client/proc/Getmob(var/mob/M)
/client/proc/Getmob(var/mob/M in world)
set category = "Admin"
set name = "Get Mob"
set desc = "Mob to teleport"
if(!src.holder)
src << "Only administrators may use this command."
return
if(config.allow_admin_jump)
if(!M || !istype(M))
var/mobs = getmobs()
var/selection = input("Please, select a player!", "Admin Jumping", null, null) as null|anything in mobs
M = mobs[selection]
if(!istype(M))
if(!selection)
return
M = mobs[selection]
var/mob/A = src.mob
var/turf/T = get_turf(A)
if(T && isturf(T))