We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cdc767 commit 7e28f4bCopy full SHA for 7e28f4b
[gameplay]/superman/config/ShSupermanConfig.lua
@@ -1,6 +1,2 @@
1
SUPERMAN_FLY_DATA_KEY = "superman:flying"
2
-SUPERMAN_TAKE_OFF_DATA_KEY = "superman:takingOff"
3
-SUPERMAN_ALLOWED_DATA_KEYS = {
4
- [SUPERMAN_FLY_DATA_KEY] = true,
5
- [SUPERMAN_TAKE_OFF_DATA_KEY] = true,
6
-}
+SUPERMAN_TAKE_OFF_DATA_KEY = "superman:takingOff"
[gameplay]/superman/data/ShData.lua
@@ -1,6 +1,11 @@
local isServer = (not triggerServerEvent)
local supermansData = {}
+SUPERMAN_ALLOWED_DATA_KEYS = {
+ [SUPERMAN_FLY_DATA_KEY] = true,
+ [SUPERMAN_TAKE_OFF_DATA_KEY] = true,
7
+}
8
+
9
function getSupermanData(playerElement, dataKey)
10
local validElement = isElement(playerElement)
11
0 commit comments