There is a limit for the number of objects you can add.CraeateObject is a native function(a function which SAMP provides).Using CreateDynamicObject allows you to surpass the object limit.CreateDynamicObject is a function which comes with the streamer plugin.
Streamer is a plugin which creates the objects if a player is close to the objects and destroys the object if no one is close to it.In this way you can surpass the limit.