ID:146066
 
first off, what i am trying to do is make it to where i can blow up planets, and after a while the planets will return, mabye like 5 or so minutes.
mob/Earth     //this is what i want to destroy
icon = 'earth.dmi'
dead = 0
Die()
KillAll()
spawn(3000)// not sure on the ticks for 5 mins, but 3000 is an example
del(src)// this is line 47...

mob/proc //this will kill whoever is on the planet i think
KillAll()
for(var/mob/M in world)
if(M.client)
!M.health
M.Die()


mobs.dm:47:error:src:value not allowed here
mobs.dm:47:error:del :instruction not allowed here

maybe i am not doing something right, or i am missing alot of stuff. any help would be appreciated.
Spawn doesn't need to be indented.

3000 ticks = 5 minutes.

example: 10 seconds = 100 ticks. Its because the ticks are .1 of a second.
In response to Crzylme
add two indents to del(src)