mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 19:57:46 +00:00
16 lines
270 B
Lua
16 lines
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;
|