TomoAlien
Junior Member

Posts: 110
Registered: 06-08 |
shinobi.cl said:
Then, post your solution :) It can help others. After all this thread will be queried by search engines sometime.
Okay, so there's the code:
code: script 1 (void)
{
if (CheckInventory("Some_Key"))
Place a action there.
else
print(s:"You need Some Key to use this thing.");
}
Instead of Some_Key you must type in:
RedSkull - Red Skull
BlueSkull - Blue Skull
YellowSkull - Yellow Skull
RedCard - Red Keycard
BlueCard - Blue Keycard
YellowCard - Yellow Keycard
I hope this post helps somebody.
|