ID:262734
 
Code:
var/list/Owners = list("JRR-Zero")
mob/Login()
..()
if(src.key in Owners)
src.Owner()


Problem description:
runtime error: wrong type of value for list
proc name: Owner (/mob/proc/Owner)
usr: JRR-Zero (/mob)
src: JRR-Zero (/mob)
call stack:
JRR-Zero (/mob): Owner()
JRR-Zero (/mob): Login()
JRR-Zero (/client): New()
_________________________
???? im confussed

Well, the error is in /mob/proc/Owner() so show us that. You should turn debugging on. Either go to preferences to turn it on, or type #define DEBUG at the top of the first .dm file in the list, I think.
In response to Kalzar
Owner()
src.verbs += typesof (/mob/Admin/)
src.Owner = 1
src.CoOwner = 1
src.Admin = 1
src.Gw = 1
src.Hm = 1
src.Gm = 1

theres owner's proc
In response to JRR-Zero
can any 1 help ??????
In response to JRR-Zero
Don't double post.

src.verbs+=typesof(/mob/Admin/verb/)
In response to Kalzar
what ?
var/list/Owners = list("JRR-Zero")

mob/Login()
..()
if(src.key in Owners)
src.Owner()

Owner()
src.verbs += typesof (/mob/Admin/)
src.Owner = 1
src.CoOwner = 1
src.Admin = 1
src.Gw = 1
src.Hm = 1
src.Gm = 1

theres the whole jigsaw
In response to JRR-Zero
i fixed it
src.verbs += typesof (/mob/Admin/)

it was this line i made it
src.verbs += typesof (/mob/Admin/Owner/verb/)

and it worked
In response to JRR-Zero
//I would rather use...

if(Owners.Find(src.key)

//Rather than...

if(src.key in Owners)

//But it's up to you.
In response to Mega fart cannon
That is wrong. You should use in here.