ID:167223
Apr 12 2006, 10:20 am (Edited on Apr 12 2006, 10:29 am)
|
|
How do I make a save verb that saves the everyone in the game.
|
Apr 12 2006, 10:42 am (Edited on Apr 12 2006, 11:37 pm)
|
|
for(var/client/C in world) C.mob.Saveproc()
|
In response to Mysame
|
|
can i get some more detail i cant figure out how to use this.
|
In response to Mxjerrett
|
|
Some More detail? I gave you the whole verb. Just change the name of the proc to your saveproc and put it in a verb, done. Really, DM Guide = Friend
|
In response to Mysame
|
|
I get this error
code files\admin.dm:94:error:C:undefined var code files\admin.dm:94:error:C.mob.Save_Char:undefined var code files\admin.dm:94:/ :warning: statement has no effect code files\admin.dm:94:error::bad assignment |
In response to Mxjerrett
|
|
You have to define 'C'.
for(var/client/C in world) |
In response to Mega fart cannon
|
|
Oh, didn't see that.. Then again, I was dead tired, meh.
Either case, Mx, you should've known that by yourself. o.o;; |
In response to Mysame
|
|
I am sorry i read the dm guide and pieces of the reference as best as i could.
|