mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-21 20:27:47 +00:00
19 lines
304 B
Lua
19 lines
304 B
Lua
![]() |
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
|