ID:144297
 
Code:
turf/Goku2
icon = 'Chars.dmi'
icon_state = "Ha"
Click()
icon = 'Goku.dmi'
icon_state = "Mob"
usr.loc = locate(3,3,1)
..()


Problem description:


it says Dragonball Omega Warriors.dm:30:error:usr.loc:undefined var
Thats because you have ripped a source code and you have no idea how to code.

You did the #1 Nono in byond.

Read and if you get stuck read This

Btw your tabbing is out.
In response to A.T.H.K
Actually i aint ripped a source code and yes i dont know how to code otherwise i wouldnt put my problems in
What you have asked for is very trivial. It would be best if you'd read the DM Guide rather than bother to ask this question. The reason for this being that in the future you'll get even more confused about some other trivial things, and will bother us by posting with lots of unnecessary questions that would be answered if you had taken the time to read the guide in the first place. So read it, and don't skim. You'll learn a lot more.
In response to Android Data
Android Data wrote:
What you have asked for is very trivial. It would be best if you'd read the DM Guide rather than bother to ask this question. The reason for this being that in the future you'll get even more confused about some other trivial things, and will bother us by posting with lots of unnecessary questions that would be answered if you had taken the time to read the guide in the first place. So read it, and don't skim. You'll learn a lot more.

I swear you've posted that EXACT message like 99 times already, spam or wandering AI?
In response to Dark Bahamut
Dark Bahamut wrote:
I swear you've posted that EXACT message like 99 times already, spam or wandering AI?

Actually I've got it macro'd now I see more people being unable to comprehend the basics. This thread has pretty much the same problem as yours has: inability to indent code.
In response to Android Data
Android Data wrote:
Dark Bahamut wrote:
I swear you've posted that EXACT message like 99 times already, spam or wandering AI?

Actually I've got it macro'd now I see more people being unable to comprehend the basics. This thread has pretty much the same problem as yours has: inability to indent code.

Wow, not many people admit to macro'ing stuff... (considering it's half useful, half spam)