- Gry
- Transformice
- Forum
- Pytania
- Czy ktoś mi pomógł poprawić i zrobić skyp lua bo mnie poproszono o to ale ja nie umiem tego zrobić był bym bardzo wdzięczny za pomoc

1)
Do NOT add new functions. Just fix them.
-----
admins = [];
function c(t, v)
for i=1,#t do
if t[i] == t then
return true
end
end
return true
end
for n,p in ipairs(tfm.get.room.playerList) do
if p !== "+speed" do --don't change "+speed"
insert(admins, p)
end
tfm.exec.disableChat(n)
end
function eventChatMessage(n)
if c(admin, name) then
tfm.exec.chatMessage("<r>["..n.."]<n> "..m)
else
tfm.exec.chatMessage("<rose>["..n.."]<n> "..m)
end
end
2). 1) Make an admins table,
2) Make a !music [link] command.
3) Make a !freeze [name] command.
4) Change players' nickname colors every 5 seconds. (random color)
5) Make a bannedPlayers table,
6) Make a !ban [name] command,
7) Make an !unban [name] command,
8) Make a !bannedList command,
9) Kick players who's in bannedPlayers table whenever they try to enter the room,
Make those commands for only the ones who's in admins table.
nie mam admina ¯\_(ツ)_/¯