• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Streamer not working after a while
#1
Hello,
I have a problem with the Streamer plugin.
After 1 hour of starting server my CreateObject not creating anything.

new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreateObject(1225, x,y,z-0.6,? 0.00000, 0.00000, 0.00000);

Does anyone have any idea?
  Reply
#2
CreateObject is not a plugins function, it's a default sa-mp function for creating objects.



https://github.com/samp-incognito/samp-s...-(Objects)
  Reply
#3
Okay, Well done.
So how can I fix this?
  Reply
#4
PHP Code:
new Float:x, Float:y, Float:z;

GetPlayerPos(playerid, x, y, z);

CreateDynamicObject(1225, x,y,z-0.6,  0.00000, 0.00000, 0.00000); 



PHP Code:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, areaid = -1, priority = 0); 
  Reply
#5
You can create maximum of 1000 objects with CreateObject. Create them using streamer to get through this limit.
[Image: QIDa2vB.png]

  Reply