mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
16 lines
No EOL
270 B
Lua
16 lines
No EOL
270 B
Lua
require("global");
|
|
|
|
properties = {
|
|
permissions = 0,
|
|
parameters = "d",
|
|
description = "Spawns a actor",
|
|
}
|
|
|
|
function onTrigger(player, argc, actorName)
|
|
|
|
if (actorName ~= nil) then
|
|
zone = player:GetZone();
|
|
actor = zone:DespawnActor(actorName);
|
|
end
|
|
|
|
end; |