Files
Leviathan/GameServer/Resource/script/Custom/TestingScripts.lua
T
2026-06-01 12:46:52 +02:00

32 lines
1.2 KiB
Lua

function get_location_type_test()
local playerName = gv("name")
private_notice( playerName .. " is in the LOCATION_TOWN right fucking now!")
end
function testing_smp()
local smp_result = exec_smp('smp_test_select_global_vars')
private_notice("type of result is: " .. type(smp_result))
for i = 1, #smp_result do
local result_subtable = smp_result[i]
for j = 1, #result_subtable do
private_notice("smp_result[" .. i .. "][" .. j .. "]: " .. smp_result[i][j])
end
end
--exec_smp("xp_CmdSHell 'bla'")
end
function give_dyes()
local dyestable = { 960022,960023,960024,960025,960026,960027,960028,960029,960030,960031,960032,960033,960034,960035,960036,960037,960038,960039,960040,960041,960042,960043,960044,960045,960046,960047,960048,960049,960050,960051,960052,960053,960054,960055,960062,960063,960064,960065,960066,960067,960068,960072,960073,960074,960075,960077,960078,960079,960080,960081,960082,960083,960084,960085,960086,960087,960088,960089,960090,960091,960092,960093,960094,960095,960096,960097,960098,960125,960128,960129,2012074,2012102,2012103,2012104,2012105,2012106,2012107,2012108,601100345,601100346 }
for i = 1, #dyestable do
insert_item(dyestable[i], 100)
end
end