Madified
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
Madified
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|
BetterBe
|
  |
| Joined: 25 Jan 2009 |
| Total Posts: 1034 |
|
|
| 01 Dec 2013 08:34 PM |
| Madified, elseif's are a huge part of Lua. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Dec 2013 08:34 PM |
More efficient that 600 if's Or you could use my method and call them from a table
http://www.roblox.com/CntKillMes-Commands-System-V2-BETA-item?id=135109803 |
|
|
| Report Abuse |
|
|
Madified
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|
Madified
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 01 Dec 2013 09:00 PM |
omg if only lua also had 'switch' |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Dec 2013 09:08 PM |
ew no
if then elseif then
switch case x: break case y: break
It's longer |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2013 09:10 PM |
but cnt it can help if you hav a lot of ifelse statements |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Dec 2013 09:11 PM |
| how, I'm pretty sure it's less efficient |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2013 09:15 PM |
might be a tad less efficient but it personally keeps things better than an ifelse statement |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 01 Dec 2013 09:52 PM |
cnt look at your post number |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Dec 2013 09:54 PM |
ogm
13337 I shouldn't of posted |
|
|
| Report Abuse |
|
|