🟧CompileLua

Compiles a Lua file from the lua directory and returns a function or error.

gpm.CompileLua( string filePath ) -> function

Usage Example

local func = gpm.CompileLua( "gpm/utils.lua" )
print( func )
-- function: 0xf7f8af6a
-- function: 0xf6f92a32

Last updated