FatalTerror Posted October 29, 2011 Share Posted October 29, 2011 Hi everybody, I want know how the function deleteResource() work ! I try everything... I don't understand Exemple: deleteResource ( ""..getResourceName(exports.mapmanager:getRunningGamemodeMap()).."" ) And in the debugscript have "bad argument.." Thx to help me Link to comment
12p Posted October 29, 2011 Share Posted October 29, 2011 That function doesn't exist, only at 1.2 onwards. https://wiki.multitheftauto.com/wiki/Ser ... _functions Link to comment
BinSlayer1 Posted October 29, 2011 Share Posted October 29, 2011 i didnt test it but looking at https://wiki.multitheftauto.com/wiki/DeleteResource , says it just requires a 1.1.1-9.03316 server to run, not a 1.2 one Link to comment
12p Posted October 29, 2011 Share Posted October 29, 2011 i didnt test it but looking at https://wiki.multitheftauto.com/wiki/DeleteResource , says it just requires a 1.1.1-9.03316 server to run, not a 1.2 one I saw "ON VERSION 1.2 ONWARDS". Link to comment
Maccer. Posted October 29, 2011 Share Posted October 29, 2011 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. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now