Lua IsGm

From ArcEmu-Wiki
Jump to: navigation, search

Description

A Boolean: determines if the player is GM or not.

Usage/Examples

function playercheck()
	for _,v in pairs(GetPlayersInWorld()) do
		if(v:IsGm()==true) then
			v:SendBroadcastMessage("Hey it's a GM!")
		end
	end
end
Personal tools