mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
mapmanager: allow vector/quat
This commit is contained in:
@@ -37,7 +37,8 @@ function parseMap(file, owningResource)
|
|||||||
|
|
||||||
local env = {
|
local env = {
|
||||||
math = math, pairs = pairs, ipairs = ipairs, next = next, tonumber = tonumber, tostring = tostring,
|
math = math, pairs = pairs, ipairs = ipairs, next = next, tonumber = tonumber, tostring = tostring,
|
||||||
type = type, table = table, string = string, _G = env
|
type = type, table = table, string = string, _G = env,
|
||||||
|
vector3 = vector3, quat = quat, vec = vec, vector2 = vector2
|
||||||
}
|
}
|
||||||
|
|
||||||
TriggerEvent('getMapDirectives', function(key, cb, undocb)
|
TriggerEvent('getMapDirectives', function(key, cb, undocb)
|
||||||
|
|||||||
Reference in New Issue
Block a user