Please
login
or
register
.
Home
Help
Search
Calendar
Login
Register
Xuras
»
Garry's Mod
»
Help/ Support
»
Portalboat's "I need help with lua" thread
« previous
next »
Print
Pages: [
1
]
Author
Topic: Portalboat's "I need help with lua" thread (Read 394 times)
Portalboat
Guest
Portalboat's "I need help with lua" thread
«
on:
09 March, 2009, 02:09:46 am »
What does the function "for k, v in pairs" mean/do?
Logged
Dotmister
Co-Founder
Global Administrator
Almost lives here
Posts: 1,002
Cookies: 35
STEAM_0:0:12123040
Re: Portalboat's "I need help with lua" thread
«
Reply #1 on:
09 March, 2009, 17:54:07 pm »
http://www.lua.org/pil/4.3.4.html
http://luanet.net/lua/function/pairs
Logged
Adam Casey
Portalboat
Guest
Re: Portalboat's "I need help with lua" thread
«
Reply #2 on:
27 March, 2009, 22:02:05 pm »
What would the code look like if I wanted an object to get objects in a certain area around it, and then filter out those objects to a certain class (prop_physics, npc_alyx, etc.)?
Logged
Print
Pages: [
1
]
« previous
next »
Xuras
»
Garry's Mod
»
Help/ Support
»
Portalboat's "I need help with lua" thread
SMF 2.0.2
|
SMF © 2011
,
Simple Machines
Argentum
design by
BlocWeb
Server #2
SimplePortal 2.3.2 © 2008-2010, SimplePortal