12.06.2015, 20:58
Actually "drawdistance" parameter was added in CreateDynamicObject function in v2.7. It wouldn't give the message if you have an earlier version.
Anyway, download v2.7.7: https://github.com/samp-incognito/sa...ses/tag/v2.7.7
Replace the include and plugin file.
Modify CreateDynamicObject function and add the "drawdistance" parameter, two examples are below:
Re-compile (upload if necessary) and done.
Anyway, download v2.7.7: https://github.com/samp-incognito/sa...ses/tag/v2.7.7
Replace the include and plugin file.
Modify CreateDynamicObject function and add the "drawdistance" parameter, two examples are below:
pawn Код:
CreateDynamicObject(0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
// to:
CreateDynamicObject(0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, .drawdistance = 200.0);
// OR:
CreateDynamicObject(CreateDynamicObject(0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1, -1, -1, 200.0);
// to:
CreateDynamicObject(CreateDynamicObject(0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1, -1, -1, 200.0, 200.0);