Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i=1
- started=true
- function eventNewPlayer(name)
- if started then
- ui.addTextArea(2,"", name, 0, 32, 800, 25,0xEB1224,0x9E0714,1,true)
- end
- end
- function eventChatCommand(name,cmd)
- if cmd:sub(0,2)=="go" then
- started=true
- i=0
- end
- end
- function eventLoop(currentTime,timeRemaining)
- if started then
- if i <= 800 then
- ui.addTextArea(2,"", name, 0, 32, 800, 25,0xFFFFFF,0x000000,1,true)
- ui.addTextArea(1,"", nil, 0, 32, i, 25,0x0000,0xFFFFFF,1,true)
- i=i+13.33
- elseif i > 800 then
- ui.addTextArea(2,"<font size='16px' color='#FFFFFF'><p align='center'>Én vagyok a Brumy maci brum brum brum!</p></font>", nil, 0, 32, 800, 25,0x00000,0xFFFFFF,1,true)
- i=80
- started=false
- end
- end
- end
- for name in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement