mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Updated Map Server namespace. Moved all other data folders (www and sql) to data folder. Renamed boot name to Project Meteor.
This commit is contained in:
19
Data/scripts/commands/gm/zonecount.lua
Normal file
19
Data/scripts/commands/gm/zonecount.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
require("global");
|
||||
|
||||
properties = {
|
||||
permissions = 0,
|
||||
parameters = "",
|
||||
description =
|
||||
[[
|
||||
Get the amount of actors in this zone.
|
||||
!zonecount
|
||||
]]
|
||||
|
||||
}
|
||||
|
||||
function onTrigger(player, argc)
|
||||
|
||||
local message = tostring(player.zone.GetAllActors().Count);
|
||||
|
||||
player.SendMessage(0x20, "", message);
|
||||
end
|
||||
Reference in New Issue
Block a user