Summon2()
set desc = "() Create an object of any type"
set name = "Summon2"
set category = "Staff"
if(usr.ADM == "OFF")
usr<<"Você não é ADM e nao pode usar o comando"
del(usr)
var/html = "<html><body bgcolor=black text=#CCCCCC link=white vlink=white alink=white>"
var/L[] = PlayernoMundo // Playernomundo it's a list, when you log in the server it automaticly add you on it.
for(var/X in L)
html += "<a href=byond://?src=\ref[src];action=summon;type=[X]>[X]</a><br>"
usr << browse(html,"window=info")
client/Topic(href,href_list[],hsrc)
switch(href_list["action"])
if("summon")
var/mob/E = href_list["type"]
E<<"Pronto"
E.loc = locate(1,1,1)
But ingame appears Runtime error: cannot modify Luan.loc
anyone can help me make it?
Best Resgards,
Luan
Merry Xmas btw