Noki Posted August 30, 2015 Posted August 30, 2015 I'm having trouble using OOP to get all elements by type. I: srun "player":getAllByType() O: Error: [string ""player":getAllByType()"]:1: unexpected symbol near '"player"' I: srun ("player"):getAllByType() O: Error: [string "return ("player"):getAllByType()"]:1: attempt to call method 'getAllByType' (a nil value) I: srun Player("Noki"):getAllByType() O: Command results: false [boolean] The last one was kind of a last ditch effort as I'm completely clueless.
MTA Team botder Posted August 30, 2015 MTA Team Posted August 30, 2015 Element.getAllByType("player") 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