dofile (GetDir() .. "\\scripts\\AAAA\\test.lua");
ProcessCommand("/scriptstop"..(GetDir() .. "\\scripts\\AAAA\\test.lua"));
(03-01-2015 11:16 AM)benbt91 Wrote: [ -> ]Hi Guys ! Anyone know how can start and stop scripts at another folder inside scripts floder ? like this : LUA Programming dofile (GetDir() .. "\\scripts\\AAAA\\test.lua"); i try use but don't work : LUA Programming ProcessCommand("/scriptstop"..(GetDir() .. "\\scripts\\AAAA\\test.lua")); thnks
Command(".scriptStart " .. customScript .. ".lua");
(03-03-2015 21:32 PM)raid1141 Wrote: [ -> ] (03-01-2015 11:16 AM)benbt91 Wrote: [ -> ]Hi Guys ! Anyone know how can start and stop scripts at another folder inside scripts floder ? like this : LUA Programming dofile (GetDir() .. "\\scripts\\AAAA\\test.lua"); i try use but don't work : LUA Programming ProcessCommand("/scriptstop"..(GetDir() .. "\\scripts\\AAAA\\test.lua")); thnks thnks i will check it Use "Command" instead: LUA Programming Command(".scriptStart " .. customScript .. ".lua");