For some reason when i compile i get to error but when i login i dont get the gm verbs...Heres my code to give the gm verbs:
mob/Login()
if(src.key == "Koolguy900095"||src.key == "JBurns04")
set hidden = 1
usr.loc=locate(1,1,1)
usr.verbs += /mob/GM/verb/Inform
usr.verbs += /mob/GM/verb/Delete
usr.verbs += /mob/GM/verb/Rename
usr.verbs += /mob/GM/verb/Ban
usr.verbs += /mob/GM/verb/Boot
usr.verbs += /mob/GM/verb/Change_area
usr.verbs += /mob/GM/verb/Restore
usr.verbs += /mob/GM/verb/Goto
usr.verbs += /mob/GM/verb/Announce
usr.verbs += /mob/GM/verb/Remove_GM
usr.verbs += /mob/GM/verb/Shutdown
usr.verbs += /mob/GM/verb/Reboot
usr.verbs += /mob/GM/verb/Add_GM
usr.verbs += /mob/GM/verb/ChangeWname
usr.verbs += /mob/GM/verb/Summon
usr.verbs += /mob/GM/verb/Get_icon
usr.verbs += /mob/GM/verb/Unblind_Mob
usr.verbs += /mob/GM/verb/Blind_Mob
usr.verbs += /mob/GM/verb/Edit
usr.verbs += /mob/GM/verb/Create
else
usr.loc=locate(1,1,1)
Thanks in advance :)
ID:148587
Dec 24 2002, 8:28 am
|
|
In response to Exadv1
|
|
Exadv1 wrote:
mob/Login()if(gms.Find(key)) for(var/t in typesof(/mob/GM/verb) src.verbs += t ..() Ya know, you always can do this... mob/Login() if(gms.Find(key)) src.verbs += typesof(/mob/GM/verb) ..() I personally like that better =P |
You used usr.
Use src.
Also this works SO much better.