Jump to content

:getAllByType()


Noki

Recommended Posts

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.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...