event onPlayerMobInteract (server-side)
Available since version: 0.1.4
This event is triggered when player interacts with any kind of mob object in the world. In Gothic, mobs are special vobs on the map, that hero can interact with. For example bed, door, chest etc.
Parameters
int playerid, int from, int to
intplayerid: the id of the player who interacts with mob.intfrom: represents previous state of mob. If value is1, then mob was used, in any other case value is0.intto: represents current state of mob. If value is1, then mob is used, in any other case value is0.