-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinit.lua
63 lines (43 loc) · 1.42 KB
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
local roomCreate = os.time()
tfm.exec.setRoomPassword("")
-- LOCALS FOR SPEED
local room = tfm.get.room
local displayParticle = tfm.exec.displayParticle
local movePlayer = tfm.exec.movePlayer
local setNameColor = tfm.exec.setNameColor
local addImage = tfm.exec.addImage
local bindKeyboard = system.bindKeyboard
local chatMessage = tfm.exec.chatMessage
local removeImage = tfm.exec.removeImage
local killPlayer = tfm.exec.killPlayer
local respawnPlayer = tfm.exec.respawnPlayer
local setPlayerScore = tfm.exec.setPlayerScore
local setMapName = ui.setMapName
local random = math.random
local addTextArea = ui.addTextArea
local updateTextArea = ui.updateTextArea
local removeTextArea = ui.removeTextArea
-- RETURN PLAYER ID
function playerId(playerName)
return playerIds[playerName]
end
function removeTag(playerName)
return playerName:gsub("#%d%d%d%d", "")
end
VERSION = "1.7, 03.06.2024"
local translations = {}
{% require-file "json.lua" %}
{% require-file "string.utf8.lua" %}
{% require-dir "translations" %}
{% require-file "translationUtils.lua" %}
{% require-file "roles.lua" %}
{% require-file "maps.lua" %}
{% require-file "mapUtils.lua" %}
{% require-file "vars.lua" %}
{% require-file "eventWrapper.lua" %}
{% require-file "abilities.lua" %}
{% require-file "events.lua" %}
{% require-file "initialization.lua" %}
{% require-file "ui.lua" %}
{% require-file "chatUtils.lua" %}
{% require-file "startFuncs.lua" %}