Aldraz Posted January 23, 2013 Share Posted January 23, 2013 Hi guys ! I'm new here.. And I got one simple question. Can I somehow count all resources just in [game-play] folder? And same thing in maps folder ? I need variables for counting maps and scripts (just folders and .ZIP files would be cool).. Thx for answering. Aldraz Link to comment
JR10 Posted January 23, 2013 Share Posted January 23, 2013 You can use the getResourceInfo function to check the type of the resource. I don't think it's possible to get the resources in a certain directory. Link to comment
Moderators IIYAMA Posted January 23, 2013 Moderators Share Posted January 23, 2013 Those [ ] makes your folder invisible for the server. Because they are invisible, you can't check them or what is inside. Link to comment
Jesseunit Posted January 23, 2013 Share Posted January 23, 2013 Those [ ] makes your folder invisible for the server. Because they are invisible, you can't check them or what is inside. My [gameplay] folder is still visible, and it stays visible. No magic. Link to comment
Aldraz Posted January 23, 2013 Author Share Posted January 23, 2013 Those [ ] makes your folder invisible for the server. Because they are invisible, you can't check them or what is inside. I have no problems with those [ ] but.. Still if I remove them,can I somehow count only folders or .ZIP files in Gameplay folder ? Link to comment
Moderators IIYAMA Posted January 23, 2013 Moderators Share Posted January 23, 2013 (edited) Those [ ] makes your folder invisible for the server. Because they are invisible, you can't check them or what is inside. My [gameplay] folder is still visible, and it stays visible. No magic. Not for the server. But the content of it is visible. Edited January 23, 2013 by Guest Link to comment
Aldraz Posted January 23, 2013 Author Share Posted January 23, 2013 OK Guys thx for help anyway.. I try to do that with getResourceInfo function. 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