04.06.2013, 23:37
The solution is very simple, you need to use CreateDynamicObjectEx() it will correct these problems for you.
Specifically you want to modify the drawdistance value, CreateDynamicObject() does not have this parameter.
pawn Код:
CreateDynamicObjectEx(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:drawdistance = 0.0, Float:streamdistance = 200.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);