03-20-2011, 05:10 AM
I think i wrote the title wrong.
Anyways, i wanted to know how to destroy an item when i use the first key. For example: I need to unlock a door with two keys. One key name "Example1" and the second key named "Example2". Than when i use "Example1" for the door, Example1 will be destroyed. But when i use Example2 for the door, Example2 won't be destroyed.
I used a code like this: than when i use "prisonkeylight_1" to the door than the prisonkeydark_1 will be destroyed as well. How to make an item NOT destroyed at the same time?
Sorry for making you confusing but i need help.
Anyways, i wanted to know how to destroy an item when i use the first key. For example: I need to unlock a door with two keys. One key name "Example1" and the second key named "Example2". Than when i use "Example1" for the door, Example1 will be destroyed. But when i use Example2 for the door, Example2 won't be destroyed.
I used a code like this:
Code:
RemoveItem("prisonkeylight_1");
RemoveItem("prisonkeydark_1");
Sorry for making you confusing but i need help.