Added commands zr_zspawn_force, and zr_ztele_force.

Added options to ZAdmin that allow admins to force spawn players, or force teleport players.
This commit is contained in:
Greyscale
2009-06-25 17:03:34 -07:00
parent 1dff60542e
commit 3f08d6f72c
9 changed files with 499 additions and 93 deletions

View File

@ -790,6 +790,40 @@
"en" "Zombies may now only be damaged by headshots."
}
// ===========================
// ZAdmin (core)
// ===========================
"ZAdmin main title"
{
"en" "ZAdmin\n Select Category:"
}
"ZAdmin main class multipliers"
{
"en" "Class Multipliers"
}
"ZAdmin main weapons"
{
"en" "Weapon Management"
}
"ZAdmin main zombie"
{
"en" "Zombie Management"
}
"ZAdmin main force zspawn "
{
"en" "Force ZSpawn"
}
"ZAdmin main force ztele"
{
"en" "Force ZTele"
}
// ===========================
// Spawn Protect (module)
// ===========================
@ -848,6 +882,8 @@
// ZSpawn (module)
// ===========================
// General
"ZSpawn double spawn"
{
"en" "ZSpawn can only be used if you joined late during a round in progress."
@ -859,6 +895,33 @@
"en" "The timelimit ({1} seconds), to use ZSpawn, has already expired."
}
// Menu
"ZSpawn clients title"
{
"en" "Force ZSpawn (zr_zspawn_force)\nSelect a Player:"
}
// Commands
"ZSpawn command force syntax"
{
"en" "Force ZSpawn on a client. Usage: zr_zspawn_force <client> ['0' = Spawn as human | '1' = Spawn as zombie]"
}
"ZSpawn command force successful"
{
"#format" "{1:s}"
"en" "Player {1} was successfully ZSpawned."
}
"ZSpawn command force unsuccessful"
{
"#format" "{1:s}"
"en" "Player {1} couldn't be ZSpawned."
}
// ===========================
// ZTele (module)
// ===========================
@ -906,6 +969,33 @@
"en" "Teleported back to spawn. (Count: {1}/{2})"
}
// Menu
"ZTele clients title"
{
"en" "Force ZTele (zr_ztele_force)\nSelect a Player:"
}
// Commands
"ZTele command force syntax"
{
"en" "Force ZTele on a client. Usage: zr_ztele_force <client>"
}
"ZTele command force successful"
{
"#format" "{1:s}"
"en" "Player {1} was successfully ZTele'd."
}
"ZTele command force unsuccessful"
{
"#format" "{1:s}"
"en" "Player {1} couldn't be ZTele'd."
}
// ===========================
// ZHP (module)
// ===========================
@ -944,28 +1034,4 @@
"#format" "{1:s},{2:d}"
"en" "Player {1} has been slayed for camping in a restricted area. (ID: {2})"
}
// ===========================
// ZAdmin Menu
// ===========================
"ZAdmin main title"
{
"en" "ZAdmin\n Select Category:"
}
"ZAdmin main class multipliers"
{
"en" "Class Multipliers"
}
"ZAdmin main weapons"
{
"en" "Weapon Management"
}
"ZAdmin main zombie"
{
"en" "Zombie Management"
}
}