Quote:
Originally Posted by Twinny
the point is, findnpc() returns an object. temp.db = findnpc("Hax"); would make temp.db the Hax object. It still uses objects. It is still as efficient as Hax. blah. Scripts are optimised when made into bytecode anyways so you don't have to jump at people for doing there way when it doesn't conform to yours.
|
It returns an object but it's unecessary considering you don't need the object to be returned in this case to access the function. You can call the database directly via obj.function();