ID:175975
Feb 22 2003, 8:35 pm
|
|
How do u define a proc
|
Feb 22 2003, 8:37 pm
|
|
Read up, read up!
|
In response to Crispy
|
|
read up on what?
|
In response to VegeanSX
|
|
Any of 'em
|
In response to Jp
|
|
obj
db1 proc DB1() set category = "Training" icon = 'dragonball.dmi' icon_state = "1" density = 1 Get() if(usr.dbget == 1) usr << "You already got it" if(usr.dbget == 0) usr.db1 = 1 usr << "You get Dragonball #1" i cant get it to have Get be defined as a proc |
In response to VegeanSX
|
|
first off, to define a proc:
proc/Get() Second, if you just put Get() in on its own, it thinks you mean src.Get(), and you haven't defined get for Db1 |
In response to VegeanSX
|
|
This is an indentation problem. Move Get() one notch to the left.
|