23.05.2015, 10:21
"drawdistance" parameter has been added since v2.7 so you need to specify a value for it and then re-compile your scripts.
It's the last parameter. You can also do something like this:
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
pawn Код:
// 0 and 0.0 are examples, they're supposed to be some values
CreateDynamicObject(0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, .drawdistance = 200.0);