ID:169983
 
I have this part

mob/Admin
proc
gmcheck()
CheckBan(src)
if(src.gmlevel == 4)
if(usr.key == "MonkeyNamedEric")


But when I log in I don't have the GM tab.
Also how can I code it so when you die you get teleported to somewhere else. right now if someone dies the connection dies...
In response to MonkeyNamedEric
Uhh...if the connection dies, your deleting people, so don't delete them. As for moving, use something like src.loc=locate(x,y,z).
MonkeyNamedEric wrote:
I have this part

> mob/Admin
> proc
> gmcheck()
> CheckBan(src)
> if(src.gmlevel == 4)
> if(usr.key == "MonkeyNamedEric")

But when I log in I don't have the GM tab.

Did you set your gmlevel var? (Is it <4 or >4? Also, use src instead of usr in mob/procs and some more procs, for more, check out the UsrLecture(I'm too lazy to look up the link))
I suggest reading the DM Guide.

http://www.byond.com/docs/guide/

Enjoy.
In response to AZA
what part...
In response to MonkeyNamedEric
Pretty much all of it.

If you are going to learn to be a good programmer, you are going to have to read a lot of information. I've probably read over 100,000 pages of information on various programming languages in the past eight years.
In response to Ter13
That in no way helps him. How is it going to directly help him with this problem?

-Ryan
In response to Ter13
Great...