Skip to content

function getPlayerInteractMob (client-side)

Available since version: 0.2.1

This function is used to get current interacted mob by player.

Declaration

userpointer getPlayerInteractMob(int id)

Parameters

  • int id: the player id.

Returns userpointer

the current interacted mob.