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 )
FAST_WOLFS Posted January 2, 2016 Author Posted January 2, 2016 stopResource(getResourceFromName("earth")) It works now, thanks Tasty.
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