Xabache Posted January 4, 2015 Share Posted January 4, 2015 Why is the sky blue? And where is a basic description to MTA > Host Game > Resources? Example: "as-supermarket" resource... what is this and what does it and the 100 other non-descriptively named Stock MTA resources do? Link to comment
Noki Posted January 5, 2015 Share Posted January 5, 2015 The sky is blue because that's how it is by default. You can however change it by using setSkyGradient. Run them and check. Open the files and look for command handlers and event handlers to trigger them. Explore! Link to comment
Xabache Posted January 6, 2015 Author Share Posted January 6, 2015 So no one has written a basic description to these 180+ functions? Seems like a good project for someone to put their name on. Their guide may look forward to my respect. For each server operator to independently explore each one of these resources to discern its exact and complete function on their own, op after op, would be a waste of time so great that it would surely lead to the downfall of mankind. That someday one may come along and write a comprehensive description to these valid resources, much honor awaits them... Link to comment
MTA Anti-Cheat Team Dutchman101 Posted January 6, 2015 MTA Anti-Cheat Team Share Posted January 6, 2015 So no one has written a basic description to these 180+ functions? Seems like a good project for someone to put their name on. Their guide may look forward to my respect. For each server operator to independently explore each one of these resources to discern its exact and complete function on their own, op after op, would be a waste of time so great that it would surely lead to the downfall of mankind.That someday one may come along and write a comprehensive description to these valid resources, much honor awaits them... That actually is an scripting function. I get that you're new to MTA servers, but the default resources were created by initial contributors (scripters) in the same way, of writing plain LUA code. If you want to use an function, to change for example here the sky color (setSkyGradient) you'll need to learn how to script and make a very small script to execute the function with as arguments the desired skycolor, or simply execute the codestring with these arguments in ''runcode'' to set it right away. This function is in no way related to the default resources or the ''stock'' gamemode you run unless that sets a specific sky gradient by itself, and the sky is blue by default on a blank MTA server until you change it yourself, which is the point of MTA: everything is done through scripts/resources and self-created. 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