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.
ID:169983
![]() Apr 4 2005, 4:40 pm
|
|
I have this part
mob/Admin But when I log in I don't have the GM tab. |
![]() Apr 4 2005, 4:47 pm
|
|
Also how can I code it so when you die you get teleported to somewhere else. right now if someone dies the connection dies...
|
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 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)) |
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. |