1
2
Apr 30 2009, 4:01 pm
In response to Netmanx
|
|
Don't use his piece. He has no idea what he's doing. Get rid of that for() line. Period.
|
In response to Spunky_Girl
|
|
player Universia.dm:30:error: proc definition not allowed inside another proc 1 error |
In response to Netmanx
|
|
It's called indentation.
|
In response to Spunky_Girl
|
|
Spunky_Girl wrote:
Don't use his piece. He has no idea what he's doing. Get rid of that for() line. Period. I tested the code and it worked fine. Explain why it wouldn't. |
In response to Mysame
|
|
fixed my indentation and got it to run but now im getting
runtime error: Undefined operation: null / null proc name: Stat (/mob/player/Stat) source file: Universia.dm,33 usr: Netmanxxx (/mob/player) src: Netmanxxx (/mob/player) call stack: Netmanxxx (/mob/player): Stat() |
In response to Netmanx
|
|
Sometimes it looks like people aren't even trying to fix problems themselves and just post every error they get. The error here is self-explanatory. Look at line 33; you have 2 vars which you are dividing there, and both of them are uninitialized, hence they are [set to] null. That needs to be changed, and you'll want to do that anyway.
|
1
2