View difference between Paste ID: vSGR6Vvz and tuAthZPF
SHOW: | | - or go back to the newest paste.
1-
tfm.exec.newGame("@4556172")
1+
teamA={Arkiiss=true,Safwanrockz=true}
2-
for name,player in pairs(tfm.get.room.playerList) do
2+
function table.contains(t,element)
3-
	system.bindMouse(name, true)
3+
	if element==nil then
4
		return false
5-
5+
6-
function eventMouse(name, x, y)
6+
	for key,value in pairs(t) do
7-
   if tfm.get.room.playerList[name].isShaman then
7+
		if value==element then
8-
    if tfm.get.room.playerList[name].isFacingRight then
8+
			return true
9-
	tfm.exec.addShamanObject(19, x, y, 0, 0, 0, false)
9+
		end
10-
	else
10+
11-
	tfm.exec.addShamanObject(20, x, y, 0, 0, 0, false)
11+
	return false
12
end
13-
   end
13+
function eventChatCommand(name,cmd)
14
     if cmd == "checkteama" then
15
		 for n,p in pairs(tfm.get.room.playerList) do
16
			 if teamA[n]==tfm.get.room.playerList[n].isDead then
17
				 print("Dead players in Team A: "..n)
18
			 end
19
		 end
20
     end
21
end