Skip to content

function setPlayerOnFloor (client-side)

Available since version: 0.1.0

This function will try to put player/npc on floor.
If the difference between player y position and the floor y position is less or equal 1000, the function will succeed.

Declaration

void setPlayerOnFloor(int id)

Parameters

  • int id: the player id.