Moolah101
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 614 |
|
| |
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 01 Jun 2012 10:58 AM |
| Please learn the basic concept of scripting. |
|
|
| Report Abuse |
|
|
Moolah101
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 614 |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 01 Jun 2012 11:03 AM |
| You can put them any where, just make sure that they are defined/made before using them, just like variables (how ever I always put variables I always need on top of the scripts, then the other stuff). |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 01 Jun 2012 11:09 AM |
| @miz: U forget that with Lua's flexibility there are many ways to do something. vIt's, however, the best to make them flow in a logical or standard 'direction'. |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 01 Jun 2012 11:10 AM |
| I just told you to learn.. Because these people wont help you because you don't know what a function is. |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 01 Jun 2012 11:25 AM |
@TheMyrco
True. There are many ways to do stuff. Same with some other languages. But I think this guy is asking how do you know when to end the function.
If you do this
for i = 1,10 do print(i) for j = 10,20 do print(j) end end
That would mean you would need to learn a flow chart, because you were suppose to end the first for loop after the print(i).
@su8
You don't have to be mean about it though :/ |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 01 Jun 2012 11:28 AM |
@miz: I always randomly put ends somewhere and see if they liek work /troll
|
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 01 Jun 2012 11:30 AM |
>You don't have to be mean about it though :/
Miz, try to get it.. Watch the title of this, it's obvious that he shouldn't know where to put functions since he doesn't know the meaning of those.. It would be much better to learn the concept first now shutup |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 01 Jun 2012 11:32 AM |
| So? That doesn't mean you have to be rude and mean about him. You can tell him to learn functions if he doesn't get it but don't put him down for something he didn't learn yet. He's trying to learn. He's not some moron that just asks for requests. You were like him too. Did people put you down? Probably not. If they did, that doesn't mean you can put people down because those people that you needed help with put you down. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 01 Jun 2012 11:33 AM |
TheMyrco
:P Coolio. . . I guess :/ |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 01 Jun 2012 11:34 AM |
> You can tell him to learn functions if he doesn't get it but don't put him down for something he didn't learn yet. He's trying to learn.
he's trying to learn it with the wrong way if he's laik asking this before he even knows wats a function
NOW SHUTUP |
|
|
| Report Abuse |
|
|
Moolah101
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 614 |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 01 Jun 2012 11:35 AM |
Can't tell if he just got trolled or...
rolled.
Like a barrelroll :) |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 01 Jun 2012 11:36 AM |
I'm not being mean.. Sorry if I made you sad ololol.
But I said that you should learn the basic concept of functions..Just to make your life a bit easier.. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 01 Jun 2012 11:37 AM |
"he's trying to learn it with the wrong way if he's laik asking this before he even knows wats a function"
It's his way of learning. |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 01 Jun 2012 11:37 AM |
>It's his way of learning.
nainen hiljaa
nyt oikeesti turpa kiinni ok?
if he tries to learn it with wrong way he's only cheating himself.. |
|
|
| Report Abuse |
|
|
Moolah101
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 614 |
|
|
| 01 Jun 2012 11:37 AM |
| su, thats exactly what im trying to do thats WHY I AM HERE!!! |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 01 Jun 2012 11:39 AM |
no, that's not the basic concept of le functions
just google something qq |
|
|
| Report Abuse |
|
|
Moolah101
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 614 |
|
|
| 01 Jun 2012 11:40 AM |
derp, i ask of functions and you say that i shouldnt do it
get of my thread |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 01 Jun 2012 11:41 AM |
| http://lmgtfy.com/?q=something |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 01 Jun 2012 11:41 AM |
ok ill get out den you learn it with wrong way and spend your time for nothing
bye |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 01 Jun 2012 11:42 AM |
Su8, this proves you actually don't help because you're too lazy to actually tell him the definition of a function.
|
|
|
| Report Abuse |
|
|