04-19-2014, 03:50 PM
I want my Key to drop from the door frame after reading the note. But it doesn't work
I would appreciate if someone could help me
AddEntityCollideCallback("Player", "note_generic_1",
"DoorKeyFallWhenReadingNote", true);
void DoorKeyFallWhenReadingNote(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("key_study_1", true);
SetMessage("Messages", "LoL", 0);
}
I would appreciate if someone could help me
AddEntityCollideCallback("Player", "note_generic_1",
"DoorKeyFallWhenReadingNote", true);
void DoorKeyFallWhenReadingNote(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("key_study_1", true);
SetMessage("Messages", "LoL", 0);
}