30.05.2014, 17:55
OnPlayerKeyStateChange - to detect when enter has been pressed.
IsPlayerInRangeOfPoint - to see if they are near a house.
SetPlayerPos and SetPlayerInterior - for setting the positions
Or you can just use an existing housing system (search the forums). But seriously the wiki is a marvellous tool that you should really check out before asking any questions in here.
Edit: Check ******' response for the fade out, completely forgot about that!
IsPlayerInRangeOfPoint - to see if they are near a house.
SetPlayerPos and SetPlayerInterior - for setting the positions
Or you can just use an existing housing system (search the forums). But seriously the wiki is a marvellous tool that you should really check out before asking any questions in here.
Edit: Check ******' response for the fade out, completely forgot about that!