danywa
Активный
- 358
- 50
Lua:
package.path = getRakBotPath().."/scripts/libs/?.lua;"..getRakBotPath().."/scripts/libs/?/init.lua;";
package.cpath = getRakBotPath().."/scripts/libs/?.dll";
require("luaAddons.object")
local act = true
function onObjectCreate(id, data)
if act then
if data.modelId == 19820 or 2726 or 14705 then
pos_x_object = data.position.x
pos_y_object = data.position.y
pos_z_object = data.position.z
--printLog(data.modelId..' g'..pos_x_object..', '..pos_y_object..', '..pos_z_object)
coordMasterStart(pos_x_object, pos_y_object, pos_z_object)
act = false
end
end
end