Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 8 9 10 11 12 … 18 Next »
Functions working "on arguments " in starfall
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Functions working "on arguments " in starfall
05-07-2016, 04:33 PM,
#5
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Functions working "on arguments " in starfall
(05-07-2016, 11:09 AM)pho Wrote: thanks m89
why does it doesnt work with table/array type ?
You can't add methods to any Lua type except for strings, which you can add to by adding to the string table (as in standard Lua).

For tables specifically, there's no way to make a universal metatable because they're supposed to take a specific metatable to represent some specific object. Tables are way more than just data holders.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Functions working "on arguments " in starfall - by pho - 04-07-2016, 09:58 PM
RE: Functions working "on arguments " in starfall - by TheOneAndOnlyTee - 05-07-2016, 01:15 AM
RE: Functions working "on arguments " in starfall - by Red The Blue Color - 05-07-2016, 02:06 AM
RE: Functions working "on arguments " in starfall - by pho - 05-07-2016, 11:09 AM
RE: Functions working "on arguments " in starfall - by Person8880 - 05-07-2016, 04:33 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.