29.01.2013, 12:36
There is a parameter on each of the CreateDynamicObject or CreateObject lines.
As you can see, there is a parameter on both called 'streamdistance' or 'DrawDistance', this is basically the distance between the player and the object before it can be seen. A float of about 200 is a good size, unless you are wanting it larger than so.
Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance);
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0); native DestroyDynamicObject(objectid);