全部文本 #298239 原始 编辑

Someone

公开 lua v1 · 不可变
·已发布 2006-12-31 19:17 UTC
渲染后的文本正文
-- Global Constantsg_arena = nilg_state = nilg_count = 0g_gameRunning = falsefunction Arena_OnCreate(arena)	g_arena = arenaendfunction On_FlagGameStart()local total = g_arena:num()	for i = 1, total do		g_arena:message("looping ".. i)		local plyr = g_arena:get(i)				if (plyr:spectator() == true) then					g_arena:message("player in spec")			break		end		plyr:message("If in spec you should not see this message")	-- if you are a medic		if (plyr:skill_find(1) == true) then			plyr:message("you are a medic")		end	endend