Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- A construção
- -- Créditos:Brenower
- -- Tables
- data={""}
- win=0;
- shamans={};
- ratos=0;
- mapas={"1"};
- -- Inicio do script
- tfm.exec.disableAutoScore(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.disableAutoTimeLeft(true)
- for player,name in pairs(tfm.get.room.playerList) do
- newData = {
- ["pontos"]=0;
- ["queijos"]=0;
- ["primero"]=0;
- ["sucess"]=0;
- ["ban"]=false;
- ["title"]="Mini construtor";
- ["titlef"]="Rato novato";
- ["titleq"]="Queijosburguer";
- ["queijos"]=0;
- ["primeiro"]=0;
- ["voteban"]=0;
- };
- data[player] = newData
- end
- -- loop
- function eventLoop(ct,rt)
- if rt <= 0 then
- tfm.exec.newGame(mapas[math.random(#mapas)])
- end
- end
- -- Comandos
- function eventChatCommand(player,cm)
- if (cm:sub(0,6) == [[pontos]]) then
- for str,num in pairs(tfm.get.room.playerList) do
- if (str == cm:sub(8)) then
- print(data[str].pontos)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment