(01-13-2011, 02:34 AM)Tottel Wrote: You switched around 2 accolades in UsedKeyOnDoor() :p
{
}
not
}
{
EDIT: brrr, also, leave your function name like this:
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
Those things in the brackets are called parameters and they will be filled in when you call the function.
IT FINNALY WORKS! Buuuutttt... Sorry If Im making you mad with all my problems.
When I pick up my key, it's supposed to say Rocking Key right? Well I picked it up and it said machine room key instead. and It said It was a key for the machine room instead of a door. I went and tried the key on the door, but It said "Cannot use this item anyway!"
Sorry I'm being a burden again.
I've come to learn to not fear the living, nor the dead... But the monsters that hide in closets.