01.06.2016, 13:40
(
Последний раз редактировалось IllidanS4; 01.06.2016 в 14:38.
)
Added new natives:
They address this issue. These functions control the bounds where the player position and shots are synced with other players. You can quite easily set them to infinity:
Default bounds are "-20000, 20000, -1000, 200000". The first two parameters control the bounds for X and Y coordinates, while the second two for the Z coordinate, i.e. height.
Код:
native GetSyncBounds(&Float:hmin, &Float:hmax, &Float:vmin, &Float:vmax); native SetSyncBounds(Float:hmin, Float:hmax, Float:vmin, Float:vmax);
Код:
#define FLOAT_INFINITY (Float:0x7F800000) SetSyncBounds(-FLOAT_INFINITY, FLOAT_INFINITY, -FLOAT_INFINITY, FLOAT_INFINITY);

