Skip to content

function getPlayerModelTimeScale (client-side)

Available since version: 0.3.5.5

This function is used to get player/npc model time scale.

Declaration

float|null getPlayerModelTimeScale(int id)

Parameters

  • int id: the player id.

Returns float|null

the current player model time scale or null if player isn't spawned or given animation doesn't exists.