ID:164945
 
i found about 3 codes for building but the thing is i cant delete so.. if someone could please message me on msn and if i get a working good one then ill give you some icons or gm on my pokemon game thanks =D
Ok you want the code go here,lol http://bwicki.byond.com/ByondBwicki.dmb?TheCode
mob/verb/deletemyitems()
for(var/obj/O in usr)
del(O)
In response to Keeth
He said BUILDING code.. so I doubt the objects are in his usr.contents
ok
mob
verb
Delete_My_Building()
if(!usr.loc)
return
else
Del(usr)


Use that. Then read the blue book!
In response to Revojake
Del(usr) its del(usr)

usr might have a loc... your code is pathectic i suggest you read the dm guide
In response to A.T.H.K
I think he tried to give the guy a faulty code on purpose....and made a typo >_>
In response to Kazekage
I dunno <font size = 20>:S</font>
In response to A.T.H.K
I messed up on purpose >_>
In response to A.T.H.K
Incidentally the Del() would have probably worked as well, seeing as it ended up as src.Del() (with an argument, but it isn't used nayway). :P
In response to Kazekage
He only asked for some code to 'delete'.
I gave that to him.
I'm sure he'll be able to apply that to whatever he's doing.