Here is my code and thanks in advance:
if(/obj/mining/copper in usr)
ID:148597
Dec 20 2002, 5:47 pm
|
|
Koolguy900095 wrote:
Here is my code and thanks in advance: This will do the trick: if(locate(/obj/mining/copper) in usr) If you need to keep a reference to the found object, you'll need to do something like this: var/obj/mining/copper/C = locate() in usr if(C) usr << "You have [C]!" |
for(var/obj/mining/copper/O in usr)
~
Goku72~