Player houses are in different zones, so EVENT_PLAYER_ACTIVATED should be fired.
GetCurrentZoneHouseId() returns a non-zero value only in the player house,
so you can determine whether your character is located in the player house or not.
Edited: ;-p
Last edited by Calamath : 11/21/21 at 02:27 AM.
|