|
| 28 Dec 2014 08:28 PM |
When using comments with --[[--]] I keep on getting errors on commented out lines
Is anyone else having this problem? This has been going on for a while, and the only fix is individually commenting out lines.
???
Deal with it |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 28 Dec 2014 08:33 PM |
--[[ What is the error you are having? You also don't need the two dashed lines to close ]] |
|
|
| Report Abuse |
|
|
|
| 28 Dec 2014 08:43 PM |
21:26:08.911 - Players.Player.Backpack.Weapon.Script:285: bad argument #1 to '?' (CFrame expected, got nil) --[[ arm_pos[1] = torso_pos * CFrame.new(-0.6,0.5-(0),(0)) ]]
Deal with it |
|
|
| Report Abuse |
|
|
|
| 28 Dec 2014 08:57 PM |
| I don't understand why people comment parts of a script. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2014 10:12 AM |
To add in notes, comment out non-working parts, for easy adding of script (ex.Holiday easter egg)
Deal with it |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2014 11:19 AM |
No need for the ['s. Just use --
--Hai this script is working-- |
|
|
| Report Abuse |
|
|