Wiki
Clone wikiEFLC-MP LUA / setEntityStreamDistance
Description
Defines a new streaming distance for a server entity. Added on Svr Build 11.3
Parameters
Int entityType, Int entityId, Float distance
Int entityId: ID of the entity, such as player ID
Float distance: Default is 200.0
Return values
Example
#!lua local x, y, z = getPlayerPos(playerid) local id = createCheckPoint(x, y, z, 0.5, 0xFF0000FF, 1, 0, 1) setEntityStreamDistance(2, id, 15.0)
Updated