The client can only handle 400 objects at a time on your game. If more than these are displayed, it will cause problems, so what object streamers do is make sure that only a maximum of 400 objects are loaded into your game at any time, which means that you won't have any problems. Technically, this means that you should be able to have an unlimited amount of objects in the game right? However, if there are too many objects within a certain distance of each other, then there will be problems.
Lets say there's 500 barrels in front of you, the object streamer won't be able to show 500 barrels. So it will (usually and logically) show the 400 barrels that are closest to you, which means that 100 of the barrels won't be viewable at all. So technically the streamer decides how many objects you can have, generally I don't think any of them even impose a limit, they just allow you to make as many as you want, but just remember that having too many different objects in a certain space that need to be displayed all at the same time is going to cause problems. I hope this helps! |
Can you please upload your script on pastebin.com
And let me check BTW i will not stole your script |
i know why!
use a streamer. Without a streamer you can't put many objects in your server. |
SA-MP Dedicated Server ---------------------- v0.3c, ©2005-2010 SA-MP Team [07:01:33] [07:01:33] Server Plugins [07:01:33] -------------- [07:01:33] Loading plugin: streamer [07:01:33] *** Streamer Plugin v2.5.2 by Incognito loaded *** [07:01:33] Loaded. [07:01:33] Loading plugin: sscanf [07:01:33] [07:01:33] =============================== [07:01:33] sscanf plugin loaded. [07:01:33] © 2009 Alex "******" Cole [07:01:33] =============================== [07:01:33] Loaded. [07:01:33] Loading plugin: Whirlpool [07:01:33] [07:01:33] ================== [07:01:33] [07:01:33] Whirlpool loaded [07:01:33] [07:01:33] ================== [07:01:33] [07:01:33] Loaded. [07:01:33] Loading plugin: audio [07:01:33] *** Audio Plugin v0.4 by Incognito loaded *** [07:01:33] Loaded. [07:01:33] Loading plugin: mysql [07:01:33] > MySQL plugin loaded on. | [07:01:33] Loaded. [07:01:33] Loaded 5 plugins.
//==============================================================================
// Includes
//==============================================================================
#include <a_samp>
#include <moneyhax>
#include <ldudb>
#include <lfuncs>
#include <audio>
#include <streamer>
CreateDynamicObject(1682,-363.34045410,-4980.74560547,38.88310242,0.00000000,0.00000000,78.00000000); //object(ap_radar1_01) (1)
If the above doesn't work either you can try changing MAX_OBJECTS in the streamer.inc
|