hi all, i am trying to load an resource by script in my gamemode... script:
local res = getResourceFromName ( "test" )
outputChatBox ( "resource found: " ..tostring ( res ) )
local load = startResource ( res )
outputChatBox ( "resourceStart: " ..tostring ( load ) )
BUT here is one problem... it didnt load. log:
it dont write any error. I also have added my resource (the from which is this script) into ACL, in admin group
when I start resource in MTAserver window by "start test" it normaly load. if I change the "startResource" function to "restartResource", and then load "test" by admin panel, it normally restart it
Do you know where is the problem? If you need to know more, just ask. Thanks!