CreatObject Essue - 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: CreatObject Essue (
/showthread.php?tid=471534)
CreatObject Essue -
mini_mi - 23.10.2013
HEllo Scripters ;
Why more Then 2000 Object don't be showed on my server
Re: CreatObject Essue -
Konstantinos - 23.10.2013
https://sampwiki.blast.hk/wiki/Limits
Objects 1000
You can use Incognito's Streamer plugin for more objects though.
Re: CreatObject Essue -
mini_mi - 23.10.2013
Where i can Find " ncognito's Streamer plugin " Please
Re: CreatObject Essue -
Konstantinos - 23.10.2013
******..
Next time, just search!
Click me.
Re: CreatObject Essue -
mini_mi - 23.10.2013
Dam Didn't Work For me :/ Any help Plz
Re: CreatObject Essue -
flrp - 23.10.2013
there you go:
http://code.******.com/p/samp-stream...downloads/list
remember to add streamer or streamer.so to your .cfg file
Re: CreatObject Essue -
Konstantinos - 23.10.2013
Quote:
Originally Posted by mini_mi
Dam Didn't Work For me :/ Any help Plz
|
After loading streamer plugin and including its include file to your mode, you'll need to convert CreateObject to CreateDynamicObject.
Re: CreatObject Essue -
mini_mi - 23.10.2013
Guys Worked With CreateDynamicObject but Objects Don't show just if u came close to it and vehicles fail on water
Re: CreatObject Essue -
Pottus - 23.10.2013
Quote:
Originally Posted by mini_mi
Guys Worked With CreateDynamicObject but Objects Don't show just if u came close to it and vehicles fail on water
|
It's a problem with CreateDynamicObject() you can use CreateDynamicObjectEx()
Here is a alternative CreateDynamicObject() stock the value you want is the drawdistance
pawn Код:
stock AddDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0, Float:drawdistance = 300.0)
{
new oid;
oid = CreateDynamicObject(modelid, x, y, z, rx, ry, rz, worldid, interiorid, playerid, streamdistance);
Streamer_SetFloatData(STREAMER_TYPE_OBJECT, oid, E_STREAMER_DRAW_DISTANCE, drawdistance);
return oid;
}
Re: CreatObject Essue -
mini_mi - 23.10.2013
Warning :P " warning 213: tag mismatch "