function
getPlayerInteractMob (client-side)
Available since version: 0.2.1
This function is used to get current interacted mob by player/npc.
Declaration
userpointer|null getPlayerInteractMob(int id)
Parameters
int
id: the player id.
Returns userpointer|null
the current interacted mob or null
if player isn't spawned.