Hi,
Add another file from another resource.
Currently, we can do :
server_scripts {
'@another-resource/file.server.lua',
}
But not :
client_scripts{
'@another-resource/file.client.lua',
}
Hi,
Add another file from another resource.
Currently, we can do :
server_scripts {
'@another-resource/file.server.lua',
}
But not :
client_scripts{
'@another-resource/file.client.lua',
}
You can do that.
Indeed, we must add in the __resource.lua (on another-resource). Otherwise it does not work.
Both things that you sent should work perfectly.
Which is 100% intended. You don’t have to use client_script
in another-resource
, you can also use file
.
What is the difference between file(s)
and client_script(s)
?