eluna-scripts-ornfelt/lua/WowEmulationScriptPack/Lua/Misc/guidtest.lua

10 lines
249 B
Lua
Raw Permalink Normal View History

2023-08-16 00:50:59 +02:00
local function OnCommand(event, player, command)
if(command == "test") then
local plrs = GetPlayersInWorld()
for i,v in pairs(plrs)do
print(v:GetGUIDLow().." "..v:GetName())
end
end
end
RegisterPlayerEvent(42, OnCommand)