2021-03-09, 01:46 PM
(2021-03-09, 11:36 AM)gokuta Wrote:(2021-03-09, 11:13 AM)Virsenas Wrote: Load up an empty gamemode with just this one object and check how the draw distance works. If it is the same situation then maybe that object has a premade draw distance and you can't change it.
Do you create objects with CreateObject only? Or do you use a streamer?
In this specific case I used plain CreateObject and no streamer. I believe?SetObjectMaterial works in such a way that it fucks up draw distance. And it remains fucked up even after I reset object using this line.
Code:SetObjectMaterial(objectid, 0, -1, "none", "none", 0);
The real question is do we have a work around for this major draw-distance fuck-up :D I guess we do not...
Excuse me for profanities, but I am seriously disappointed at how flawed samp is
https://open.mp/docs/scripting/functions/CreateObject
Check your CreateObject last parameter.