Skip to content

function setPlayerCollision (client-side)

Available since version: 0.0.1

This function is used to toggle player/npc dynamic collision detection.

Declaration

void setPlayerCollision(int id, bool toggle)

Parameters

  • int id: the player id.
  • bool toggle: true when you want to enable dynamic collision detection for player, otherwise false.