|
| 26 Jul 2013 09:52 AM |
It's saying I can't do this arithmetic to a player value or something o3o? WUTS WRONG D:<
if Player.StatMaster.LettuceSeeds.Value >= 1 then |
|
|
| Report Abuse |
|
|
DrWaffler
|
  |
| Joined: 16 Sep 2011 |
| Total Posts: 4248 |
|
|
| 26 Jul 2013 09:53 AM |
LettuceSeeds would need to be an IntValue or a NumberValue for this to work,
and playe would have to be defined somewhere as an appropriate path to the value LettuceSeeds.
I am reborn as an ocelot. You disapprove. |
|
|
| Report Abuse |
|
|
|
| 26 Jul 2013 09:54 AM |
I do have a path for player, and LettuceSeeds is an int value
|
|
|
| Report Abuse |
|
|
DrWaffler
|
  |
| Joined: 16 Sep 2011 |
| Total Posts: 4248 |
|
|
| 26 Jul 2013 09:56 AM |
Post your path for player, and the exact error you got, and the line the error points to.
Don't tell me the NUMBER of the line, copy and paste the line.
I can't see line numbers on the forum.
I am reborn as an ocelot. You disapprove. |
|
|
| Report Abuse |
|
|
|
| 26 Jul 2013 09:57 AM |
Oh lol I was doing the wrong line.... It was a line where I was doing Lettuceseeds = Lettuceseeds - 1 (forgeting .value) |
|
|
| Report Abuse |
|
|