rpg-x2-rpgxef/RPG-X2 Lua Documentation/oldfiles/beta844ff/examples/SpawningEnts.lua
Walter Julius Hennecke 27269ee319 initial commit
2012-05-05 13:49:28 +02:00

7 lines
No EOL
179 B
Lua

function Example()
local ent = entity.Spawn()
if ent == nil then return;
ent:SetKeyValue("classname", "info_notnull");
mover:SetPosition(0, 0, 0);
entity.CallSpawn(ent);
end