Certain objects not appearing - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Certain objects not appearing (
/showthread.php?tid=232634)
Certain objects not appearing -
Antonio [G-RP] - 28.02.2011
For my fire system, there is two different objects, a flame(fire), and smoke. When the flame(fire) object is created while the player is not near it, and then the player comes to the flame(fire) object, it doesn't appear. The SMOKE object appears, but the flame(fire) does not.
NOTE: First object is fire, second is smoke.
pawn Код:
iFires[0] = CreateObject(18684, x, y, z-0.95, 0.0, 0.0, 0.0);
iFires[1] = CreateObject(18723, x, y, z-0.95, 0.0, 0.0, 0.0);
Re: Certain objects not appearing -
Victor - 28.02.2011
Did you try adjusting the view distance?
pawn Код:
iFires[0] = CreateObject(18684, x, y, z-0.95, 0.0, 0.0, 0.0, 100.0);
iFires[1] = CreateObject(18723, x, y, z-0.95, 0.0, 0.0, 0.0, 100.0);
Re: Certain objects not appearing -
Antonio [G-RP] - 28.02.2011
Quote:
Originally Posted by [RP]Victor
Did you try adjusting the view distance?
pawn Код:
iFires[0] = CreateObject(18684, x, y, z-0.95, 0.0, 0.0, 0.0, 100.0); iFires[1] = CreateObject(18723, x, y, z-0.95, 0.0, 0.0, 0.0, 100.0);
|
Nope, doesn't do anything.
Re: Certain objects not appearing -
Antonio [G-RP] - 01.03.2011
Any ideas?
Re: Certain objects not appearing - [L3th4l] - 01.03.2011
You can either try a different object for the fire, or try other object, just to check if it works.
Or, you probably reached the Object limit.
Re: Certain objects not appearing -
Antonio [G-RP] - 01.03.2011
Well that's the thing, I already did tests with these objects to see which one I wanted to use for my system, they appeared perfectly fine when I was in a close enough proximity to the object when it was created.
Also, I've not passed the object limit I'm sure.
This problem only occurs when the object is created WHILE I am not near the creation point.