Code:obj/guns/verb
Get()//A verb to pick up the gun
set category = "Guns"
set src in oview(1)
usr.contents += src
usr << "You pick up the gun!"
Drop()
set category = "Guns"
set src in oview(1)
usr.contents -= src
usr.weapon = ""
usr << "You drop the gun!"
Problem description:It doesnt shoe any errors when compiling,but doesnt work in the game.... y?
ID:262888
Jan 8 2006, 10:02 am
|
|
Jan 8 2006, 10:03 am
|
|
Code:
|
In response to Derekjeterisgod
|
|
ty
|
In response to Derekjeterisgod
|
|
What are you trying to do? There is no shoot code there if thats what you meant by shoe?
|
You can't add something to their contents like that, since it's a special list. Try this.
obj/guns/verb ~~> Unknown Person |
In response to Derekjeterisgod
|
|
Don't copy/paste off librarys.
|
In response to Unknown Person
|
|
nope still doesnt work :-/
|
In response to Scissors Man
|
|
Scissors Man wrote:
nope still doesnt work :-/ Unknown person gave you a perfectly good code. Did you specify a statpanel with the Contents? |
In response to Mysame
|
|
k
|
In response to Mysame
|
|
That is not my code, thats his. Reply to his when you say stuff like that O_o lol
|
In response to Mysame
|
|
probably not... knoing me
|
In response to Scissors Man
|
|
actually I did
|
In response to Scissors Man
|
|
Then please explain what's wrong. Just saying 'doesn't work' doesn't really help us by a lot.
|
In response to Mysame
|
|
well... when i go 2 pick it up in the game it doesn't show the verb :-/
|
In response to Mysame
|
|
Mysame wrote:
Scissors Man wrote: No, he gave him perfectly good code, not a good code. The word "a" does not go with code, because it is not singular. No soup for you! Lummox JR |
In response to Lummox JR
|
|
I didnt say that so.. Please sir, may I have some more?
|
In response to Derekjeterisgod
|
|
I want more 2 :-)
|