All pastes #298239 Raw Edit

Someone

public lua v1 · immutable
#298239 ·published 2006-12-31 19:17 UTC
rendered paste body
-- 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