Jump to content

deleteResource() - Help


FatalTerror

Recommended Posts

Posted

Hi everybody,

I want know how the function deleteResource() work !

I try everything... I don't understand :shock:

Exemple:

deleteResource ( ""..getResourceName(exports.mapmanager:getRunningGamemodeMap()).."" ) 

And in the debugscript have "bad argument.."

Thx to help me :roll:

Posted

deleteResource does in-fact exist for certain 1.1 nightlies.

Try:

 deleteResource ( getResourceName ( exports.mapmanager:getRunningGamemodeMap ( ) ) )  

Those string concatenations were not necessary. Please note if you don't have mapmanager running, the call will return nothing without error.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...