Skip to content

function setPlayerCollision (server-side)

Available since version: 0.2

This function will set the player collision.

Declaration

void setPlayerCollision(int id, bool collision)

Parameters

  • int id: the player id.
  • bool collision: true if want to enable collision, otherwise false.