client
removeEntity

removeEntity

Removes all existing interaction associated with a given network ID. this execludes global interactions.

Parameters

  • netId (number): The network ID of the entity whose interaction you wish to remove.

Example

-- To remove the interaction associated with this networked vehicle:
interact.removeEntity(networkId)

export

    exports.sleepless_interact:removeEntity(networkId)