FAST_WOLFS Posted January 2, 2016 Posted January 2, 2016 I have error in debugscript... -....script2.lua:58: Bad argument @ 'stopResource' [Expected resource-data at argument 1, got nil] Can somebody help me? Thanks greetings. //Server function stoped () stopResource(earth) end addEvent ( "stope", true) addEventHandler ( "stope", getRootElement(), stoped ) My best resource: https://community.multitheftauto.com/index.php?p=resources&s=details&id=12389
Addlibs Posted January 2, 2016 Posted January 2, 2016 stopResource(getResourceFromName("earth")) Previously known as MrTasty.
FAST_WOLFS Posted January 2, 2016 Author Posted January 2, 2016 stopResource(getResourceFromName("earth")) It works now, thanks Tasty. My best resource: https://community.multitheftauto.com/index.php?p=resources&s=details&id=12389
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