Add include()
Some checks failed
Build Dusk / build-linux (push) Successful in 1m16s
Build Dusk / build-psp (push) Failing after 1m14s

This commit is contained in:
2025-12-24 09:41:05 +10:00
parent a495179e5f
commit aed202ebf9
9 changed files with 55 additions and 21 deletions

View File

@@ -3,4 +3,5 @@
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
add_asset(SCRIPT test.lua)
add_asset(SCRIPT test.lua)
add_asset(SCRIPT test2.lua)

View File

@@ -1,3 +1,5 @@
include('script/test2')
player = entityAdd(ENTITY_TYPE_PLAYER, 3, 6, 1)
print("Player entity ID: " .. player)

1
assets/script/test2.lua Normal file
View File

@@ -0,0 +1 @@
print("This is test2.lua")