Grandfot
|
  |
| Joined: 17 Dec 2009 |
| Total Posts: 454 |
|
|
| 05 Aug 2010 04:20 PM |
Is there a way to connect to a function while not in a function?
like:
blah()
function blah() end |
|
|
| Report Abuse |
|
|
PureSight
|
  |
| Joined: 02 Aug 2010 |
| Total Posts: 819 |
|
|
| 05 Aug 2010 04:21 PM |
Yes, but you need to call the function after the function is stated, like this:
function blah() end blah() |
|
|
| Report Abuse |
|
|
Grandfot
|
  |
| Joined: 17 Dec 2009 |
| Total Posts: 454 |
|
|
| 05 Aug 2010 04:21 PM |
what about a loop?
while true do wait() blah() end
function blah() end |
|
|
| Report Abuse |
|
|
PureSight
|
  |
| Joined: 02 Aug 2010 |
| Total Posts: 819 |
|
|
| 05 Aug 2010 04:23 PM |
Mhm, but the loop needs to be after the function is stated, like this:
function blah() end
while true do wait() blah() end |
|
|
| Report Abuse |
|
|