Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- teamA={Arkiiss=true,Safwanrockz=true}
- function table.contains(t,element)
- if element==nil then
- return false
- end
- for key,value in pairs(t) do
- if value==element then
- return true
- end
- end
- return false
- end
- function eventChatCommand(name,cmd)
- if cmd == "checkteama" then
- for n,p in pairs(tfm.get.room.playerList) do
- if teamA[n]==tfm.get.room.playerList[n].isDead then
- print("Dead players in Team A: "..n)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment