Piorun Posted April 28, 2015 Posted April 28, 2015 Hi, I made some simple code : createElement("whatever", "1") createElement("whatever", "2") ... and later in code i want to create loop for every elements specified by type. I mean something like for key,val in ipairs(getElementsByType("whatever")) do but i know that getElementsByType have only few element types declared inside MTA. Could u help me find another way?
MTA Team botder Posted April 28, 2015 MTA Team Posted April 28, 2015 You can use getElementsByType for your custom elements. GitHub: Debug Console • MTA-Discord Relay Scripting: How to draw a line chart with DirectX functions? • Doppler Effect in MTA • Get the client's FPS • Customizable Blur Shader
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