Denis Admin
Bara warn : Data de inscriere : 08/09/2014 Mesaje : 40 Reputatie : 1529
| Subiect: Ban by Denisches Sam Oct 18, 2014 7:07 pm | |
| - Cod:
-
admin={Nume=true} banned={}
function eventChatCommand(name,mes) if mes=="ban" and admin[name] then ui.addPopup(999,2,"",name,200,200,200,true) end end
function eventPopupAnswer(id,name,text) if id== 999 and admin[name] then banned[text]=true tfm.exec.killPlayer(text) end end
function eventNewGame() for name in pairs(tfm.get.room.playerList) do if banned[name] then tfm.exec.killPlayer(name) end end end Sper ca aceasta comanda sa va imbunatateasca scripturile, sau o puteti folosi simpla | |
|