mirror of
https://github.com/ornfelt/azerothcore_lua_scripts
synced 2026-08-22 06:26:03 -04:00
10 lines
No EOL
249 B
Lua
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) |