eluna-scripts-ornfelt/lua/WowEmulationScriptPack/Lua/Misc/guidtest.lua
2024-09-23 07:59:23 +02:00

10 lines
No EOL
249 B
Lua

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)