01.09.2017, 14:09
how to make all createdynamicobject draw distance 300?
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, areaid = -1, priority = 0) |
CreateDynamicObject(1495, 2350.0438, 3939.484, 1125.02, 0.0, 0.0, 90.0, .drawdistance = 300);
All functions within the Streamer plugin have adjustable parameters. CreateDynamicObject has:
Stream distance is how far away the player is before the object is "streamed" in, with draw distance being how close the player needs to actually see it. If you just want to supply a draw distance and nothing else, you can do something such as this: pawn Код:
|
CreateDynamicObject(1495, 0, 0, 0, 0.0, 0.0, 0.0, .drawdistance = 600, .streamdistance = 600);