building disappear - 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)
+--- Thread: building disappear (
/showthread.php?tid=359388)
building disappear -
N0FeaR - 13.07.2012
Why the building disappear when i walk away check the pic.
Re: building disappear -
Accord - 13.07.2012
Check out your streamer, probably you didn't use in any streamer or you used in bad one.
So basicly try to change your streamer if it will not working after that too I will find another solution for you.
Re: building disappear -
N0FeaR - 13.07.2012
I using streamer.
Re: building disappear -
N0FeaR - 13.07.2012
Quote:
Originally Posted by Accord
Check out your streamer, probably you didn't use in any streamer or you used in bad one.
So basicly try to change your streamer if it will not working after that too I will find another solution for you.
|
Can you explain more?
Re: building disappear -
FUNExtreme - 13.07.2012
Have you thought of the fact that you might just be out of streaming range? Find the specific object in your gamemode and set the streamdistance higher.. Might work
Re: building disappear -
N0FeaR - 15.07.2012
Quote:
Originally Posted by FUNExtreme
Have you thought of the fact that you might just be out of streaming range? Find the specific object in your gamemode and set the streamdistance higher.. Might work
|
Where in the object are the streamdistance then?
pawn Код:
CreateDynamicObject(10377,1423.79000000,-1800.65000000,30.38000000,0.00000000,0.00000000,0.00000000); //
Re: building disappear -
Babul - 15.07.2012
look here
https://sampforum.blast.hk/showthread.php?tid=102865
Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
..so yours could look like this, using 300 meters distance instead the default 100.
Код:
CreateDynamicObject(10377,1423.79000000,-1800.65000000,30.38000000,0.00000000,0.00000000,0.00000000,-1,0,-1,300);
Re: building disappear -
N0FeaR - 16.07.2012
Quote:
Originally Posted by Babul
look here https://sampforum.blast.hk/showthread.php?tid=102865
Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
..so yours could look like this, using 300 meters distance instead the default 100.
Код:
CreateDynamicObject(10377,1423.79000000,-1800.65000000,30.38000000,0.00000000,0.00000000,0.00000000,-1,0,-1,300);
|
I using 400 meters but still disappear? still same problem.
Re: building disappear -
Babul - 16.07.2012
iam sure you are using the latest streamer plugin already, i wouldnt bother asking you to check for the version 2.6.1
(or if you compiled all object loaders/editors with the new includes)
afaik, the streamer doesnt "reset" the distance to only 100 if you feed it with 400 meters, thats not the issue. i played with the in-game viewdistance settings, no effect: the building is still visible, even >250 meters away