ID:266601
Apr 17 2002, 5:15 pm
|
|
Ok, I have the boot and summon verb. I can make it were I'm the only one with boot, but I can't do it with summon. Everyone has it. I would be very gratefull if someone could show me how to make it where I'm the only one with both of those verbs. Plus anyone else I want to have them to.
|
In response to NilFisk
|
|
This is what I have how do I get it to work?
mob/GM/proc/Boot(mob/M as mob in world) if(M == usr) return del(M) mob/Login() ..() if(key == "Kao King") verbs += /mob/GM/proc/Boot mob/GM/proc/Summon(mob/M as mob in world) M.loc = usr.loc mob/Login() ..() if(key == "Kao King") verbs += /mob/GM/proc/Summon |
In response to Kao King
|
|
Kao King wrote:
This is what I have how do I get it to work?verbs += /mob/GM/proc/Summon mob/GM/proc/Summon(mob/M as mob in world) There i fixed it |
In response to NilFisk
|
|
Are you sure I keep getting iconsistent indentation, and if I move it, get alot of other errors.
|
In response to Kao King
|
|
dont copy and paste from the forum..lol
|
In response to NilFisk
|
|
Nope, I typed it in, and I keep getting inconsistent indentation on these two
verbs+= /mob/GM/proc/Boot verbs+= /mob/GM/proc/Summon |
In response to Kao King
|
|
did u indent with spaces? if so change them to tabs to fix the error
|
In response to SuperGoku15
|
|
Nope, I used tab.
|
hope it helped
-NilFisk