• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] SetObjectMaterial() weird
#4
(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.
  Reply


Messages In This Thread
SetObjectMaterial() weird - by gokuta - 2021-03-09, 10:31 AM
RE: SetObjectMaterial() weird - by Virsenas - 2021-03-09, 11:13 AM
RE: SetObjectMaterial() weird - by gokuta - 2021-03-09, 11:36 AM
RE: SetObjectMaterial() weird - by Virsenas - 2021-03-09, 01:46 PM
RE: SetObjectMaterial() weird - by gokuta - 2021-03-09, 02:08 PM
RE: SetObjectMaterial() weird - by Y_Less - 2021-03-10, 02:05 AM
RE: SetObjectMaterial() weird - by Virsenas - 2021-03-10, 07:51 AM
RE: SetObjectMaterial() weird - by gokuta - 2021-03-10, 10:37 PM
RE: SetObjectMaterial() weird - by Y_Less - 2021-03-11, 11:15 PM

Forum Jump: